We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The query:order and query:filter annotations of collections should be replaced with SHACL AF Node expressions
query:order
query:filter
Ordering
</articles> a api:ArticleCollection ; - query:order ( - [ query:path schema:title ] - [ query:path schema:dateCreated ; query:direction ldp:Descending ] + sh:orderBy ( + [ sh:path schema:title ] + [ sh:path schema:dateCreated ; sh:desc true ] ) ; .
Filtering
Both should be possible, current use with code:, as well as declaratively with SHACL AF
code:
</api/shape> a hydra:IriTemplate ; hydra:template "{?targetNode}" ; hydra:mapping [ hydra:variable "targetNode" ; hydra:property sh:targetNode ; query:filter - [ - a code:EcmaScriptModule ; - code:link <file:filters/shape.js#byTargetNode> ; - ] ; + [ + sh:union ( + [ sh:path sh:targetNode query:value ] + [ + sh:nodes [ sh:path sh:targetClass ] + sh:path [ sh:inversePath rdf:type ] + ] + ) ] ; .
The text was updated successfully, but these errors were encountered:
No branches or pull requests
The
query:order
andquery:filter
annotations of collections should be replaced with SHACL AF Node expressionsOrdering
Filtering
Both should be possible, current use with
code:
, as well as declaratively with SHACL AFThe text was updated successfully, but these errors were encountered: