Geospatial data in the Semantic Web stSPARQL Presenter: Kostis Kyzirakos Extended Semantic Web Conference 2012.

Slides:



Advertisements
Similar presentations
OGC GeoSPARQL: Standardizing Spatial Query on the Semantic Web
Advertisements

Linked Data Geo Vocabulary Background GeoVoCampDC June 2011 Todd Pehle
Access control for geospatial information objects using/extending the eXtensible Access Control Markup Language Andreas Matheus, Technische Universität.
Schema Matching and Query Rewriting in Ontology-based Data Integration Zdeňka Linková ICS AS CR Advisor: Július Štuller.
ESDSWG2011 – Semantic Web session Semantic Web Sub-group Session ESDSWG 2011 Meeting – Semantic Web sub-group session Wednesday, November 2, 2011 Norfolk,
Dave Kolas, BBN Technologies Terra Cognita 08 Karlsruhe, Germany 10/26/08 1 Supporting Spatial Semantics with SPARQL.
CS 599 – Spatial and Temporal Databases Realm based Spatial data types: The Rose Algebra Ralf Hartmut Guting Markus Schneider.
GEOSPARQL IN PARLIAMENT Terra Cognita Dave Kolas November 12, 2012.
OWL Datatypes: Design and Implementation Boris Motik and Ian Horrocks University of Oxford.
Quick RDF Introduction Scott Streit Terminology – RDF Triple (Also the triple form used in SPARQL) RDF Triple  (Resource, Property,
5th International Terra Cognita Workshop In Conjunction with the 11th International Semantic Web Conference Boston, USA, November 12, 2012 Querying Linked.
SPARQL for Querying PML Data Jitin Arora. Overview SPARQL: Query Language for RDF Graphs W3C Recommendation since 15 January 2008 Outline: Basic Concepts.
Linked Sensor Data Harshal Patni, Cory Henson, Amit P. Sheth Ohio Center of Excellence in Knowledge enabled Computing (Kno.e.sis) Wright State University,
Nov Copyright Galdos Systems Inc. November 2001 Geography Markup Language Enabling the Geo-spatial Web.
More RDF CS 431 – Carl Lagoze – Cornell University Acknowledgements: Eric Miller Dieter Fensel.
LDOM (Linked Data Object Model) Motivation & Overview for Shapes WG Holger Knublauch
Martin Doerr, Gerald Hiebel, Institute of Computer Science
Semantic Web Andrejs Lesovskis. Publishing on the Web Making information available without knowing the eventual use; reuse, collaboration; reproduction.
OMAP: An Implemented Framework for Automatically Aligning OWL Ontologies SWAP, December, 2005 Raphaël Troncy, Umberto Straccia ISTI-CNR
Logics for Data and Knowledge Representation SPARQL Protocol and RDF Query Language (SPARQL) Feroz Farazi.
Background in geospatial data modeling Presenter: Manolis Koubarakis Extended Semantic Web Conference 2012.
RDF: Concepts and Abstract Syntax W3C Recommendation 10 February Michael Felderer Digital Enterprise.
RDF (Resource Description Framework) Why?. XML XML is a metalanguage that allows users to define markup XML separates content and structure from formatting.
JTS Topology Suite JTS Topology Suite An API for Processing Linear Geometry Martin Davis, Senior Technical Architect
Master Informatique 1 Semantic Technologies Part 5SPARQL Werner Nutt.
Implemented Systems Presenter: Manos Karpathiotakis Extended Semantic Web Conference 2012.
Introduction to SPARQL. Acknowledgements This presentation is based on the W3C Candidate Recommendation “SPARQL Query Language for RDF” from
The Semantic Web Web Science Systems Development Spring 2015.
Chapter 3 Querying RDF stores with SPARQL. Why an RDF Query Language? Why not use an XML query language? XML at a lower level of abstraction than RDF.
The need for benchmarks for geographical data Frans Knibbe Geodan Introduction.
6. Simple Features Specification Background information UML overview Simple features geometry.
Master Informatique 1 Semantic Technologies Part 11Direct Mapping Werner Nutt.
8. Geographic Data Modeling. Outline Definitions Data models / modeling GIS data models – Topology.
-1- Philipp Heim, Thomas Ertl, Jürgen Ziegler Facet Graphs: Complex Semantic Querying Made Easy Philipp Heim 1, Thomas Ertl 1 and Jürgen Ziegler 2 1 Visualization.
SPARQL All slides are adapted from the W3C Recommendation SPARQL Query Language for RDF Web link:
Boris Villazón-Terrazas, Ghislain Atemezing FI, UPM, EURECOM, Introduction to Linked Data.
Metadata. Generally speaking, metadata are data and information that describe and model data and information For example, a database schema is the metadata.
Developing “Geo” Ontology Layers for Web Query Faculty of Design & Technology Conference David George, Department of Computing.
Advanced topics in software engineering (Semantic web)
Chapter 7: Resource Description Framework (RDF) Service-Oriented Computing: Semantics, Processes, Agents – Munindar P. Singh and Michael N. Huhns, Wiley,
U.S. Department of the Interior U.S. Geological Survey A Consideration of Geospatial Feature Formation in Linked Open Vocabularies Workshop on Linked Open.
1 Artificial Intelligence Applications Institute Centre for Intelligent Systems and their Applications Stuart Aitken Artificial Intelligence Applications.
WIGOS Data model – standards introduction.
Data models, Query Languages, Implemented Systems and Applications of Linked Geospatial Data Dept. of Informatics and Telecommunications National and Kapodistrian.
Ontology based e-Real Estate Agency Information System By Moein Mehrolhasani Bijan Zamanian cmpe 588.
Conclusions Presenter: Manolis Koubarakis Extended Semantic Web Conference 2012.
An Introduction to Linked Geospatial Data Manolis Koubarakis Web Intelligence Summer School 2015 Dept. of Informatics and.
Geospatial data in RDF: stSPARQL and GeoSPARQL Knowledge Technologies Dept. of Informatics and Telecommunications National and Kapodistrian University.
An Effective SPARQL Support over Relational Database Jing Lu, Feng Cao, Li Ma, Yong Yu, Yue Pan SWDB-ODBIS 2007 SNU IDB Lab. Hyewon Lim July 30 th, 2009.
CC L A W EB DE D ATOS P RIMAVERA 2015 Lecture 7: SPARQL (1.0) Aidan Hogan
Knowledge Technologies Manolis Koubarakis 1 Some Other Useful Features of RDF.
Semantics in Web Service Composition for Risk Management Michael Lutz European Commission – DG Joint Research Centre Ispra, Italy EcoTerm IV, Vienna,
Semantic Interoperability in GIS N. L. Sarda Suman Somavarapu.
Linked Open Data for European Earth Observation Products Carlo Matteo Scalzo CTO, Epistematica epistematica.
1 The LEO Project Linked Open Earth Observation Data for Precision Farming Presenter: Manolis Koubarakis (UoA ) 1.
Linking Ontologies to Spatial Databases
CC La Web de Datos Primavera 2017 Lecture 7: SPARQL [i]
Department of Geography Jeon-Young Kang · Yi Yang
Big Linked Geospatial Data and its Application to Earth Observation
Representation and Querying of Linked Geospatial Data (ReQuLGD)
Big Linked Geospatial Data and its Application to Earth Observation
Supporting Arbitrary Custom Datatypes in RDF and SPARQL
SPARQL + RDF Based on: Prof. Benny Kimelfled’s lecture notes
Associative Query Answering via Query Feature Similarity
Building Virtual Earth Observatories Using Semantic Web Technologies
Logics for Data and Knowledge Representation
CC La Web de Datos Primavera 2016 Lecture 7: SPARQL (1.0)
RDF 1.1 Concepts and Abstract Syntax
JTS Topology Suite An API for Processing Linear Geometry
Semantic-Web, Triple-Strores, and SPARQL
Presentation transcript:

Geospatial data in the Semantic Web stSPARQL Presenter: Kostis Kyzirakos Extended Semantic Web Conference 2012

Data models, Query Languages, Implemented Systems and Applications of Linked Geospatial Data, ESWC Outline Main idea Early works The data model stRDF Examples of publicly available linked geospatial data The query language stSPARQL

How do we represent and query geospatial information in the Semantic Web? Extend RDF to take into account the geospatial dimension. Extend SPARQL to query the new kinds of data. Main idea 3 Data models, Query Languages, Implemented Systems and Applications of Linked Geospatial Data, ESWC 2012

4 Early works SPAUK (Kolas, 2007) Geometric attributes of a resource are represented by: introducing a blank node for the geometry specifying the geometry using GML vocabulary associating the blank node with the resource using GeoRSS vocabulary Queries are expressed in the SPARQL query language utilizing appropriate geometric vocabularies and ontologies (e.g., the topological relationships of RCC8). Introduces a new PREMISE clause in SPARQL to specify spatial geometries to be used in a query Use some form of the DESCRIBE query form of SPARQL for asking queries about geometries

Data models, Query Languages, Implemented Systems and Applications of Linked Geospatial Data, ESWC Early works SPARQL-ST (Perry, 2008) Assumes a particular upper ontology expressed in RDFS for modeling theme, space and valid time. Spatial geometries in SPARQL-ST are specified by sets of RDF triples that give various details of the geometry. SPARQL-ST provides a set of built-in spatial conditions that can be used in SPATIAL FILTER clauses to constrain the geometries that are returned as answers to queries.

Data models, Query Languages, Implemented Systems and Applications of Linked Geospatial Data, ESWC stRDF and stSPARQL Similar approach to SPARQL-ST (theme, space and valid time can be represented) Linear constraints are used to represent geometries Constraints are represented using literals of an appropriate datatype Formal approach New version to be presented today uses OGC standards to represent and query geometries (Koubarakis and Kyzirakos, 2010)

Data models, Query Languages, Implemented Systems and Applications of Linked Geospatial Data, ESWC Example

Data models, Query Languages, Implemented Systems and Applications of Linked Geospatial Data, ESWC Example with simplified geometries

Data models, Query Languages, Implemented Systems and Applications of Linked Geospatial Data, ESWC Example in stRDF geonames:olympia geonames:name "Ancient Olympia"; owl:sameAs dbpedia:Olympia_Greece; rdf:type dbpedia:Community. Spatial literal Spatial data type geonames:olympia strdf:hasGeometry "POLYGON(( , , , , )); "^^ strdf:WKT.

Data models, Query Languages, Implemented Systems and Applications of Linked Geospatial Data, ESWC strdf:geometryrdf:typerdfs:Datatype; rdfs:subClassOf rdfs:Literal. strdf:WKTrdf:typerdfs:Datatype; rdfs:subClassOfrdfs:Literal; rdfs:subClassOfstrdf:geometry. strdf:GMLrdf:typerdfs:Datatype; rdfs:subClassOfrdfs:Literal; rdfs:subClassOfstrdf:geometry. The stRDF Data Model

Data models, Query Languages, Implemented Systems and Applications of Linked Geospatial Data, ESWC We define the datatypes strdf:WKT and strdf:GML that can be used to represent spatial objects using the WKT and GML serializations. Lexical space: the finite length sequences of characters that can be produced from the WKT and GML specifications. Literals of type strdf:WKT consist of an optional URI identifying the coordinate reference system used. The stRDF Data Model e.g.," POINT(21 18); " ^^strdf:WKT

Data models, Query Languages, Implemented Systems and Applications of Linked Geospatial Data, ESWC The stRDF Data Model

Data models, Query Languages, Implemented Systems and Applications of Linked Geospatial Data, ESWC Examples of publicly available linked geospatial data Geonames Greek Administrative Geography Corine Land Use / Land Cover Burnt Area Products

Data models, Query Languages, Implemented Systems and Applications of Linked Geospatial Data, ESWC Geonames

Data models, Query Languages, Implemented Systems and Applications of Linked Geospatial Data, ESWC 2012 Geonames geonames:260001rdf:type gn:Feature; gn:name "Hersonissos"; gn:officialName gn:countryCode "GR"; wgs84_pos:lat " "; wgs84_pos:long " "; gn:parentCountry geonames: geonames: gn:name "Greece".

Data models, Query Languages, Implemented Systems and Applications of Linked Geospatial Data, ESWC Greek Administrative Geography Kallikrates ontology

Data models, Query Languages, Implemented Systems and Applications of Linked Geospatial Data, ESWC Greek Administrative Geography gag:gag rdf:type owl:NamedIndividual ; rdf:type gag:Dhmos; rdfs:label "ΔΗΜΟΣ rdfs:label "Hersonissos"; noa:hasYpesCode "9309"^^xsd:integer; strdf:hasGeometry "MULTIPOLYGON ((( ,..., )))"^^strdf:WKT; gag:isPartOf gag:gag

Data models, Query Languages, Implemented Systems and Applications of Linked Geospatial Data, ESWC Corine Land Use / Land Cover

Data models, Query Languages, Implemented Systems and Applications of Linked Geospatial Data, ESWC Corine Land Use / Land Cover noa:Area_ rdf:type noa:Area ; noa:hasCode "312"^^xsd:decimal; noa:hasID "EU "^^xsd:string; noa:hasArea_ha " "^^xsd:double; strdf:hasGeometry "POLYGON(( ,..., ))"^^strdf:WKT; noa:hasLandUse noa:coniferousForest

Data models, Query Languages, Implemented Systems and Applications of Linked Geospatial Data, ESWC Burnt Area Products

Data models, Query Languages, Implemented Systems and Applications of Linked Geospatial Data, ESWC Burnt Area Products noa:ba_15 rdf:type noa:BurntArea; noa:isDerivedFromSatellite "Landsat"^^xsd:string; noa:hasAcquisitionTime " T13:00:00"^^xsd:dateTime; strdf:hasGeometry "MULTIPOLYGON((( ,..., ))); < EPSG/0/2100>"^^strdf:WKT.

Data models, Query Languages, Implemented Systems and Applications of Linked Geospatial Data, ESWC stSPARQL: Geospatial SPARQL 1.1 We define a SPARQL extension function for each function defined in the OpenGIS Simple Features Access standard Basic functions Get a property of a geometry xsd:int strdf:Dimension(strdf:geometry A) xsd:string strdf:GeometryType(strdf:geometry A) xsd:int strdf:SRID(strdf:geometry A) Get the desired representation of a geometry xsd:string strdf:AsText(strdf:geometry A) strdf:wkb strdf:AsBinary(strdf:geometry A) xsd:string strdf:AsGML(strdf:geometry A) Test whether a certain condition holds xsd:boolean strdf:IsEmpty(strdf:geometry A) xsd:boolean strdf:IsSimple(strdf:geometry A)

Data models, Query Languages, Implemented Systems and Applications of Linked Geospatial Data, ESWC stSPARQL: Geospatial SPARQL 1.1 Functions for testing topological spatial relationships OGC Simple Features Access xsd:boolean strdf:equals(strdf:geometry A, strdf:geometry B) xsd:boolean strdf:disjoint(strdf:geometry A, strdf:geometry B) xsd:boolean strdf:intersects(strdf:geometry A, strdf:geometry B) xsd:boolean strdf:touches(strdf:geometry A, strdf:geometry B) xsd:boolean strdf:crosses(strdf:geometry A, strdf:geometry B) xsd:boolean strdf:within(strdf:geometry A, strdf:geometry B) xsd:boolean strdf:contains(strdf:geometry A, strdf:geometry B) xsd:boolean strdf:overlaps(strdf:geometry A, strdf:geometry B) xsd:boolean strdf:relate(strdf:geometry A, strdf:geometry B, xsd:string intersectionPatternMatrix) Egenhofer RCC8

Data models, Query Languages, Implemented Systems and Applications of Linked Geospatial Data, ESWC stSPARQL: Geospatial SPARQL 1.1 Spatial analysis functions Construct new geometric objects from existing geometric objects strdf:geometry strdf:Boundary(strdf:geometry A) strdf:geometry strdf:Envelope(strdf:geometry A) strdf:geometry strdf:Intersection(strdf:geometry A, strdf:geometry B) strdf:geometry strdf:Union(strdf:geometry A, strdf:geometry B) strdf:geometry strdf:Difference(strdf:geometry A, strdf:geometry B) strdf:geometry strdf:SymDifference(strdf:geometry A, strdf:geometry B) strdf:geometry strdf:Buffer(strdf:geometry A, xsd:double distance) Spatial metric functions xsd:float strdf:distance(strdf:geometry A, strdf:geometry B) xsd:float strdf:area(strdf:geometry A) Spatial aggregate functions strdf:geometry strdf:Union(set of strdf:geometry A) strdf:geometry strdf:Intersection(set of strdf:geometry A) strdf:geometry strdf:Extent(set of strdf:geometry A)

Data models, Query Languages, Implemented Systems and Applications of Linked Geospatial Data, ESWC stSPARQL: Geospatial SPARQL 1.1 Select clause Construction of new geometries (e.g., strdf:buffer(?geo, 0.1) ) Spatial aggregate functions (e.g., strdf:union(?geo) ) Metric functions (e.g., strdf:area(?geo) ) Filter clause Functions for testing topological spatial relationships between spatial terms (e.g., strdf:contains(?G1, strdf:union(?G2, ?G3)) ) Numeric expressions involving spatial metric functions (e.g., strdf:area(?G1) ≤ 2*strdf:area(?G2)+1 ) Boolean combinations Having clause Boolean expressions involving spatial aggregate functions and spatial metric functions or functions testing for topological relationships between spatial terms (e.g., strdf:area(strdf:union(?geo))>1 )

Data models, Query Languages, Implemented Systems and Applications of Linked Geospatial Data, ESWC stSPARQL: An example (1/3) SELECT ?name WHERE { ?communityrdf:type dbpedia:Community; geonames:name ?name; strdf:hasGeometry ?comGeom. ?ba rdf:type noa:BurntArea; strdf:hasGeometry ?baGeom. FILTER(strdf:overlap(?comGeom,?baGeom)) } Spatial Function Return the names of communities that have been affected by fires

Data models, Query Languages, Implemented Systems and Applications of Linked Geospatial Data, ESWC stSPARQL: An example (2/3) SELECT ?ba ?baGeom WHERE { ?r rdf:type noa:Region; strdf:geometry ?rGeom; noa:hasCorineLandCoverUse ?f. ?f rdfs:subClassOf clc:Forests. ?c rdf:type dbpedia:Community; strdf:geometry ?cGeom. ?ba rdf:type noa:BurntArea; strdf:geometry ?baGeom. FILTER(strdf:intersects(?rGeom,?baGeom) && strdf:distance(?baGeom,?cGeom) < 0.02)} Spatial Functions Find all burnt forests near communities

Data models, Query Languages, Implemented Systems and Applications of Linked Geospatial Data, ESWC SELECT ?burntArea (strdf:intersection(?baGeom, strdf:union(?tGeom)) AS ?burntForest) WHERE { ?burntArea rdf:type noa:BurntArea; strdf:hasGeometry ?baGeom. ?forestrdf:type noa:Area; noa:hasLandCover noa:coniferousForest; strdf:hasGeometry ?fGeom. FILTER(strdf:intersects(?baGeom,?fGeom)) } GROUP BY ?burntArea ?baGeom Spatial Function Isolate the parts of the burnt areas that lie in coniferous forests. stSPARQL: An example (3/3) Spatial Aggregate

Data models, Query Languages, Implemented Systems and Applications of Linked Geospatial Data, ESWC Conclusions Geospatial data in the Semantic Web - stSPARQL Early works The data model stRDF Examples of publicly available linked geospatial data The query language stSPARQL Next topic: The query language GeoSPARQL