-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Support Hydra pagination (#708)
- Loading branch information
Showing
7 changed files
with
196 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
{ | ||
"@context": [ | ||
"https://linkedsoftwaredependencies.org/bundles/npm/@comunica/config-query-sparql/^2.0.0/components/context.jsonld" | ||
], | ||
"import": [ | ||
"ccqs:config/context-preprocess/actors.json", | ||
"ccqs:config/context-preprocess/mediators.json", | ||
"ccqs:config/hash-bindings/actors.json", | ||
"ccqs:config/hash-bindings/mediators.json", | ||
"ccqs:config/http/actors.json", | ||
"ccqs:config/http/mediators.json", | ||
"ccqs:config/http-invalidate/actors.json", | ||
"ccqs:config/http-invalidate/mediators.json", | ||
"ccqs:config/init/actors.json", | ||
"ccqs:config/optimize-query-operation/actors.json", | ||
"ccqs:config/optimize-query-operation/mediators.json", | ||
"ccqs:config/query-operation/actors.json", | ||
"ccqs:config/query-operation/mediators.json", | ||
"ccqs:config/query-parse/actors.json", | ||
"ccqs:config/query-parse/mediators.json", | ||
"ccqs:config/query-result-serialize/actors.json", | ||
"ccqs:config/query-result-serialize/mediators.json", | ||
"ccqs:config/dereference/actors.json", | ||
"ccqs:config/dereference/mediators.json", | ||
"ccqs:config/dereference-rdf/actors.json", | ||
"ccqs:config/dereference-rdf/mediators.json", | ||
"ccqs:config/rdf-join/actors.json", | ||
"ccqs:config/rdf-join/mediators.json", | ||
"ccqs:config/rdf-join-entries-sort/actors.json", | ||
"ccqs:config/rdf-join-entries-sort/mediators.json", | ||
"ccqs:config/rdf-join-selectivity/actors.json", | ||
"ccqs:config/rdf-join-selectivity/mediators.json", | ||
"ccqs:config/rdf-metadata/actors.json", | ||
"ccqs:config/rdf-metadata/mediators.json", | ||
"ccqs:config/rdf-metadata-extract/actors.json", | ||
"ccqs:config/rdf-metadata-extract/mediators.json", | ||
"ccqs:config/rdf-parse/actors.json", | ||
"ccqs:config/rdf-parse/mediators.json", | ||
"ccqs:config/rdf-parse-html/actors.json", | ||
"ccqs:config/rdf-resolve-hypermedia/actors.json", | ||
"ccqs:config/rdf-resolve-hypermedia/mediators.json", | ||
"ccqs:config/rdf-resolve-hypermedia-links/mediators.json", | ||
"ccqs:config/rdf-resolve-hypermedia-links-queue/actors.json", | ||
"ccqs:config/rdf-resolve-hypermedia-links-queue/mediators.json", | ||
"ccqs:config/rdf-resolve-quad-pattern/actors.json", | ||
"ccqs:config/rdf-resolve-quad-pattern/mediators.json", | ||
"ccqs:config/rdf-serialize/actors.json", | ||
"ccqs:config/rdf-serialize/mediators.json", | ||
"ccqs:config/rdf-update-hypermedia/actors.json", | ||
"ccqs:config/rdf-update-hypermedia/mediators.json", | ||
"ccqs:config/rdf-update-quads/actors.json", | ||
"ccqs:config/rdf-update-quads/mediators.json" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
@prefix adms: <http://www.w3.org/ns/adms#> . | ||
@prefix dcat: <http://www.w3.org/ns/dcat#> . | ||
@prefix dct: <http://purl.org/dc/terms/> . | ||
@prefix foaf: <http://xmlns.com/foaf/0.1/> . | ||
@prefix gsp: <http://www.opengis.net/ont/geosparql#> . | ||
@prefix hydra: <http://www.w3.org/ns/hydra/core#> . | ||
@prefix locn: <http://www.w3.org/ns/locn#> . | ||
@prefix owl: <http://www.w3.org/2002/07/owl#> . | ||
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . | ||
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . | ||
@prefix schema: <http://schema.org/> . | ||
@prefix skos: <http://www.w3.org/2004/02/skos/core#> . | ||
@prefix spdx: <http://spdx.org/rdf/terms#> . | ||
@prefix time: <http://www.w3.org/2006/time> . | ||
@prefix vcard: <http://www.w3.org/2006/vcard/ns#> . | ||
@prefix xml: <http://www.w3.org/XML/1998/namespace> . | ||
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | ||
|
||
</datasets/hydra-page2.ttl> a hydra:PartialCollectionView ; | ||
hydra:next </datasets/hydra-page2.ttl> . | ||
|
||
<https://www.goudatijdmachine.nl/data/api/items/145> | ||
a schema:Dataset ; | ||
schema:name "B" ; | ||
schema:dateModified "2021-09-05"^^xsd:date ; | ||
schema:datePublished "2021-09-05"^^xsd:date ; | ||
schema:description "Combinatie van kadastrale perceelnummers uit 1832 met Verpondingsnummers uit het verpondingsregister 1875 en de plaatselijke aanduiding uit het verpondingsregister." ; | ||
schema:license <http://blacreativecommons.org/publicdomain/zero/1.0/deed.nl> ; | ||
schema:publisher <https://www.goudatijdmachine.nl/data/api/items/232> ; | ||
schema:distribution <https://www.goudatijdmachine.nl/data/api/items/144> . | ||
|
||
<https://www.goudatijdmachine.nl/data/api/items/232> | ||
a schema:Organization ; | ||
schema:name "Gouda Tijdmachine" . | ||
|
||
<https://www.goudatijdmachine.nl/data/api/items/144> | ||
a schema:DataDownload ; | ||
schema:contentUrl "https://www.goudatijdmachine.nl/wp-content/uploads/sites/7/2021/09/Totaal_perceel_Plaand_EPSG_4326.geojson" ; | ||
schema:encodingFormat "application/geo+json" . |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
@prefix adms: <http://www.w3.org/ns/adms#> . | ||
@prefix dcat: <http://www.w3.org/ns/dcat#> . | ||
@prefix dct: <http://purl.org/dc/terms/> . | ||
@prefix foaf: <http://xmlns.com/foaf/0.1/> . | ||
@prefix gsp: <http://www.opengis.net/ont/geosparql#> . | ||
@prefix hydra: <http://www.w3.org/ns/hydra/core#> . | ||
@prefix locn: <http://www.w3.org/ns/locn#> . | ||
@prefix owl: <http://www.w3.org/2002/07/owl#> . | ||
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . | ||
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . | ||
@prefix schema: <http://schema.org/> . | ||
@prefix skos: <http://www.w3.org/2004/02/skos/core#> . | ||
@prefix spdx: <http://spdx.org/rdf/terms#> . | ||
@prefix time: <http://www.w3.org/2006/time> . | ||
@prefix vcard: <http://www.w3.org/2006/vcard/ns#> . | ||
@prefix xml: <http://www.w3.org/XML/1998/namespace> . | ||
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | ||
|
||
</datasets/hydra-page2.ttl> a hydra:PartialCollectionView ; | ||
hydra:previous </datasets/hydra-page1.ttl> . | ||
|
||
<https://example.com/444> | ||
a schema:Dataset ; | ||
schema:name "Combinatie perceelnummers met verpondingsregister"^^xsd:string ; | ||
schema:dateModified "2021-09-05"^^xsd:date ; | ||
schema:datePublished "2022-09-05"^^xsd:date ; | ||
schema:description "Combinatie van kadastrale perceelnummers uit 1832 met Verpondingsnummers uit het verpondingsregister 1875 en de plaatselijke aanduiding uit het verpondingsregister." ; | ||
schema:license <http://creativecommons.org/publicdomain/zero/1.0/deed.nl> ; | ||
schema:publisher <https://www.goudatijdmachine.nl/data/api/items/232> ; | ||
schema:distribution <https://www.goudatijdmachine.nl/data/api/items/144> . | ||
|
||
<https://www.goudatijdmachine.nl/data/api/items/232> | ||
a schema:Organization ; | ||
schema:name "Gouda Tijdmachine" . | ||
|
||
<https://www.goudatijdmachine.nl/data/api/items/144> | ||
a schema:DataDownload ; | ||
schema:contentUrl "https://www.goudatijdmachine.nl/wp-content/uploads/sites/7/2021/09/Totaal_perceel_Plaand_EPSG_4326.geojson" ; | ||
schema:encodingFormat "application/geo+json" . |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters