-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
21bde00
commit 380320d
Showing
39 changed files
with
1,375 additions
and
634 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
## Licensed under the terms of http://www.apache.org/licenses/LICENSE-2.0 | ||
|
||
PREFIX : <#> | ||
PREFIX fuseki: <http://jena.apache.org/fuseki#> | ||
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> | ||
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> | ||
PREFIX ja: <http://jena.hpl.hp.com/2005/11/Assembler#> | ||
PREFIX geosparql: <http://jena.apache.org/geosparql#> | ||
|
||
[] rdf:type fuseki:Server ; | ||
fuseki:services ( | ||
:service | ||
) . | ||
|
||
:service rdf:type fuseki:Service ; | ||
fuseki:name "dataset" ; | ||
|
||
fuseki:endpoint [ fuseki:operation fuseki:query ; ] ; | ||
fuseki:endpoint [ | ||
fuseki:operation fuseki:query ; | ||
fuseki:name "sparql" | ||
]; | ||
fuseki:endpoint [ | ||
fuseki:operation fuseki:query ; | ||
fuseki:name "query" | ||
] ; | ||
fuseki:endpoint [ | ||
fuseki:operation fuseki:gsp-r ; | ||
fuseki:name "get" | ||
] ; | ||
fuseki:dataset <#geo_ds> ; | ||
. | ||
|
||
<#geo_ds> rdf:type geosparql:GeosparqlDataset ; | ||
geosparql:dataset :dataset ; | ||
geosparql:inference true ; | ||
geosparql:queryRewrite true ; | ||
geosparql:indexEnabled true ; | ||
geosparql:applyDefaultGeometry true ; | ||
. | ||
|
||
# Transactional in-memory dataset. | ||
:dataset rdf:type ja:MemoryDataset ; | ||
## Optional load with data on start-up | ||
ja:data "/rdf/catprez.ttl"; | ||
ja:data "/rdf/vocprez.ttl"; | ||
ja:data "/rdf/catprez.ttl"; | ||
ja:data "/rdf/sandgate.ttl"; | ||
ja:data "/rdf/object_catalog_bblocks_catalog.ttl"; | ||
ja:data "/rdf/object_vocab_api_bblocks.ttl"; | ||
ja:data "/rdf/object_vocab_datatype_bblocks.ttl"; | ||
ja:data "/rdf/object_vocab_parameter_bblocks.ttl"; | ||
ja:data "/rdf/object_vocab_schema_bblocks.ttl"; | ||
. |
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,33 @@ | ||
version: "3" | ||
services: | ||
|
||
fuseki: | ||
image: "ghcr.io/zazuko/fuseki-geosparql:v3.2.0" | ||
ports: | ||
- "3030:3030" | ||
volumes: | ||
- type: bind | ||
source: config.ttl | ||
target: /fuseki/config.ttl | ||
- type: bind | ||
source: ../../test_data | ||
target: /rdf | ||
environment: | ||
ADMIN_PASSWORD: pw | ||
healthcheck: | ||
test: ["CMD-SHELL", "wget -qO- http://localhost:3030 || exit 1"] | ||
interval: 5s | ||
timeout: 10s | ||
retries: 3 | ||
|
||
prez: | ||
build: | ||
context: ../../ | ||
dockerfile: ./Dockerfile | ||
ports: | ||
- "8000:8000" | ||
environment: | ||
SPARQL_ENDPOINT: 'http://fuseki:3030/dataset' | ||
depends_on: | ||
fuseki: | ||
condition: service_healthy |
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,3 @@ | ||
This directory contains a docker compose file which will run the Prez backend and Fuseki GeoSPARQL together with some sample data. | ||
|
||
NB any data added to the test_data folder must also be specified in the fuseki config.ttl file. |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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,21 @@ | ||
<https://prez.dev/link> <http://www.w3.org/2000/01/rdf-schema#label> "link" <https://prez.dev/ontology> . | ||
<https://prez.dev/count> <http://www.w3.org/2000/01/rdf-schema#label> "count" <https://prez.dev/ontology> . | ||
<https://prez.dev/members> <http://www.w3.org/2000/01/rdf-schema#label> "members" <https://prez.dev/ontology> . | ||
<https://prez.dev/searchResultMatch> <http://www.w3.org/2000/01/rdf-schema#label> "Matched Term" <https://prez.dev/ontology> . | ||
<https://prez.dev/searchResultPredicate> <http://www.w3.org/2000/01/rdf-schema#label> "Matched Predicate" <https://prez.dev/ontology> . | ||
<https://prez.dev/searchResultWeight> <http://www.w3.org/2000/01/rdf-schema#label> "Search Result Weight" <https://prez.dev/ontology> . | ||
<http://www.w3.org/ns/dx/conneg/altr-ext#hasDefaultResourceFormat> <http://www.w3.org/2000/01/rdf-schema#label> "Default Resource Format" <https://prez.dev/ontology> . | ||
<http://www.w3.org/ns/dx/conneg/altr-ext#hasResourceFormat> <http://www.w3.org/2000/01/rdf-schema#label> "Has Resource Format" <https://prez.dev/ontology> . | ||
<http://www.w3.org/ns/dx/conneg/altr-ext#constrainsClass> <http://www.w3.org/2000/01/rdf-schema#label> "Constrains Class" <https://prez.dev/ontology> . | ||
<http://www.w3.org/ns/dx/conneg/altr-ext#hasNodeShape> <http://www.w3.org/2000/01/rdf-schema#label> "Has Node Shape" <https://prez.dev/ontology> . | ||
<http://www.w3.org/ns/dx/conneg/altr-ext#hasDefaultProfile> <http://www.w3.org/2000/01/rdf-schema#label> "Has Default Profile" <https://prez.dev/ontology> . | ||
<http://example.com/shacl-extension#allPredicateValues> <http://www.w3.org/2000/01/rdf-schema#label> "All Predicate Values" <https://prez.dev/ontology> . | ||
<http://example.com/shacl-extension#limit> <http://www.w3.org/2000/01/rdf-schema#comment> "limit" <https://prez.dev/ontology> . | ||
<http://example.com/shacl-extension#offset> <http://www.w3.org/2000/01/rdf-schema#comment> "offset" <https://prez.dev/ontology> . | ||
<http://example.com/shacl-extension#orderBy> <http://www.w3.org/2000/01/rdf-schema#comment> "order by" <https://prez.dev/ontology> . | ||
<http://example.com/shacl-extension#bnode-depth> <http://www.w3.org/2000/01/rdf-schema#comment> "blank node depth" <https://prez.dev/ontology> . | ||
<https://prez.dev/ont/endpointTemplate> <http://www.w3.org/2000/01/rdf-schema#label> "endpoint template" <https://prez.dev/ontology> . | ||
<https://prez.dev/ont/deliversClasses> <http://www.w3.org/2000/01/rdf-schema#label> "delivers classes" <https://prez.dev/ontology> . | ||
<https://prez.dev/ont/parentEndpoint> <http://www.w3.org/2000/01/rdf-schema#label> "parent endpoint" <https://prez.dev/ontology> . | ||
<https://prez.dev/ont/parentToFocusRelation> <http://www.w3.org/2000/01/rdf-schema#label> "parent to focus relation" <https://prez.dev/ontology> . | ||
<https://prez.dev/ont/focusToParentRelation> <http://www.w3.org/2000/01/rdf-schema#label> "focus to parent relation" <https://prez.dev/ontology> . |
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
Oops, something went wrong.