Content uploaded by Milos Jovanovik
Author content
All content in this area was uploaded by Milos Jovanovik on Jun 21, 2022
Content may be subject to copyright.
Implementation and Compliance Benchmarking of a
DGGS-enabled, GeoSPARQL-aware Triplestore
David Habgoodb,Timo Homburga,Nicholas J. Carb,c and Milos Jovanovikd,e
ai3mainz – Institute for Spatial Information & Surveying Technology, Mainz University of Applied Sciences, 55128
Mainz, Germany
bSURROUND Australia Pty. Ltd, New Acton, Canberra, ACT 2601, Australia
cAustralian National University, Canberra, ACT 2600, Australia
dOpenLink Soware Ltd., Croydon, Surrey, CR0 0XZ, United Kingdom
eFaculty of Computer Science and Engineering, Ss. Cyril and Methodius University in Skopje, 1000 Skopje, North
Macedonia
Abstract
We set out to determine the feasibility of implementing Discrete Global Grid System (DGGS) representa-
tions of geometry support in a GeoSPARQL-enabled triplestore, and test the GeoSPARQL compliance for
it. The implementation is a variant of Apache Jena’s existing GeoSPARQL support. Compliance is tested
using an adapted implementation of the GeoSPARQL Compliance Benchmark testing system developed
previously to test for GeoSPARQL 1.0 compliance. The benchmark results conrm that a majority of the
functions which were set out to be implemented in the course of this paper were implemented correctly
and points out possible future work for full compliance.
Keywords
Geospatial Data, DGGS, GeoSPARQL, Apache Jena Fuseki, Compliance Benchmarking, RDFLib
1. Introduction
This paper presents compliance tests results of extensions to existing GeoSPARQL [
1
] system
implementation, that of Apache’s Jena database
1
, for Discrete Global Grid System (DGGS) [
2
]
geometry representations. Conformance testing was performed with an updated version of an
existing GeoSPARQL compliance benchmark test. [3].
1.1. GeoSPARQL
GeoSPARQL is an Open Geospatial Consortium implementation standard that denes “a core
set of classes, properties and datatypes that can be used to construct query patterns” for the
GeoLD 2022: 5th International Workshop on Geospatial Linked Data co-located with ESWC, May 30 2022, Hersonissos,
Greece
david.habgood@surroundaustralia.com (D. Habgood); timo.homburg@hs-mainz.de (T. Homburg);
nicholas.car@anu.edu.au (N. J. Car); milos.jovanovik@nki.ukim.mk (M. Jovanovik)
https://surroundaustralia.com/about-us (D. Habgood); https://situx.github.io/ (T. Homburg);
https://cecs.anu.edu.au/people/nicholas-car (N. J. Car); https://mjovanovik.com (M. Jovanovik)
0000-0002-9499-5840 (T. Homburg); 0000-0002-8742-7730 (N. J. Car); 0000-0001-7360-8015 (M. Jovanovik)
© 2022 Copyright for this paper by its authors. Use permitted under Creative Commons License Attribution 4.0 International (CC BY 4.0).
CEUR
Workshop
Proceedings
http://ceur-ws.org
ISSN 1613-0073
CEUR Workshop Proceedings (CEUR-WS.org)
1https://jena.apache.org
Data Catalog Vocabulary
Discrete
Global Grid Systems - Part 1 Core
AusPIX
geo:asDGGS
geo:
ex:auspixDggsLiteral
ex:
example.org
AusPIX
AusPIX
CELLLIST
POLYGON
@prefix geo: <http://www.opengis.net/ont/geosparql#> .
<https://linked.data.gov.au/dataset/asgs2016/commonwealthelectoraldivision/304>
ageo:Feature ;
geo:hasGeometry [
geo:asWKT """
POLYGON ((
153.099932 -27.445258, 153.092961 -27.447432, 153.080142 -27.446423,
...
153.053422 -27.439453, 153.053451 -27.439456, 153.053452 -27.439456))
"""^^geo:wktLiteral ;
] ;
.
@prefix dggs: <h ttp s:/ /w3i d.o rg/ dggs /> .
@prefix geo: <http://www.opengis.net/ont/geosparql#> .
<https://linked.data.gov.au/dataset/asgs2016/commonwealthelectoraldivision/304>
ageo:Feature ;
geo:hasGeometry [
geo:asDGGS """
CELLLIST ((
R8338506 R8338507 R8338508 R8338516 R8338530
R8338531 R8338532 R8338534 R8338540))
"""^^dggs:auspixLiteral ;
] ;
.
rHEALPixDGGS Python Package
Shapely
Simple
Features Access
geof:sfContains
sf
geof:sfCrosses
Simple
Features Relation Family Annex B
on the y
Polygon
Point
LineString
Point
geo:asDGGS
Requirement 19
geof:distance
geof:buffer
geof:convexHull
geof:intersection
geof:union
geof:difference
geof:symDifference
geof:envelope
geof:boundary
Requirement 21
geof:relate
Requirement 22
geof:sfEquals
geof:sfDisjoint
geof:sfIntersects
geof:sfTouches
geof:sfCrosses
geof:sfWithin
geof:sfContains
geof:sfOverlaps
Requirement 23
geof:ehEquals
geof:ehDisjoint
geof:ehMeet
geof:ehOverlap
geof:ehCovers
geof:ehCoveredBy
geof:ehInside
geof:ehContains
Requirement 24
geof:rcc8eq
geof:rcc8dc
geof:rcc8ec
geof:rcc8po
geof:rcc8tppi
geof:rcc8tpp
geof:rcc8ntpp
geof:rcc8ntppi
Correct answers
Compliance percentage
correct answers
compliance
percentage
function(type1, type2)
function(type2, type1)
geof:sfCrosses
geof:sfTouches
geof:sfIntersects
Future Work
geof:sfTouches
geof:sfIntersects
10.3390/ijgi10070487
10.1007/
s00799-016-0192-4
10.17487/RFC7946
10.3390/ijgi11020117
10.1109/IGARSS.2016.7729935
10.26186/
140152
10.7931/J2D21VHM