Jump to content

GeoSPARQL: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
No edit summary
Open access status updates in citations with OAbot #oabot
 
(30 intermediate revisions by 20 users not shown)
Line 1: Line 1:
{{Short description|Standardised SPARQL extension}}
'''GeoSPARQL''' is a standard for representation and querying of [[geographic information system|geospatial]] [[linked data]] for the [[Semantic Web]] from the [[Open Geospatial Consortium]] (OGC).{{sfn|Battle|Kolas|2012|p=355}} The definition of a small ontology based on well-understood OGC standards is intended to provide a standardized exchange basis for geospatial [[Resource Description Framework|RDF]] data which can support both qualitative and quantitative spatial reasoning and querying with the [[SPARQL]] database query language.{{sfn|Battle|Kolas|2012|p=358}}
'''GeoSPARQL''' is a model for representing and querying [[geographic information system|geospatial]] [[linked data]] for the [[Semantic Web]]. It is standardized by the [[Open Geospatial Consortium]] as '''OGC GeoSPARQL'''.{{sfn|Battle|Kolas|2012|p=355}} The definition of a small ontology based on well-understood OGC standards is intended to provide a standardized exchange basis for geospatial [[Resource Description Framework|RDF]] data which can support both qualitative and quantitative spatial reasoning and querying with the [[SPARQL]] database query language.{{sfn|Battle|Kolas|2012|p=358}}


The [[Ordnance Survey]] Linked Data Platform uses [[Web Ontology Language|OWL]] mappings for GeoSPARQL equivalent properties in its vocabulary.<ref>{{cite web|title=GeoSPARQL and Ordnance Survey Linked Data|first=John|last=Goodwin|date=26 April 2013|website=[https://johngoodwin225.wordpress.com/ John’s Weblog]|url=https://johngoodwin225.wordpress.com/2013/04/26/geosparql-and-ordnance-survey-linked-data/}}</ref><ref>{{cite web|title=New Linked Data service launches|author=Gemma|date=3 June 2013|website=[http://blog.ordnancesurvey.co.uk/ Ordnance Survey Blog]|url=http://blog.ordnancesurvey.co.uk/2013/06/new-linked-data-service-launches/}}</ref> The [http://linkedgeodata.org/ LinkedGeoData] data set is a work of the Agile Knowledge Engineering and Semantic Web (AKSW) research group at the [[University of Leipzig]],<ref>{{cite web|title=Imprint|date=2012-05-18|publisher=AKSW|url=http://linkedgeodata.org/Imprint}}</ref> a group mostly known for [[DBpedia]], that uses the GeoSPARQL vocabulary to represent [[OpenStreetMap]] data.
The [[Ordnance Survey]] Linked Data Platform uses [[Web Ontology Language|OWL]] mappings for GeoSPARQL equivalent properties in its vocabulary.<ref>{{cite web|title=GeoSPARQL and Ordnance Survey Linked Data|first=John|last=Goodwin|date=26 April 2013|website=johngoodwin225.wordpress.com|url=https://johngoodwin225.wordpress.com/2013/04/26/geosparql-and-ordnance-survey-linked-data/}}</ref><ref>{{cite web|title=New Linked Data service launches|author=Gemma|date=3 June 2013|website=blog.ordnancesurvey.co.uk|url=http://blog.ordnancesurvey.co.uk/2013/06/new-linked-data-service-launches/ |archive-url=http://web.archive.org/web/20131008225928/http://blog.ordnancesurvey.co.uk/2013/06/new-linked-data-service-launches/ |archive-date=8 October 2013}}</ref> The [http://linkedgeodata.org/ LinkedGeoData] data set is a work of the Agile Knowledge Engineering and Semantic Web (AKSW) research group at the [[University of Leipzig]],<ref>{{cite web|title=Imprint|date=2012-05-18|publisher=AKSW|url=http://linkedgeodata.org/Imprint |archive-url=http://web.archive.org/web/20210615181523/http://linkedgeodata.org/Imprint |archive-date=15 June 2021 |website=linkedgeodata.org}}</ref> a group mostly known for [[DBpedia]], that uses the GeoSPARQL vocabulary to represent [[OpenStreetMap]] data.


In particular, GeoSPARQL provides for:
In particular, GeoSPARQL provides for:
Line 34: Line 35:


==Implementations==
==Implementations==
There are (almost) no complete implementations of GeoSPARQL, there are, however partial or vendor implementations of GeoSPARQL. Currently there are the following implementations:
There are (almost) no complete implementations of GeoSPARQL; however, there are partial or vendor implementations of GeoSPARQL. Currently there are the following implementations:


; [[Apache Marmotta]]
; [[Apache Marmotta]]
: GeoSPARQL was implemented in the context of the [[Google Summer of Code]] 2015.<ref>https://wiki.apache.org/marmotta/GSoC/2015/MARMOTTA-584</ref> on Apache Marmotta; it uses [[PostGIS]], and it is available just for [[PostgreSQL]].
: GeoSPARQL was implemented in the context of the [[Google Summer of Code]] 2015.<ref>{{cite web |url=https://wiki.apache.org/marmotta/GSoC/2015/MARMOTTA-584 |title=Proposal to Implement GeoSPARQL in Marmotta |website=Marmotta Wiki |url-status=dead |archive-url=https://web.archive.org/web/20150626142820/https://wiki.apache.org/marmotta/GSoC/2015/MARMOTTA-584 |archive-date=2015-06-26}}</ref> on Apache Marmotta; it uses [[PostGIS]], and it is available just for [[PostgreSQL]].


; [[Apache Jena]]
; [[Apache Jena]]
: Since version 2.11 Apache Jena has a GeoSPARQL extension.<ref>[https://jena.apache.org/documentation/query/spatial-query.html</ref>
: Since version 2.11 Apache Jena has a GeoSPARQL extension.<ref>{{Cite web|url=https://jena.apache.org/documentation/query/spatial-query.html|title=Spatial searches with SPARQL |website=Apache Jena}}</ref>


; [http://parliament.semwebcentral.org/ Parliament]
; [https://ontop-vkg.org Ontop VKG]
: Support for GeoSPARQL was added to Ontop in version 4.2. <ref>{{cite web | url=https://ontop-vkg.org/guide/compliance.html#geosparql-1-0 | title=Standards compliance: GeoSPARQL 1.0 |website=Ontop }}</ref>
: Parliament has an almost complete implementation of GeoSPARQL by using JENA and a modified ARQ query processor.<ref>http://parliament.semwebcentral.org/</ref>

; [http://parliament.semwebcentral.org/ Parliament] {{Webarchive|url=https://web.archive.org/web/20140430085315/http://parliament.semwebcentral.org/ |date=30 April 2014}}
: Parliament has an almost complete implementation of GeoSPARQL by using JENA and a modified ARQ query processor.<ref>{{cite web |url=http://parliament.semwebcentral.org/ |title=Parliament |archive-url=https://web.archive.org/web/20140430085315/http://parliament.semwebcentral.org/ |archive-date=30 April 2014 }}</ref>


; [http://rdf4j.org/ Eclipse RDF4J]
; [http://rdf4j.org/ Eclipse RDF4J]
: Eclipse RDF4J is an open-source Java framework for scalable RDF processing, storage, reasoning and SPARQL querying. It offers support for a large subset of GeoSPARQL functionality.<ref>http://docs.rdf4j.org/programming/#_geosparql</ref>
: Eclipse RDF4J is an open-source Java framework for scalable RDF processing, storage, reasoning and SPARQL querying. It offers support for a large subset of GeoSPARQL functionality.<ref>{{Cite web|url=http://docs.rdf4j.org/programming/#_geosparql|title=Programming with RDF4J |website=Eclipse rdf4j: documentation |publisher=The Eclipse Foundation |archive-url=http://web.archive.org/web/20161104234318/http://docs.rdf4j.org/programming/#_geosparql |archive-date=4 November 2016}}</ref>


; [http://www.strabon.di.uoa.gr/ Strabon]
; [http://www.strabon.di.uoa.gr/ Strabon] {{Webarchive|url=https://web.archive.org/web/20140820071615/http://www.strabon.di.uoa.gr/ |date=20 August 2014 }}
: Strabon<ref>{{cite conference | chapter-url = http://iswc2012.semanticweb.org/sites/default/files/76490289.pdf | chapter = Strabon: A Semantic Geospatial DBMS | first1 = Kostis | last1 = Kyzirakos | first2 = Manos | last2 = Karpathiotakis | first3 = Manolis | last3 = Koubarakis| title = The Semantic Web – ISWC 2012 | series = Lecture Notes in Computer Science |date=November 2012 | volume = 7649 | pages = 295–311 | conference = 11th International Semantic Web Conference | conference-url = http://iswc2012.semanticweb.org/ | location = [[Boston]], MA, United States | doi = 10.1007/978-3-642-35176-1_19 | isbn = 978-3-642-35175-4 | access-date = 21 November 2012| doi-access = }}
: Strabon is an open-source semantic spatiotemporal RDF store that supports two popular extensions of SPARQL: stSPARQL and GeoSPARQL. Strabon is built by extending the well-known RDF store Sesame and extends Sesame's components to manage thematic, spatial and temporal data that is stored in the backend RDBMS. It has been fully tested with [[PostgreSQL]] (with [[PostGIS]] and PostgreSQL-Temporal extensions<ref>https://github.com/jeff-davis/PostgreSQL-Temporal</ref>) and [[MonetDB]] (with geom<ref>https://www.monetdb.org/Documentation/Extensions/GIS</ref> module).
</reF> is an open-source semantic spatiotemporal RDF store that supports two popular extensions of SPARQL: stSPARQL and GeoSPARQL. Strabon is built by extending RDF4J and extends it to manage thematic, spatial and temporal data that is stored in the backend RDBMS. It has been fully tested with [[PostgreSQL]] (with [[PostGIS]] and PostgreSQL-Temporal extensions<ref>{{Cite web|url=https://github.com/jeff-davis/PostgreSQL-Temporal|title = PostgreSQL-Temporal |author=jeff-davis |website = [[GitHub]]|date = 21 January 2021}}</ref>) and [[MonetDB]] (with geom<ref>{{Cite web|url=https://www.monetdb.org/Documentation/Extensions/GIS|title = GeoSpatial |website=MonetDB Docs |archive-url=http://web.archive.org/web/20120328045749/https://www.monetdb.org/Documentation/Extensions/GIS |archive-date=28 March 2012}}</ref> module).


; OpenSahara uSeekM [https://web.archive.org/web/20140415025231/https://dev.opensahara.com/projects/useekm/wiki/IndexingSail IndexingSail] [[Sesame (framework)|Sesame]] Sail plugin
; OpenSahara uSeekM [https://web.archive.org/web/20140415025231/https://dev.opensahara.com/projects/useekm/wiki/IndexingSail IndexingSail] [[Sesame (framework)|Sesame]] Sail plugin
: uSeekM IndexingSail uses a PostGIS installation to deliver GeoSPARQL. They deliver partial implementation of GeoSPARQL along with some vendor prefixes.<ref>{{Cite web |url=https://dev.opensahara.com/projects/useekm/wiki/IndexingSail#GeoSPARQL |title=Archived copy |access-date=2012-12-16 |archive-url=https://web.archive.org/web/20140415025231/https://dev.opensahara.com/projects/useekm/wiki/IndexingSail#GeoSPARQL |archive-date=2014-04-15 |url-status=dead }}</ref><ref>{{Cite web |url=https://dev.opensahara.com/projects/useekm/wiki/GeoReference |title=Archived copy |access-date=2014-04-14 |archive-url=https://web.archive.org/web/20140415025812/https://dev.opensahara.com/projects/useekm/wiki/GeoReference |archive-date=2014-04-15 |url-status=dead }}</ref>
: uSeekM IndexingSail uses a PostGIS installation to deliver GeoSPARQL. They deliver partial implementation of GeoSPARQL along with some vendor prefixes.<ref>{{Cite web |url=https://dev.opensahara.com/projects/useekm/wiki/IndexingSail#GeoSPARQL |title=IndexingSail - uSeekM - Adds Meaning to the Web |access-date=2012-12-16 |archive-url=https://web.archive.org/web/20140415025231/https://dev.opensahara.com/projects/useekm/wiki/IndexingSail#GeoSPARQL |archive-date=2014-04-15 |url-status=dead }}</ref><ref>{{Cite web |url=https://dev.opensahara.com/projects/useekm/wiki/GeoReference |title=GeoReference - uSeekM - Adds Meaning to the Web |access-date=2014-04-14 |archive-url=https://web.archive.org/web/20140415025812/https://dev.opensahara.com/projects/useekm/wiki/GeoReference |archive-date=2014-04-15 |url-status=dead }}</ref>
; [http://www.oracle.com/technetwork/database/options/spatialandgraph/overview/index.html Oracle Spatial and Graph]
; [http://www.oracle.com/technetwork/database/options/spatialandgraph/overview/index.html Oracle Spatial and Graph]


Line 62: Line 67:


; [[Virtuoso Universal Server]]
; [[Virtuoso Universal Server]]
: Virtuoso Universal Server is a middleware and database engine hybrid that combines the functionality of a traditional Relational database management system (RDBMS), Object-relational database (ORDBMS), virtual database, RDF, XML, free-text, web application server and file server functionality in a single system.<ref>{{Cite web |last=Williams |first=Hugh |date=October 29, 2018 |title=Virtuoso GeoSPARQL Demo Server |url=https://community.openlinksw.com/t/virtuoso-geosparql-demo-server/223 |access-date=2021-02-02 |website=OpenLink Software Community Forum}}</ref>
: Virtuoso Universal Server is a middleware and database engine hybrid that combines the functionality of a traditional Relational database management system (RDBMS), Object-relational database (ORDBMS), virtual database, RDF, XML, free-text, web application server and file server functionality in a single system.<ref>{{Cite web |last=Williams |first=Hugh |date=October 29, 2018 |title=Virtuoso GeoSPARQL Demo Server |url=https://community.openlinksw.com/t/virtuoso-geosparql-demo-server/223 |access-date=9 February 2024 |website=OpenLink Software Community Forum}}</ref>

==Performance and Compliance Benchmarking==
Benchmarking GeoSPARQL 1.0 and geospatial-enabled triplestores, in general, has been conducted using several approaches.
One can distinguish between performance and compliance benchmarks.
The former can reveal whether a triplestore gives a timely answer to a GeoSPARQL query and may or may not check the answer for correctness. The latter checks whether a triplestore gives compliant answers with respect to the definitions of the GeoSPARQL 1.0 standard irrespective of the time the query takes for execution.

Well-known geospatial performance benchmarks include the Geographica<ref>{{Cite conference |chapter-url=https://doi.org/10.1007/978-3-642-41338-4_22|doi = 10.1007/978-3-642-41338-4_22|title= Geographica: A Benchmark for Geospatial RDF Stores (Long Version)|book-title = The Semantic Web – ISWC 2013|series = Lecture Notes in Computer Science|year = 2013|last1 = Garbis|first1 = George|last2 = Kyzirakos|first2 = Kostis|last3 = Koubarakis|first3 = Manolis|volume = 8219|pages = 343–359|isbn = 978-3-642-41338-4| s2cid=40326844 |conference=12th International Semantic Web Conference}}</ref> and Geographica 2<ref>{{Cite journal|url=https://doi.org/10.1007/s13740-021-00118-x|doi=10.1007/s13740-021-00118-x|title=Evaluating Geospatial RDF Stores Using the Benchmark Geographica 2|year=2021|last1=Ioannidis|first1=Theofilos|last2=Garbis|first2=George|last3=Kyzirakos|first3=Kostis|last4=Bereta|first4=Konstantina|last5=Koubarakis|first5=Manolis|journal=Journal on Data Semantics|volume=10|issue=3–4|pages=189–228|arxiv=1906.01933|s2cid=174799159}}</ref> benchmarks which track the performance of predefined sets of queries on synthetic and real-world datasets. They each test a subset of GeoSPARQL query functions for performance.
Another performance benchmark by Huang et al.<ref>{{Cite journal|doi = 10.3390/ijgi8070310|doi-access = free|title = Assessment and Benchmarking of Spatially Enabled RDF Stores for the Next Generation of Spatial Data Infrastructure|year = 2019|last1 = Huang|first1 = Weiming|last2 = Raza|first2 = Syed Amir|last3 = Mirzov|first3 = Oleg|last4 = Harrie|first4 = Lars|journal = ISPRS International Journal of Geo-Information|volume = 8|issue = 7|page = 310|bibcode = 2019IJGI....8..310H}}</ref> assessed the performance of GeoSPARQL-enabled triple stores as part of a spatial data infrastructure.

Compliance benchmarking of OGC standards is usually conducted as part of the OGC Team Engine Test Suite<ref>{{cite web |url=https://cite.opengeospatial.org/teamengine/ |title=TEAM Engine |website=Open Geospatial Consortium}}</ref> which allows companies to obtain certification for implementing certain OGC specifications correctly.
As of 2021, however, the OGC Team Engine does not provide a set of compliance tests to test GeoSPARQL compliance.
Nevertheless, in 2021, Jovanovik et al.<ref>{{Cite journal|doi=10.3390/ijgi10070487|doi-access=free|title=A GeoSPARQL Compliance Benchmark|year=2021|last1=Jovanovik|first1=Milos|last2=Homburg|first2=Timo|last3=Spasić|first3=Mirko|journal=ISPRS International Journal of Geo-Information|volume=10|issue=7|page=487|arxiv=2102.06139|bibcode=2021IJGI...10..487J}}</ref> developed the first comprehensive, reproducible GeoSPARQL Compliance benchmark in which nine different triple stores were initially tested.
The results of these first compliance tests along with the software <ref>{{Cite journal|doi = 10.1016/j.simpa.2021.100071|title = Software for the GeoSPARQL compliance benchmark|year = 2021|last1 = Jovanovik|first1 = Milos|last2 = Homburg|first2 = Timo|last3 = Spasić|first3 = Mirko|journal = Software Impacts|volume = 8|page = 100071|doi-access = free}}</ref> are available on Github.<ref>{{cite web |url=https://github.com/OpenLinkSoftware/GeoSPARQLBenchmark |website=Github |title=OpenLinkSoftware: GeoSPARQLBenchmark}}</ref>


==Submission==
==Submission==
Line 82: Line 100:
With regards to future work, the GeoSPARQL standard states:
With regards to future work, the GeoSPARQL standard states:


{{quote|Obvious extensions are to define new conformance classes for other standard serializations of geometry data (e.g. [[Keyhole Markup Language|KML]], [[GeoJSON]]). In addition, significant work remains in developing vocabularies for spatial data, and expanding the GeoSPARQL vocabularies with OWL axioms to aid in logical spatial reasoning would be a valuable contribution. There are also large amounts of existing feature data represented in either a GML file (or similar serialization) or in a datastore supporting the [[general feature model]]. It would be beneficial to develop standard processes for converting (or virtually converting and exposing) this data to RDF.}}
{{blockquote|Obvious extensions are to define new conformance classes for other standard serializations of geometry data (e.g. [[Keyhole Markup Language|KML]], [[GeoJSON]]). In addition, significant work remains in developing vocabularies for spatial data, and expanding the GeoSPARQL vocabularies with OWL axioms to aid in logical spatial reasoning would be a valuable contribution. There are also large amounts of existing feature data represented in either a GML file (or similar serialization) or in a datastore supporting the [[general feature model]]. It would be beneficial to develop standard processes for converting (or virtually converting and exposing) this data to RDF.}}


In 2019, the [https://www.ogc.org/projects/groups/semantics OGC's GeoSemantics Domain Working Group] set out to assess the current usage of GeoSPARQL in different domains in the White Paper "OGC Benefits of Representing Spatial Data Using Semantic and Graph Technologies"<ref>OGC Benefits of Representing Spatial Data Using Semantic and Graph Technologies. Abhayaratna, J.; van den Brink, L.; Car, N.; Atkinson, R.; Homburg, T.; Knibbe, F.; McGlinn, K.; Wagner, A.; Bonduel, M.; Holten Rasmussen, M.; and Thiery, F., OGC White Paper, http://docs.ogc.org/wp/19-078r1/19-078r1.html, October 2020.</ref> and collected initial feature requests to extend GeoSPARQL.
In 2019, the OGC's GeoSemantics Domain Working Group<ref>{{cite web |url=https://www.ogc.org/projects/groups/semantics |title=Geosemantics DWG |website=ogc.org |archive-url=http://web.archive.org/web/20200809121239/https://www.ogc.org/projects/groups/semantics |archive-date=9 August 2020}}</ref> set out to assess the current usage of GeoSPARQL in different domains in the White Paper "OGC Benefits of Representing Spatial Data Using Semantic and Graph Technologies"<ref>{{cite web |title=OGC Benefits of Representing Spatial Data Using Semantic and Graph Technologies |last1=Abhayaratna |first1=J |last2=van den Brink |first2=L |last3=Car |first3=N |last4=Atkinson |first4=R |last5=Homburg |first5=T |last6=Knibbe |first6=F |last7=McGlinn |first7=K |last8=Wagner |first8=A |last9=Bonduel |first9=M |last10=Holten Rasmussen |first10=M |last11=Thiery |first11=F |publisher=Open Geospatial Consortium |url=http://docs.ogc.org/wp/19-078r1/19-078r1.html |date=5 October 2020}}</ref> and collected initial feature requests to extend GeoSPARQL.


This led to the re-establishment of the [https://www.ogc.org/projects/groups/geosparqlswg GeoSPARQL Standards Working Group] with a newly formed [https://portal.ogc.org/files/?artifact_id=94480 working group charter], in September 2020. The group is working towards a new release of the GeoSPARQL standard, with non-breaking changes - GeoSPARQL 1.1 - in the summer of 2021, the development of which can be followed on [https://github.com/opengeospatial/ogc-geosparql Github].
This led to the re-establishment of the GeoSPARQL Standards Working Group with a newly formed working group charter in September 2020.<ref>{{cite web |url=https://www.ogc.org/projects/groups/geosparqlswg |title=GeoSPARQL SWG |website=ogc.org |archive-url=http://web.archive.org/web/20210118141442/https://www.ogc.org/projects/groups/geosparqlswg |archive-date=18 January 2021}}</ref><ref>{{cite web |url=https://portal.ogc.org/files/?artifact_id=94480 |title=OGC GeoSPARQL SWG Charter |date=2020 |website=ogc.org |publisher=Open Geospatial Consortium}}</ref> The group is working towards a new release of the GeoSPARQL standard, with non-breaking changes - GeoSPARQL 1.1 - in the summer of 2021, the development of which can be followed on [https://github.com/opengeospatial/ogc-geosparql Github].


At the [https://dice-group.github.io/GeoLD2021/ GeoLD workshop 2021], held as part of the [https://2021.eswc-conferences.org Extended Semantic Web Conference 2021], an outline of the additions which are likely to be present in GeoSPARQL 1.1 have been presented <ref>GeoSPARQL 1.1: an almost decadal update to the most important geospatial LOD standard. Car, N. J.; and Homburg, T. GeoLD Workshop at ESWC 2021, https://github.com/surroundaustralia/geosparql11-geold-paper/blob/master/manuscript.pdf, May 2021</ref>.
At the [https://dice-group.github.io/GeoLD2021/ GeoLD workshop 2021], held as part of the [https://2021.eswc-conferences.org Extended Semantic Web Conference 2021], an outline of the additions which are likely to be present in GeoSPARQL 1.1 has been presented.<ref>{{cite conference |title=GeoSPARQL 1.1: an almost decadal update to the most important geospatial LOD standard |last1=Car |first1=Nicholas J. |last2=Homburg |first2=Timo |conference=GeoLD Workshop at ESWC 2021 |url=https://github.com/surroundaustralia/geosparql11-geold-paper/blob/master/manuscript.pdf |date=May 2021}}</ref>
The changes have been further consolidated and summarized in a publication in the ISPRS International Journal of GeoInformation.<ref>{{Cite journal|last1=Car|first1=Nicholas J.|last2=Homburg|first2=Timo|date=February 2022|title=GeoSPARQL 1.1: Motivations, Details and Applications of the Decadal Update to the Most Important Geospatial LOD Standard|journal=ISPRS International Journal of Geo-Information|language=en|volume=11|issue=2|pages=117|doi=10.3390/ijgi11020117|bibcode=2022IJGI...11..117C|doi-access=free}}</ref>


== See also ==
== See also ==
Line 98: Line 117:
{{refbegin}}
{{refbegin}}
* {{cite journal | last1= Battle | first1= Robert | last2= Kolas | first2= Dave | year= 2012 | title= Enabling the Geospatial Semantic Web with Parliament and GeoSPARQL | journal= [[Semantic Web (journal)|Semantic Web]] | volume= 3 | issue= 4 | pages= 355–370 | publisher= [[IOS Press]] | doi= 10.3233/SW-2012-0065 | url= http://www.semantic-web-journal.net/sites/default/files/swj176_3.pdf | access-date= 21 November 2012 }}
* {{cite journal | last1= Battle | first1= Robert | last2= Kolas | first2= Dave | year= 2012 | title= Enabling the Geospatial Semantic Web with Parliament and GeoSPARQL | journal= [[Semantic Web (journal)|Semantic Web]] | volume= 3 | issue= 4 | pages= 355–370 | publisher= [[IOS Press]] | doi= 10.3233/SW-2012-0065 | url= http://www.semantic-web-journal.net/sites/default/files/swj176_3.pdf | access-date= 21 November 2012 }}
* {{cite conference | url = http://iswc2012.semanticweb.org/sites/default/files/76490289.pdf | title = Strabon: A Semantic Geospatial DBMS | first1 = Kostis | last1 = Kyzirakos | first2 = Manos | last2 = Karpathiotakis | first3 = Manolis | last3 = Koubarakis|date=November 2012 | conference = 11th International Semantic Web Conference | conference-url = http://iswc2012.semanticweb.org/ | location = [[Boston]], MA, United States | doi = 10.1007/978-3-642-35176-1_19 | access-date = 21 November 2012| doi-access = free }}
* {{cite journal | first1= E. Lynn | last1= Usery | first2= Dalia | last2= Varanka | year= 2012 | title= Design and Development of Linked Data from The National Map | journal= [[Semantic Web (journal)|Semantic Web]] | volume= 3 | issue= 4 | pages= 371–384 | publisher= [[IOS Press]] | doi= 10.3233/SW-2011-0054 | url= http://www.semantic-web-journal.net/sites/default/files/swj180_2.pdf | access-date= 19 December 2012 }}
* {{cite journal | first1= E. Lynn | last1= Usery | first2= Dalia | last2= Varanka | year= 2012 | title= Design and Development of Linked Data from The National Map | journal= [[Semantic Web (journal)|Semantic Web]] | volume= 3 | issue= 4 | pages= 371–384 | publisher= [[IOS Press]] | doi= 10.3233/SW-2011-0054 | url= http://www.semantic-web-journal.net/sites/default/files/swj180_2.pdf | access-date= 19 December 2012 }}
* {{cite web | title= Introduction to geospatial semantics and technology workshop handbook: U.S. Geological Survey Open-File Report 2012–1109 | author= United States Geological Survey | author-link= United States Geological Survey | date= 30 May 2012 | publisher= United States Geological Survey | url= http://pubs.usgs.gov/of/2012/1109/of2012-1109.pdf | access-date= 18 December 2012}}
* {{cite web | title= Introduction to geospatial semantics and technology workshop handbook: U.S. Geological Survey Open-File Report 2012–1109 | author= United States Geological Survey | author-link= United States Geological Survey | date= 30 May 2012 | publisher= United States Geological Survey | url= http://pubs.usgs.gov/of/2012/1109/of2012-1109.pdf | access-date= 18 December 2012}}

Latest revision as of 02:08, 9 December 2024

GeoSPARQL is a model for representing and querying geospatial linked data for the Semantic Web. It is standardized by the Open Geospatial Consortium as OGC GeoSPARQL.[1] The definition of a small ontology based on well-understood OGC standards is intended to provide a standardized exchange basis for geospatial RDF data which can support both qualitative and quantitative spatial reasoning and querying with the SPARQL database query language.[2]

The Ordnance Survey Linked Data Platform uses OWL mappings for GeoSPARQL equivalent properties in its vocabulary.[3][4] The LinkedGeoData data set is a work of the Agile Knowledge Engineering and Semantic Web (AKSW) research group at the University of Leipzig,[5] a group mostly known for DBpedia, that uses the GeoSPARQL vocabulary to represent OpenStreetMap data.

In particular, GeoSPARQL provides for:

Example

[edit]

The following example SPARQL query could help model the question "What is within the bounding box defined by 38°54′49″N 77°05′20″W / 38.913574°N 77.089005°W / 38.913574; -77.089005 and 38°53′11″N 77°01′48″W / 38.886321°N 77.029953°W / 38.886321; -77.029953?"[6]

PREFIX geo: <http://www.opengis.net/ont/geosparql#>
PREFIX geof: <http://www.opengis.net/def/function/geosparql/>

SELECT ?what
WHERE {
  ?what geo:hasGeometry ?geometry .

  FILTER(geof:sfWithin(?geometry,
     "POLYGON((-77.089005 38.913574,-77.029953 38.913574,-77.029953 38.886321,-77.089005 38.886321,-77.089005 38.913574))"^^geo:wktLiteral))
}

RCC8 use in GeoSPARQL

[edit]

RCC8 has been implemented in GeoSPARQL as described below:

A graphical representation of Region Connection Calculus (RCC: Randell, Cui and Cohn, 1992) and the links to the equivalent naming by the Open Geospatial Consortium (OGC) with their equivalent URIs.
A graphical representation of Region Connection Calculus (RCC: Randell, Cui and Cohn, 1992) and the links to the equivalent naming by the Open Geospatial Consortium (OGC) with their equivalent URIs.

Implementations

[edit]

There are (almost) no complete implementations of GeoSPARQL; however, there are partial or vendor implementations of GeoSPARQL. Currently there are the following implementations:

Apache Marmotta
GeoSPARQL was implemented in the context of the Google Summer of Code 2015.[7] on Apache Marmotta; it uses PostGIS, and it is available just for PostgreSQL.
Apache Jena
Since version 2.11 Apache Jena has a GeoSPARQL extension.[8]
Ontop VKG
Support for GeoSPARQL was added to Ontop in version 4.2. [9]
Parliament Archived 30 April 2014 at the Wayback Machine
Parliament has an almost complete implementation of GeoSPARQL by using JENA and a modified ARQ query processor.[10]
Eclipse RDF4J
Eclipse RDF4J is an open-source Java framework for scalable RDF processing, storage, reasoning and SPARQL querying. It offers support for a large subset of GeoSPARQL functionality.[11]
Strabon Archived 20 August 2014 at the Wayback Machine
Strabon[12] is an open-source semantic spatiotemporal RDF store that supports two popular extensions of SPARQL: stSPARQL and GeoSPARQL. Strabon is built by extending RDF4J and extends it to manage thematic, spatial and temporal data that is stored in the backend RDBMS. It has been fully tested with PostgreSQL (with PostGIS and PostgreSQL-Temporal extensions[13]) and MonetDB (with geom[14] module).
OpenSahara uSeekM IndexingSail Sesame Sail plugin
uSeekM IndexingSail uses a PostGIS installation to deliver GeoSPARQL. They deliver partial implementation of GeoSPARQL along with some vendor prefixes.[15][16]
Oracle Spatial and Graph
GraphDB
GraphDB is an enterprise ready Semantic Graph Database, compliant with W3C Standards. Semantic graph databases (also called RDF triplestores) provide the core infrastructure for solutions where modelling agility, data integration, relationship exploration and cross-enterprise data publishing and consumption are important.
Stardog
Stardog is an enterprise data unification platform built on smart graph technology: query, search, inference, and data virtualization.
Virtuoso Universal Server
Virtuoso Universal Server is a middleware and database engine hybrid that combines the functionality of a traditional Relational database management system (RDBMS), Object-relational database (ORDBMS), virtual database, RDF, XML, free-text, web application server and file server functionality in a single system.[17]

Performance and Compliance Benchmarking

[edit]

Benchmarking GeoSPARQL 1.0 and geospatial-enabled triplestores, in general, has been conducted using several approaches. One can distinguish between performance and compliance benchmarks. The former can reveal whether a triplestore gives a timely answer to a GeoSPARQL query and may or may not check the answer for correctness. The latter checks whether a triplestore gives compliant answers with respect to the definitions of the GeoSPARQL 1.0 standard irrespective of the time the query takes for execution.

Well-known geospatial performance benchmarks include the Geographica[18] and Geographica 2[19] benchmarks which track the performance of predefined sets of queries on synthetic and real-world datasets. They each test a subset of GeoSPARQL query functions for performance. Another performance benchmark by Huang et al.[20] assessed the performance of GeoSPARQL-enabled triple stores as part of a spatial data infrastructure.

Compliance benchmarking of OGC standards is usually conducted as part of the OGC Team Engine Test Suite[21] which allows companies to obtain certification for implementing certain OGC specifications correctly. As of 2021, however, the OGC Team Engine does not provide a set of compliance tests to test GeoSPARQL compliance. Nevertheless, in 2021, Jovanovik et al.[22] developed the first comprehensive, reproducible GeoSPARQL Compliance benchmark in which nine different triple stores were initially tested. The results of these first compliance tests along with the software [23] are available on Github.[24]

Submission

[edit]

The GeoSPARQL standard was submitted to the OGC by:

Future development

[edit]

With regards to future work, the GeoSPARQL standard states:

Obvious extensions are to define new conformance classes for other standard serializations of geometry data (e.g. KML, GeoJSON). In addition, significant work remains in developing vocabularies for spatial data, and expanding the GeoSPARQL vocabularies with OWL axioms to aid in logical spatial reasoning would be a valuable contribution. There are also large amounts of existing feature data represented in either a GML file (or similar serialization) or in a datastore supporting the general feature model. It would be beneficial to develop standard processes for converting (or virtually converting and exposing) this data to RDF.

In 2019, the OGC's GeoSemantics Domain Working Group[25] set out to assess the current usage of GeoSPARQL in different domains in the White Paper "OGC Benefits of Representing Spatial Data Using Semantic and Graph Technologies"[26] and collected initial feature requests to extend GeoSPARQL.

This led to the re-establishment of the GeoSPARQL Standards Working Group with a newly formed working group charter in September 2020.[27][28] The group is working towards a new release of the GeoSPARQL standard, with non-breaking changes - GeoSPARQL 1.1 - in the summer of 2021, the development of which can be followed on Github.

At the GeoLD workshop 2021, held as part of the Extended Semantic Web Conference 2021, an outline of the additions which are likely to be present in GeoSPARQL 1.1 has been presented.[29] The changes have been further consolidated and summarized in a publication in the ISPRS International Journal of GeoInformation.[30]

See also

[edit]

References

[edit]
  1. ^ Battle & Kolas 2012, p. 355.
  2. ^ Battle & Kolas 2012, p. 358.
  3. ^ Goodwin, John (26 April 2013). "GeoSPARQL and Ordnance Survey Linked Data". johngoodwin225.wordpress.com.
  4. ^ Gemma (3 June 2013). "New Linked Data service launches". blog.ordnancesurvey.co.uk. Archived from the original on 8 October 2013.
  5. ^ "Imprint". linkedgeodata.org. AKSW. 2012-05-18. Archived from the original on 15 June 2021.
  6. ^ Battle & Kolas 2012, p. 363.
  7. ^ "Proposal to Implement GeoSPARQL in Marmotta". Marmotta Wiki. Archived from the original on 2015-06-26.
  8. ^ "Spatial searches with SPARQL". Apache Jena.
  9. ^ "Standards compliance: GeoSPARQL 1.0". Ontop.
  10. ^ "Parliament". Archived from the original on 30 April 2014.
  11. ^ "Programming with RDF4J". Eclipse rdf4j: documentation. The Eclipse Foundation. Archived from the original on 4 November 2016.
  12. ^ Kyzirakos, Kostis; Karpathiotakis, Manos; Koubarakis, Manolis (November 2012). "Strabon: A Semantic Geospatial DBMS" (PDF). The Semantic Web – ISWC 2012. 11th International Semantic Web Conference. Lecture Notes in Computer Science. Vol. 7649. Boston, MA, United States. pp. 295–311. doi:10.1007/978-3-642-35176-1_19. ISBN 978-3-642-35175-4. Retrieved 21 November 2012.
  13. ^ jeff-davis (21 January 2021). "PostgreSQL-Temporal". GitHub.
  14. ^ "GeoSpatial". MonetDB Docs. Archived from the original on 28 March 2012.
  15. ^ "IndexingSail - uSeekM - Adds Meaning to the Web". Archived from the original on 2014-04-15. Retrieved 2012-12-16.
  16. ^ "GeoReference - uSeekM - Adds Meaning to the Web". Archived from the original on 2014-04-15. Retrieved 2014-04-14.
  17. ^ Williams, Hugh (October 29, 2018). "Virtuoso GeoSPARQL Demo Server". OpenLink Software Community Forum. Retrieved 9 February 2024.
  18. ^ Garbis, George; Kyzirakos, Kostis; Koubarakis, Manolis (2013). "Geographica: A Benchmark for Geospatial RDF Stores (Long Version)". The Semantic Web – ISWC 2013. 12th International Semantic Web Conference. Lecture Notes in Computer Science. Vol. 8219. pp. 343–359. doi:10.1007/978-3-642-41338-4_22. ISBN 978-3-642-41338-4. S2CID 40326844.
  19. ^ Ioannidis, Theofilos; Garbis, George; Kyzirakos, Kostis; Bereta, Konstantina; Koubarakis, Manolis (2021). "Evaluating Geospatial RDF Stores Using the Benchmark Geographica 2". Journal on Data Semantics. 10 (3–4): 189–228. arXiv:1906.01933. doi:10.1007/s13740-021-00118-x. S2CID 174799159.
  20. ^ Huang, Weiming; Raza, Syed Amir; Mirzov, Oleg; Harrie, Lars (2019). "Assessment and Benchmarking of Spatially Enabled RDF Stores for the Next Generation of Spatial Data Infrastructure". ISPRS International Journal of Geo-Information. 8 (7): 310. Bibcode:2019IJGI....8..310H. doi:10.3390/ijgi8070310.
  21. ^ "TEAM Engine". Open Geospatial Consortium.
  22. ^ Jovanovik, Milos; Homburg, Timo; Spasić, Mirko (2021). "A GeoSPARQL Compliance Benchmark". ISPRS International Journal of Geo-Information. 10 (7): 487. arXiv:2102.06139. Bibcode:2021IJGI...10..487J. doi:10.3390/ijgi10070487.
  23. ^ Jovanovik, Milos; Homburg, Timo; Spasić, Mirko (2021). "Software for the GeoSPARQL compliance benchmark". Software Impacts. 8: 100071. doi:10.1016/j.simpa.2021.100071.
  24. ^ "OpenLinkSoftware: GeoSPARQLBenchmark". Github.
  25. ^ "Geosemantics DWG". ogc.org. Archived from the original on 9 August 2020.
  26. ^ Abhayaratna, J; van den Brink, L; Car, N; Atkinson, R; Homburg, T; Knibbe, F; McGlinn, K; Wagner, A; Bonduel, M; Holten Rasmussen, M; Thiery, F (5 October 2020). "OGC Benefits of Representing Spatial Data Using Semantic and Graph Technologies". Open Geospatial Consortium.
  27. ^ "GeoSPARQL SWG". ogc.org. Archived from the original on 18 January 2021.
  28. ^ "OGC GeoSPARQL SWG Charter". ogc.org. Open Geospatial Consortium. 2020.
  29. ^ Car, Nicholas J.; Homburg, Timo (May 2021). GeoSPARQL 1.1: an almost decadal update to the most important geospatial LOD standard (PDF). GeoLD Workshop at ESWC 2021.
  30. ^ Car, Nicholas J.; Homburg, Timo (February 2022). "GeoSPARQL 1.1: Motivations, Details and Applications of the Decadal Update to the Most Important Geospatial LOD Standard". ISPRS International Journal of Geo-Information. 11 (2): 117. Bibcode:2022IJGI...11..117C. doi:10.3390/ijgi11020117.
[edit]