Geospatial data in the Semantic Web

Similar documents
Open Geospatial Consortium

Representing and Querying Linked Geospatial Data

Representation, Querying and Visualisation of Linked Geospatial Data

Building Virtual Earth Observatories Using Scientific Database, Semantic Web and Linked Geospatial Data Technologies

Strabon. Semantic support for EO Data Access in TELEIOS. Presenter: George Garbis

geospatial querying ApacheCon Big Data Europe 2015 Budapest, 28/9/2015

GeoSPARQL: Enabling a Geospatial Semantic Web

Strabon: A Semantic Geospatial DBMS

Using Linked Data Concepts to Blend and Analyze Geospatial and Statistical Data Creating a Semantic Data Platform

ONTOLOGY BASED QUALITY EVALUATION FOR SPATIAL DATA

Publishing Statistical Data and Geospatial Data as Linked Data Creating a Semantic Data Platform

Developing GeoSPARQL Applications with Oracle Spatial and Graph

Testbed-12 Aviation Semantics Engineering Report

CREATING VIRTUAL SEMANTIC GRAPHS ON TOP OF BIG DATA FROM SPACE. Konstantina Bereta and Manolis Koubarakis

Linked data and its role in the semantic web. Dave Reynolds, Epimorphics

RDF AND SPARQL. Part III: Semantics of RDF(S) Dresden, August Sebastian Rudolph ICCL Summer School

FOUNDATIONS OF SEMANTIC WEB TECHNOLOGIES

Linking Geospatial Data With GeoSPARQL

Linked Earth Observation Data: The Projects TELEIOS and LEO

arxiv: v1 [cs.db] 24 May 2013

TELEIOS FP Deliverable D4.3. The evaluation of the developed implementation

GeoSPARQL Support and Other Cool Features in Oracle 12c Spatial and Graph Linked Data Seminar Culture, Base Registries & Visualisations

FOUNDATIONS OF SEMANTIC WEB TECHNOLOGIES

Big, Linked and Open Earth Observation Data: the Projects TELEIOS and LEO

ANSWERING GEOSPARQL QUERIES OVER RELATIONAL DATA

SEXTANT 1. Purpose of the Application

Making BioPAX SPARQL

Study and guidelines on Geospatial Linked Data as part of ISA Action 1.17 Resource Description Framework

Representation and Querying of Valid Time of Triples in Linked Geospatial Data

A Semantic Web Approach for Geodata Discovery

A Framework to Support Spatial, Temporal and Thematic Analytics over Semantic Web Data

Geographica: A Benchmark for Geospatial RDF Stores (Long Version)

Sensor Data Management

Geographica: A Benchmark for Geospatial RDF Stores

Flexible Tools for the Semantic Web

Linked Open Data in Spatial Data Infrastructures

Introduction to Linked Open Data

Title. Prolog, Rules, Reasoning and SPARQLing Magic in the real world. Franz Inc

Schema-Agnostic Query Rewriting in SPARQL 1.1

LECTURE 09 RDF: SCHEMA - AN INTRODUCTION

A Framework to Support Spatial, Temporal and Thematic Analytics over Semantic Web Data

Contents. G52IWS: The Semantic Web. The Semantic Web. Semantic web elements. Semantic Web technologies. Semantic Web Services

Semantic Web Test

SPARQL-ST: Extending SPARQL to Support Spatiotemporal Queries

Forward Chaining Reasoning Tool for Rya

ISA Action 1.17: A Reusable INSPIRE Reference Platform (ARE3NA)

Representing Linked Data as Virtual File Systems

Event Stores (I) [Source: DB-Engines.com, accessed on August 28, 2016]

Using RDF to Model the Structure and Process of Systems

A Relaxed Approach to RDF Querying

Ontological Modeling: Part 2

ISA Action 1.17: A Reusable INSPIRE Reference Platform (ARE3NA)

Introduction to the Dimensionally Extended 9 Intersection Model (DE-9IM) in PostgreSQL/PostGIS Tutorial

Outline RDF. RDF Schema (RDFS) RDF Storing. Semantic Web and Metadata What is RDF and what is not? Why use RDF? RDF Elements

TopBraid Composer. Getting Started Guide. Version 5.2. September 21, TopBraid Composer, Copyright TopQuadrant, Inc.

Logic and Reasoning in the Semantic Web (part I RDF/RDFS)

Scaling the Semantic Wall with AllegroGraph and TopBraid Composer. A Joint Webinar by TopQuadrant and Franz

Semantic Technologies and CDISC Standards. Frederik Malfait, Information Architect, IMOS Consulting Scott Bahlavooni, Independent

FROM GEO-DATA TO LINKED DATA: AUTOMATED TRANSFORMATION FROM GML TO RDF

Serving Ireland s Geospatial as Linked Data on the Web

Querying Linked Geospatial Data with Incomplete Information

Today: RDF syntax. + conjunctive queries for OWL. KR4SW Winter 2010 Pascal Hitzler 3

FAGI-gis: A tool for fusing geospatial RDF data

Adaptive and Optimized RDF Query Interface for Distributed WFS Data

Semantics and Ontologies for Geospatial Information. Dr Kristin Stock

IT Infrastructure for BIM and GIS 3D Data, Semantics, and Workflows

TRIPLE An RDF Query, Inference, and Transformation Language

Linked Data and Geosparql

Semantic Web. MPRI : Web Data Management. Antoine Amarilli Friday, January 11th 1/29

Linking spatial data: semi-automated conversion of geoinformation models and GML data to RDF

Orchestrating Music Queries via the Semantic Web

Implementing OWL 2 RL and OWL 2 QL rule-sets for OWLIM

Research on Extension of SPARQL Ontology Query Language Considering the Computation of Indoor Spatial Relations

Oracle Spatial and Graph: Benchmarking a Trillion Edges RDF Graph ORACLE WHITE PAPER NOVEMBER 2016

Formal Representation of Information Resulting from Data Interpretation in Scientific Investigations

Knowledge Representation for the Semantic Web

Semantic Integration with Apache Jena and Apache Stanbol

Wondering about either OWL ontologies or SKOS vocabularies? You need both!

Hypermedia Web API for enhanced Heterogeneous Missions Accessibility

H1 Spring B. Programmers need to learn the SOAP schema so as to offer and use Web services.

Semantic Web and Python Concepts to Application development

Mustafa Jarrar: Lecture Notes on RDF Schema Birzeit University, Version 3. RDFS RDF Schema. Mustafa Jarrar. Birzeit University

Seman&cs)of)RDF) )S) RDF)seman&cs)1)Goals)

6. RDFS Modeling Patterns Semantic Web

RADON2: A buffered-intersection Matrix Computing Approach To Accelerate Link Discovery Over Geo-Spatial RDF Knowledge Bases

Formalising the Semantic Web. (These slides have been written by Axel Polleres, WU Vienna)

Resource Description Framework (RDF)

Modeling and Querying Metadata in the Semantic Sensor Web: the Model strdf and the Query Language stsparql

RDF Schema. Mario Arrigoni Neri

Reasoning with the Web Ontology Language (OWL)

Linguaggi Logiche e Tecnologie per la Gestione Semantica dei testi

Semantic Web In Depth: Resource Description Framework. Dr Nicholas Gibbins 32/4037

The P2 Registry

Semantic Web Rules. - Tools and Languages - Holger Knublauch. Tutorial at Rule ML 2006, Athens, GA

(6.6) Geometry and spatial reasoning. The student uses geometric vocabulary to describe angles, polygons, and circles.

Supporting Complex Thematic, Spatial and Temporal Queries over Semantic Web Data

RDF Semantics A graph-based approach

Linked Data Practices for the Geospatial Community

Semantic Integration of Geospatial Data from Earth Observations through Topological Relations

Unit 2 RDF Formal Semantics in Detail

Transcription:

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

GeoSPARQL GeoSPARQL is a recently completed OGC standard (Perry and Herring, 2012). Functionalities similar to stsparql: Geometries are represented using literals similarly to stsparql. The same families of functions are offered for querying geometries. Functionalities beyond stsparql: Topological relations can now be asserted as well so that reasoning and querying on them is possible. 2

Example in GeoSPARQL (1/2) geonames:olympia geonames:name "Ancient Olympia"; rdf:type dbpedia:community ; geo:hasgeometry ex:polygon1. Spatial ex:polygon1 literal rdf:type geo:polygon; geo:aswkt "POLYGON((21.5 18.5,23.5 18.5, 23.5 21,21.5 21,21.5 18.5)) "^^sf:wktliteral. Spatial data type 3

Example in GeoSPARQL (2/2) gag:olympiamunicipality rdf:type gag:municipality; rdfs:label "ΔΗΜΟΣ ΑΡΧΑΙΑΣ ΟΛΥΜΠΙΑΣ"@el; rdfs:label "Municipality of Ancient Olympia". gag:olympiamunicipality geo:sfcontains geonames:olympia. Asserted topological relation 4

GeoSPARQL Components Core Topology Vocabulary Extension - relation family Query Rewrite Extension - serialization - version - relation family Geometry Topology Extension - serialization - version - relation family Geometry Extension - serialization - version RDFS Entailment Extension - serialization - version - relation family Parameters Serialization WKT GML Relation Family Simple Features RCC8 Egenhofer

GeoSPARQL Core Defines top level classes that provides users with vocabulary for modeling geospatial information. The class geo:spatialobject is the top class and has as instances everything that can have a spatial representation. The class geo:feature is a subclass of geo:spatialobject. Feature is a domain entity that can have various attributes that describe spatial and non-spatial characteristics. 6

Example GeoSPARQL representation of the community of Ancient Olympia. dbpedia:community rdfs:subclassof geo:feature. geonames:olympia geonames:name "Ancient Olympia"; rdf:type dbpedia:community. 7

GeoSPARQL Geometry Extension Provides vocabulary for asserting and querying information about geometries. The class geo:geometry is the top class and has as instances everything that can have a spatial representation. 8

Example GeoSPARQL representation of the community of Ancient Olympia. dbpedia:community rdfs:subclassof geo:feature. geonames:olympia geonames:name "Ancient Olympia"; rdf:type dbpedia:community. geonames:olympia geo:hasgeometry ex:polygon1. ex:polygon1 rdf:type geo:polygon; geo:isempty "false"^^xsd:boolean; geo:aswkt "POLYGON((21.5 18.5, 23.5 18.5, 23.5 21, 21.5 21, 21.5 18.5))"^^sf:wktLiteral. Spatial data type 9

GeoSPARQL Geometry Extension Spatial analysis functions Construct new geometric objects from existing geometric objects geof:boundary (geom1: ogc:geomliteral): ogc:geomliteral geof:envelope (geom1: ogc:geomliteral): ogc:geomliteral geof:intersection( geom1: ogc:geomliteral, geom2: ogc:geomliteral): ogc:geomliteral geof:union ( geom1: ogc:geomliteral, geom2: ogc:geomliteral): ogc:geomliteral geof:difference ( geom1: ogc:geomliteral, geom2: ogc:geomliteral): ogc:geomliteral geof:symdifference ( geom1: ogc:geomliteral, geom2:ogc:geomliteral): ogc:geomliteral geof:buffer(geom: ogc:geomliteral, radius: xsd:double, units: xsd:anyuri): ogc:geomliteral geof:convexhull(geom1: ogc:geomliteral): ogc:geomliteral Spatial metric functions geof:distance(geom1: ogc:geomliteral, geom2: ogc:geomliteral, units: xsd:anyuri): xsd:double 10

GeoSPARQL: An example Return the names of communities that are near burnt areas SELECT?name WHERE {?c rdf:type geo:feature; rdf:type dbpedia:community; geonames:name?name; geo:hasgeometry?cpoly.?cpoly geo:aswkt?cgeom.?ba rdf:type geo:feature; rdf:type noa:burntarea; geo:hasgeometry?bapoly.?bapoly geo:aswkt?bageom. FILTER(geof:distance(?cGeom,?baGeom, uom:metre) < 1500)} Spatial Metric Function 11

GeoSPARQL Topology Vocabulary Extension The extension is parameterized by the family of topological relations supported. Topological relations for simple features The Egenhofer relations e.g., geo:ehmeet The RCC8 relations e.g., geo:rcc8ec 12

Example geonames:olympia rdf:type dbpedia:community; geonames:name "Ancient Olympia". gag:olympiaborough rdf:type gag:borough; rdfs:label "Borough of Ancient Olympia". gag:olympiamunicipality rdf:type gag:municipality; rdfs:label "Municipality of Ancient Olympia". gag:olympiaborough geo:sfcontains geonames:olympia. gag:olympiamunicipality geo:sfcontains geonames:olympiaborough. Asserted topological relation 13

GeoSPARQL: An example Find the borough that contains the community of Ancient Olympia SELECT?m WHERE {?m rdf:type gag:borough.?m geo:sfcontains geonames:olympia. } Topological Predicate 14

GeoSPARQL: An example Find the municipality that contains the community of Ancient Olympia SELECT?m WHERE {?m rdf:type gag:municipality.?m geo:sfcontains geonames:olympia. } What is the answer to this query? 15

Example (cont d) The answer to the previous query is?m = gag:olympiamunicipality GeoSPARQL does not tell you how to compute this answer which needs reasoning about the transitivity of relation geo:sfcontains. Options: Use rules Use constraint-based techniques 16

GeoSPARQL Geometry Topology Extension Defines Boolean functions that correspond to each of the topological relations of the topology vocabulary extension: OGC Simple Features Access geof:sfequals(geom1: ogc:geomliteral, geom2: ogc:geomliteral): xsd:boolean geof:sfdisjoint(geom1: ogc:geomliteral, geom2: ogc:geomliteral): xsd:boolean geof:sfintersects(geom1: ogc:geomliteral,geom2: ogc:geomliteral): xsd:boolean geof:sftouches(geom1: ogc:geomliteral, geom2: ogc:geomliteral): xsd:boolean geof:sfcrosses(geom1: ogc:geomliteral, geom2: ogc:geomliteral): xsd:boolean geof:sfwithin(geom1: ogc:geomliteral, geom2: ogc:geomliteral): xsd:boolean geof:sfcontains(geom1: ogc:geomliteral, geom2: ogc:geomliteral): xsd:boolean geof:sfoverlaps(geom1: ogc:geomliteral, geom2: ogc:geomliteral): xsd:boolean Egenhofer RCC8 17

GeoSPARQL: An example Return the names of communities that have been affected by fires SELECT?name WHERE {?community rdf:type dbpedia:community; geonames:name?name; geo:hasgeometry?cpoly.?cpoly geo:aswkt?cgeom.?ba a noa:burntarea; geo:hasgeometry?bapoly.?bapoly geo:aswkt?bageom. FILTER(geof:sfIntersects(?cGeom,?baGeom)) } Spatial Function 18

GeoSPARQL RDFS Entailment Extension Provides a mechanism for realizing the RDFS entailments that follow from the geometry class hierarchies defined by the WKT and GML standards. Systems should use an implementation of RDFS entailment to allow the derivation of new triples from those already in a graph. 19

Example Given the triples ex:f1 geo:hasgeometry ex:g1. geo:hasgeometry rdfs:domain geo:feature. we can infer the following triples: ex:f1 rdf:type geo:feature. ex:f1 rdf:type geo:spatialobject. 20

GeoSPARQL Query Rewrite Extension Provides a collection of RIF rules that use topological extension functions to establish the existence of topological predicates. Example: given the RIF rule named geor:sfwithin, the serializations of the geometries of dbpedia:athens and dbpedia:greece named AthensWKT and GreeceWKT and the fact that geof:sfwithin(athenswkt, GreeceWKT) returns true from the computation of the two geometries, we can derive the triple dbpedia:athens geo:sfwithin dbpedia:greece One possible implementation is to re-write a given SPARQL query. 21

RIF Rule Feature - Feature Forall?f1?f2?g1?g2?g1Serial?g2Serial (?f1[geo:sfwithin->?f2] :- Or( And (?f1[geo:defaultgeometry->?g1]?f2[geo:defaultgeometry->?g2]?g1[ogc:asgeomliteral->?g1serial]?g2[ogc:asgeomliteral->?g2serial] External(geo:sfWithin (?g1serial,?g2serial))) Feature - Geometry Geometry - Feature And (?f1[geo:defaultgeometry->?g1]?g1[ogc:asgeomliteral->?g1serial]?f2[ogc:asgeomliteral->?g2serial] External(geo:sfWithin (?g1serial,?g2serial))) And (?f2[geo:defaultgeometry->?g2]?f1[ogc:asgeomliteral->?g1serial]?g2[ogc:asgeomliteral->?g2serial] External(geo:sfWithin (?g1serial,?g2serial))) Geometry - Geometry )) And (?f1[ogc:asgeomliteral->?g1serial]?f2[ogc:asgeomliteral->?g2serial] External(geo:sfWithin (?g1serial,?g2serial))) 22

GeoSPARQL: An example Discover the features that are inside the municipality of Ancient Olympia SELECT?feature WHERE {?feature geo:sfwithin geonames:olympiamunicipality. } 23

GeoSPARQL: An example SELECT?feature WHERE { {?feature geo:sfwithin geonames:olympia } UNION {?feature geo:defaultgeometry?featuregeom.?featuregeom geo:aswkt?featureserial. geonames:olympia geo:defaultgeometry?olgeom.?olgeom geo:aswkt?olserial. FILTER (geof:sfwithin (?featureserial,?olserial)) } UNION {?feature geo:defaultgeometry?featuregeom.?featuregeom geo:aswkt?featureserial. geonames:olympia geo:aswkt?olserial. FILTER (geof:sfwithin (?featureserial,?olserial)) } UNION {?feature geo:aswkt?featureserial. geonames:olympia geo:defaultgeometry?olgeom.?olgeom geo:aswkt?olserial. FILTER (geof:sfwithin (?featureserial,?olserial)) } UNION {?feature geo:aswkt?featureserial. geonames:olympia geo:aswkt?olserial. FILTER (geof:sfwithin (?featureserial,?olserial)) } 24

Conclusions Geospatial data in the Semantic Web The query language GeoSPARQL Core Topology vocabulary extension Geometry extension Geometry topology extension Query rewrite extension RDFS entailment extension Next topic: Implemented Systems and Applications 25