Skip to content

Commit

Permalink
feat: query:include
Browse files Browse the repository at this point in the history
  • Loading branch information
tpluscode committed Sep 16, 2021
1 parent ff95b41 commit 8e1d8ce
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/sixty-suns-lick.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@hydrofoil/vocabularies": patch
---

Added `hyper-query:include`
2 changes: 2 additions & 0 deletions ontologies/hyper-query.nq
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
<https://hypermedia.app/query#filter> <http://schema.org/rangeIncludes> <https://code.described.at/EcmaScript> <https://hypermedia.app/query#> .
<https://hypermedia.app/query#filter> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/1999/02/22-rdf-syntax-ns#Property> <https://hypermedia.app/query#> .
<https://hypermedia.app/query#filter> <http://www.w3.org/2000/01/rdf-schema#comment> "Links to code which will be used to filter a hydra:Collection for example" <https://hypermedia.app/query#> .
<https://hypermedia.app/query#include> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/1999/02/22-rdf-syntax-ns#Property> <https://hypermedia.app/query#> .
<https://hypermedia.app/query#include> <http://www.w3.org/2000/01/rdf-schema#comment> "Includes linked resources in API queries" <https://hypermedia.app/query#> .
<https://hypermedia.app/query#order> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/1999/02/22-rdf-syntax-ns#Property> <https://hypermedia.app/query#> .
<https://hypermedia.app/query#order> <http://www.w3.org/2000/01/rdf-schema#comment> "Declares how a given resource (typically collection) is ordered. Its object must be an RDF List of hyper-query:OrderSpecification" <https://hypermedia.app/query#> .
<https://hypermedia.app/query#path> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/1999/02/22-rdf-syntax-ns#Property> <https://hypermedia.app/query#> .
Expand Down
5 changes: 5 additions & 0 deletions src/vocabulary/query.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -47,3 +47,8 @@ hyper-query:direction
rdfs:domain hyper-query:OrderSpecification ;
rdfs:comment "Sort direction (`ldp:Ascending` or `ldp:Descending`)" ;
.

hyper-query:include
a rdf:Property ;
rdfs:comment "Includes linked resources in API queries" ;
.

0 comments on commit 8e1d8ce

Please sign in to comment.