Skip to content

Commit

Permalink
Update portal file
Browse files Browse the repository at this point in the history
  • Loading branch information
apano-on committed Dec 16, 2021
1 parent 63af64b commit 7f4c48b
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docker-compose.yml
Expand Up @@ -23,7 +23,8 @@ services:
- "ONTOP_ONTOLOGY_FILE=/opt/ontop/input/datatypes.owl"
- "ONTOP_MAPPING_FILE=/opt/ontop/input/datatypes.obda"
- "ONTOP_PROPERTIES_FILE=/opt/ontop/input/datatypes.properties"
- "ONTOP_VIEW_FILE=/opt/ontop/input/datatypes_views.json"
# - "ONTOP_VIEW_FILE=/opt/ontop/input/datatypes_views.json"
- "ONTOP_PORTAL_FILE=/opt/ontop/input/datatypes.portal.toml"
ports:
- "8080:8080"
volumes:
Expand Down
14 changes: 14 additions & 0 deletions ontop-endpoint/input/datatypes.portal.toml
@@ -0,0 +1,14 @@
title="ontop-spatial Apache Sedona test"

[defaultTab]
query="""
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX : <http://www.semanticweb.org/spark-datatypes-test#>
SELECT * WHERE {
?sub :hasRSMean ?obj .
#?sub :hasRSMax ?obj .
#?sub :hasRSMin ?obj .
#?sub :hasRSMode ?obj .
}
"""

0 comments on commit 7f4c48b

Please sign in to comment.