SlideShare a Scribd company logo
Querying Linked Geospatial Data with
Incomplete Information

Charalampos Nikolaou

Manolis Koubarakis

charnik@di.uoa.gr

koubarak@di.uoa.gr

Department of Informatics & Telecommunications
National and Kapodistrian, University of Athens
5th International Terra Cognita Workshop
In Conjunction with the 11th International Semantic Web Conference
Boston, USA, November 12, 2012
Outline
• Linked geospatial data (motivation)
• Querying complete geospatial information
(exact geometries)
• Querying qualitative geospatial information

• Querying incomplete geospatial information
• The RDFi framework
• Future work
2
Motivation
Linked geospatial data
1.

2.

GeoNames
http://www.geonames.org/
ontology/
LinkedGeoData
(OpenStreetMap)
http://linkedgeodata.org/

3.

Administrative geography
of Great Britain
(Ordnance Survey)
http://data.ordnancesurvey
.co.uk/.html

4.

6.

Global Administrative Areas
(GADM)
http://www.gadm.org/

7.

DBpedia
http://dbpedia.org/

Greek Administrative
Geography
http://linkedopendata.gr/

5.

Greece
http://linkedopendata.gr/

Corine Land Cover of
3
Motivation

over 9.5 million geometries
(points, linestrings, polygons)

4
Motivation (cont’d)
Exploitation
• Earth observation
– National Observatory of Athens (NOA)
• Fire monitoring and burnt scar mapping
• Risk assessment

5
Motivation (cont’d)

• Earth observation

– German Aerospace Center (DLR)
• Management of environmental disasters (oil spills, tsunamis, floods,
etc.)
• Land use and regional/urban planning

6
NOA’s representation of hotspots

(24.825668, 35.310643)

noa:hotspot1

7
NOA’s representation of hotspots (cont’d)
Representation using stRDF

noa:hotspot1 rdf:type noa:Hotspot .

noa:fire1 rdf:type noa:Fire .
noa:hotspot1 noa:correspondsTo Encoding of geometries using
noa:fire1 .
RDF literas in WKT format
(OGC standard)

noa:fire1 noa:occuredIn noa:region1 .
noa:region1 strdf:hasGeometry
"POINT(24.825668 35.310643)"^^strdf:WKT .
8
NOA’s representation of hotspots (cont’d)
Querying using stSPARQL

Find all fires and hotspots inside Rethymno
SELECT ?f ?h
WHERE {
?h rdf:type noa:Hotspot ;
noa:correspondsTo ?f .
?f rdf:type noa:Fire ;
noa:occuredIn ?r .

Greek Administrative
Geography

?r strdf:hasGeometry ?rgeo .

gag:Rethymno strdf:hasGeometry ?rethGeo .

Spatial filtering

FILTER (strdf:contains(?rethGeo, ?rgeo))
}
9
Extending the previous example
with topological information

gag:Rethymno

gag:Rethymno rdf:type gag:Perfecture .

10
Extending the previous example
with topological information

gag:Rethymno

gag:Mylopotamos

noa:region1

gag:Rethymno rdf:type gag:Perfecture .
Topology vocabulary
gag:Mylopotamos rdf:type gag:Municipalityextension of GeoSPARQL
.

gag:Rethymno geo:sfContains gag:Mylopotamos .
gag:Mylopotamos geo:sfContains noa:region1.
11
Extending the previous example with topological
information (cont’d)
Querying using GeoSPARQL

Find all fires and hotspots inside Rethymno

SELECT ?f ?h
WHERE {
?h rdf:type noa:Hotspot ;
noa:correspondsTo ?f .
?f rdf:type noa:Fire ;
noa:occuredIn ?r .

Topology vocabulary
extension of GeoSPARQL

gag:Rethymno geo:sfContains ?r .
}

12
NOA’s representation of hotspots (revisited)
Incomplete information

_region1

noa:hotspot1

noa:fire1

13
NOA’s representation of hotspots (revisited)
Representation using RDFi
noa:hotspot1 rdf:type noa:Hotspot .
noa:fire1 rdf:type noa:Fire .
noa:hotspot1 noa:correspondsTo noa:fire1 .

e-literal
noa:fire1 noa:occuredIn _region1 .

RCC-8
_region1 geo:sfWithin "POLYGON((24.81 35.32,
24.84 35.30, 24.81 35.30, 24.81
35.32));<http://spatialreference.
org/ref/epsg/4121/>"^^strdf:geometry

24.84 35.33,

Qualitative spatial constraint
14
Visualization of a certainty query

15
Certainty queries
• Find all fires that have certainly occurred inside the rectangle
defined in WKT as POLYGON((24.79 35.34, 24.85 35.34, 24.85
35.29, 24.79 35.29, 24.79 35.34))
New (modal) operator

CERTAIN SELECT ?F
WHERE {

New topological operator

?F rdf:type noa:Fire ;
noa:occuredIn ?R .
FILTER(geof:sfWithin(?R, "POLYGON((24.79 35.34, 24.85
35.34, 24.85 35.29, 24.79 35.29, 24.79 35.34))"))
}
16
Extending the previous example
with topological information
gag:Mylopotamos

gag:Rethymno

POLYGON((24.81 35.32 ...))

_region1

noa:fire1

gag:Rethymno rdf:type gag:Perfecture .

gag:Mylopotamos rdf:type gag:Municipality .
gag:Mylopotamos geo:sfWithin gag:Rethymno .
_region1 geo:sfWithin "POLYGON((24.81 35.32...))"^^strdf:WKT

17
Extending the previous example
with topological information
gag:Mylopotamos

gag:Rethymno

POLYGON((24.81 35.32 ...))

_region1

noa:fire1

Beyond stSPARQL and
the topology vocabulary
extension of GeoSPARQL

gag:Rethymno rdf:type gag:Perfecture .

gag:Mylopotamos rdf:type gag:Municipality .
gag:Mylopotamos geo:sfWithin gag:Rethymno .
_region1 geo:sfWithin "POLYGON((24.81 35.32...))"^^strdf:WKT

18
Certainty queries
Find all fires that have certainly occurred inside Rethymno

CERTAIN SELECT ?F
WHERE {
?F rdf:type noa:Fire ;

noa:occuredIn ?R .
FILTER(geof:sfWithin(?R, gag:Rethymno))
}

19
Computing the answer
gag:Mylopotamos geo:sfWithin gag:Rethymno .
gag:Mylopatamos strdf:hasGeometry "POLYGON((<M>))"^^strdf:WKT .
gag:Rethymno strdf:hasGeometry "POLYGON((<R>))"^^strdf:WKT .
_region1 geo:sfWithin "POLYGON((<H>))"^^strdf:WKT

D
A
T
A
B
A
S
E

strdf:Inside("POLYGON((<H>))", "POLYGON((<M>))")
"POLYGON((<H>))" geo:sfWithin "POLYGON((<M>))"

_region1 geo:sfWithin "POLYGON((<H>))"
_region1 geo:sfWithin gag:Mylopotamos

gag:Mylopotamos geo:sfWithin gag:Rethymno
_region1 geo:sfWithin gag:Rethymno

Geometry for
Mylopotamos
Geometry for
Rethymno
Geometry for
Hotspot
Vocabulary
translation

Qualitative
spatial reasoning

Combined
algorithm
20
Computing the answer
gag:Mylopotamos geo:sfWithin gag:Rethymno .
gag:Mylopatamos strdf:hasGeometry "POLYGON((<M>))"^^strdf:WKT .
gag:Rethymno strdf:hasGeometry "POLYGON((<R>))"^^strdf:WKT .
_region1 geo:sfWithin "POLYGON((<H>))"^^strdf:WKT

D
A
T
A
B
A
S
E

strdf:Inside("POLYGON((<H>))", "POLYGON((<M>))")
"POLYGON((<H>))" geo:sfWithin "POLYGON((<M>))"

_region1 geo:sfWithin "POLYGON((<H>))"
_region1 geo:sfWithin gag:Mylopotamos

gag:Mylopotamos geo:sfWithin gag:Rethymno
_region1 geo:sfWithin gag:Rethymno

Geometry for
Mylopotamos
Geometry for
Rethymno
Geometry for
Hotspot
Vocabulary
translation

Qualitative
spatial reasoning

Combined
algorithm
21
Computing the answer
gag:Mylopotamos geo:sfWithin gag:Rethymno .
gag:Mylopatamos strdf:hasGeometry "POLYGON((<M>))"^^strdf:WKT .
gag:Rethymno strdf:hasGeometry "POLYGON((<R>))"^^strdf:WKT .
_region1 geo:sfWithin "POLYGON((<H>))"^^strdf:WKT

D
A
T
A
B
A
S
E

strdf:Inside("POLYGON((<H>))", "POLYGON((<M>))")
"POLYGON((<H>))" geo:sfWithin "POLYGON((<M>))"

_region1 geo:sfWithin "POLYGON((<H>))"
_region1 geo:sfWithin gag:Mylopotamos

gag:Mylopotamos geo:sfWithin gag:Rethymno
_region1 geo:sfWithin gag:Rethymno

Geometry for
Mylopotamos
Geometry for
Rethymno
Geometry for
Hotspot
Vocabulary
translation

Qualitative
spatial reasoning

Combined
algorithm
22
Computing the answer
gag:Mylopotamos geo:sfWithin gag:Rethymno .
gag:Mylopatamos strdf:hasGeometry "POLYGON((<M>))"^^strdf:WKT .
gag:Rethymno strdf:hasGeometry "POLYGON((<R>))"^^strdf:WKT .
_region1 geo:sfWithin "POLYGON((<H>))"^^strdf:WKT

D
A
T
A
B
A
S
E

strdf:Inside("POLYGON((<H>))", "POLYGON((<M>))")
"POLYGON((<H>))" geo:sfWithin "POLYGON((<M>))"

_region1 geo:sfWithin "POLYGON((<H>))"
_region1 geo:sfWithin gag:Mylopotamos

gag:Mylopotamos geo:sfWithin gag:Rethymno
_region1 geo:sfWithin gag:Rethymno

Geometry for
Mylopotamos
Geometry for
Rethymno
Geometry for
Hotspot
Vocabulary
translation

Qualitative
spatial reasoning

Combined
algorithm
23
The Framework RDFi
• Extension of RDF with incomplete information
• New kind of literals (e-literals) for each datatype
– Property values that exist but are unknown or partially known

• Partial knowledge: captured by constraints
(appropriate constraint language L)

• RDF graphs extended to RDFi databases: pair (G, φ)
G: RDF graph with e-literals
φ: quantifier-free formula of L

Charalampos Nikolaou and Manolis Koubarakis
Incomplete Information in RDF
arXiv:1209.3756v2 [cs.DB] 18 Sep 2012
http://arxiv.org/pdf/1209.3756v2.pdf
RDFi Semantics
hotspot1 type Hotspot .
fire1 type Fire .
hotspot1 correspondsTo fire1 .
fire1 occuredIn _region1 .

_region1 geo:sfWithin "x≥6∧x≤23∧y≥8∧y≤19"

corresponds to
{ G1, G2 G3, G4, ... }
}
1
2, 3
hotspot1 type Hotspot .
fire1 type Fire .
hotspot1 correspondsTo fire1 .
"x≥8∧x≤14∧y≥10∧y≤18"
"x≥10∧x≤21∧y≥10∧y≤15"
"x≥9∧x≤14∧y≥10∧y≤18"
fire1 occuredIn "x≥7∧x≤13∧y≥9∧y≤18"

.

set of RDF graphs
(possible worlds)
Certain answers
CERTAIN SELECT ?F
WHERE {
?F rdf:type noa:Fire ;
noa:occuredIn ?R .

FILTER(geof:sfWithin(?R,
"x≥2∧x≤28∧y≥4∧y≤22"))
}

Cert(q) = q(G1) ⋂ q(G2) ⋂ q(G3) ⋂ q(G4) ⋂ ...
Certain answers
CERTAIN SELECT ?F
WHERE {
?F rdf:type noa:Fire ;
noa:occuredIn ?R .

FILTER(geof:sfWithin(?R,
"x≥2∧x≤28∧y≥4∧y≤22"))
}

How the certain answer
is computed?
Cert(q) = q(G1) ⋂ q(G2) ⋂ q(G3) ⋂ q(G4) ⋂ ...
The Framework RDFi (cont’d)
•

Formal semantics for RDFi and SPARQL query evaluation

•

Representation Systems:
– CONSTRUCT with AUF graph patterns
– CONSTRUCT with well-designed graph patterns

•

Certain Answer: semantics, algorithms, computational complexity
when L is a language of spatial topological constraints

•

Implementation in the system Strabon has started with L being PCL
(topological constraints between variables and polygon constants)
Future work
•

How do we implement querying with topological relations in RDF
stores for stSPARQL/GeoSPARQL?

•

How do we implement certainty queries for RDFi?

•

DL reasoners with RCC-8 support offer topological reasoning
already (implementing a path-consistency algorithm)

– RacerPro

[Möller et al.], [Wessel-Möller, JAPLL’09]

– PelletSpatial [Stocker-Sirin, OWLED’09]

•

RDFi goes beyond
– Reason about qualitative and quantitative geospatial information
– Can be used in other application domains (e.g., temporal)
Thank you for your attention!
Questions?
References
[Weiming Liu et al.]
Weiming Liu, Sheng-sheng Wang, Sanjiang Li, Dayou Liu: Solving
Qualitative Constraints Involving Landmarks. CP 2011:523-537

[Wessel-Möller, JAPLL’09]
Michael Wessel, Ralf Möller: Flexible software architectures for
ontology-based information systems. J. Applied Logic (JAPLL)
7(1):75-99 (2009)

[Stocker-Sirin, OWLED‘09]
Markus Stocker, Evren Sirin: PelletSpatial: A Hybrid RCC-8 and
RDF/OWL Reasoning and Query Engine. OWLED 2009

More Related Content

What's hot

Creating Open Data with Open Source (beta2)
Creating Open Data with Open Source (beta2)Creating Open Data with Open Source (beta2)
Creating Open Data with Open Source (beta2)
Sammy Fung
 

What's hot (7)

Gradoop: Scalable Graph Analytics with Apache Flink @ FOSDEM 2016
Gradoop: Scalable Graph Analytics with Apache Flink @ FOSDEM 2016Gradoop: Scalable Graph Analytics with Apache Flink @ FOSDEM 2016
Gradoop: Scalable Graph Analytics with Apache Flink @ FOSDEM 2016
 
Improving Authenticated Dynamic Dictionaries, with Application to Cryptocurre...
Improving Authenticated Dynamic Dictionaries, with Application to Cryptocurre...Improving Authenticated Dynamic Dictionaries, with Application to Cryptocurre...
Improving Authenticated Dynamic Dictionaries, with Application to Cryptocurre...
 
RSP-QL*: Querying Data-Level Annotations in RDF Streams
RSP-QL*: Querying Data-Level Annotations in RDF StreamsRSP-QL*: Querying Data-Level Annotations in RDF Streams
RSP-QL*: Querying Data-Level Annotations in RDF Streams
 
Optimized index structures for querying rdf from the web
Optimized index structures for querying rdf from the webOptimized index structures for querying rdf from the web
Optimized index structures for querying rdf from the web
 
Creating Open Data with Open Source (beta2)
Creating Open Data with Open Source (beta2)Creating Open Data with Open Source (beta2)
Creating Open Data with Open Source (beta2)
 
An Introduction to Mapping, GIS and Spatial Modelling in R (presentation)
An Introduction to Mapping, GIS and Spatial Modelling in R (presentation)An Introduction to Mapping, GIS and Spatial Modelling in R (presentation)
An Introduction to Mapping, GIS and Spatial Modelling in R (presentation)
 
Comparing Vocabularies for Representing Geographical Features and Their Geometry
Comparing Vocabularies for Representing Geographical Features and Their GeometryComparing Vocabularies for Representing Geographical Features and Their Geometry
Comparing Vocabularies for Representing Geographical Features and Their Geometry
 

Viewers also liked

Business flyer press kit (long)
Business flyer press kit (long)Business flyer press kit (long)
Business flyer press kit (long)
Tammy Albright
 
Flyer_Veranderpraktijk_20152
Flyer_Veranderpraktijk_20152Flyer_Veranderpraktijk_20152
Flyer_Veranderpraktijk_20152
Marcel Kuhlmann
 
Conte Presentation (ppt)
Conte Presentation (ppt)Conte Presentation (ppt)
Conte Presentation (ppt)
Brianna Henshaw
 
Allan schoenfeld resolución de problemas
Allan schoenfeld resolución de problemasAllan schoenfeld resolución de problemas
Allan schoenfeld resolución de problemas
ErnestoRob
 

Viewers also liked (16)

Studiu de caz Be Cool by Napoca Rally Academy
Studiu de caz  Be Cool by Napoca Rally AcademyStudiu de caz  Be Cool by Napoca Rally Academy
Studiu de caz Be Cool by Napoca Rally Academy
 
Visualizing and Exploring Linked Spatiotemporal Data using Sextant
Visualizing and Exploring Linked Spatiotemporal Data using SextantVisualizing and Exploring Linked Spatiotemporal Data using Sextant
Visualizing and Exploring Linked Spatiotemporal Data using Sextant
 
Content Marketing by Sports Net Management 2015
Content Marketing by Sports Net Management 2015Content Marketing by Sports Net Management 2015
Content Marketing by Sports Net Management 2015
 
R S Tour & Travel
R S Tour & TravelR S Tour & Travel
R S Tour & Travel
 
Incomplete Information in RDF
Incomplete Information in RDFIncomplete Information in RDF
Incomplete Information in RDF
 
Business flyer press kit (long)
Business flyer press kit (long)Business flyer press kit (long)
Business flyer press kit (long)
 
Flyer_Veranderpraktijk_20152
Flyer_Veranderpraktijk_20152Flyer_Veranderpraktijk_20152
Flyer_Veranderpraktijk_20152
 
Viziune Sports Net Management
Viziune Sports Net ManagementViziune Sports Net Management
Viziune Sports Net Management
 
Conte Presentation (ppt)
Conte Presentation (ppt)Conte Presentation (ppt)
Conte Presentation (ppt)
 
Shoes
ShoesShoes
Shoes
 
Prezentare Content Marketing by Sports Net Management 2016
Prezentare Content Marketing by Sports Net Management 2016Prezentare Content Marketing by Sports Net Management 2016
Prezentare Content Marketing by Sports Net Management 2016
 
Querying Incomplete Geospatial Information in RDF
Querying Incomplete Geospatial Information in RDFQuerying Incomplete Geospatial Information in RDF
Querying Incomplete Geospatial Information in RDF
 
Cpd presentation
Cpd presentationCpd presentation
Cpd presentation
 
SQA - chapter 13 (Software Quality Infrastructure)
SQA - chapter 13 (Software Quality Infrastructure)SQA - chapter 13 (Software Quality Infrastructure)
SQA - chapter 13 (Software Quality Infrastructure)
 
Хавтгайн дүрслэлийн элементүүд
Хавтгайн дүрслэлийн элементүүдХавтгайн дүрслэлийн элементүүд
Хавтгайн дүрслэлийн элементүүд
 
Allan schoenfeld resolución de problemas
Allan schoenfeld resolución de problemasAllan schoenfeld resolución de problemas
Allan schoenfeld resolución de problemas
 

Similar to Querying Linked Geospatial Data with Incomplete Information

Geographica: A Benchmark for Geospatial RDF Stores - ISWC 2013
Geographica: A Benchmark for Geospatial RDF Stores - ISWC 2013Geographica: A Benchmark for Geospatial RDF Stores - ISWC 2013
Geographica: A Benchmark for Geospatial RDF Stores - ISWC 2013
Kostis Kyzirakos
 
Representing and Querying Geospatial Information in the Semantic Web
Representing and Querying Geospatial Information in the Semantic WebRepresenting and Querying Geospatial Information in the Semantic Web
Representing and Querying Geospatial Information in the Semantic Web
Kostis Kyzirakos
 
RDF4U: RDF Graph Visualization by Interpreting Linked Data as Knowledge
RDF4U: RDF Graph Visualization by Interpreting Linked Data as KnowledgeRDF4U: RDF Graph Visualization by Interpreting Linked Data as Knowledge
RDF4U: RDF Graph Visualization by Interpreting Linked Data as Knowledge
National Institute of Informatics
 
RDF4U: RDF Graph Visualization by Interpreting Linked Data as Knowledge
RDF4U: RDF Graph Visualization by Interpreting Linked Data as KnowledgeRDF4U: RDF Graph Visualization by Interpreting Linked Data as Knowledge
RDF4U: RDF Graph Visualization by Interpreting Linked Data as Knowledge
Rathachai Chawuthai
 
LiveLinkedData - TransWebData - Nantes 2013
LiveLinkedData - TransWebData - Nantes 2013LiveLinkedData - TransWebData - Nantes 2013
LiveLinkedData - TransWebData - Nantes 2013
Luis Daniel Ibáñez
 

Similar to Querying Linked Geospatial Data with Incomplete Information (20)

Geographica: A Benchmark for Geospatial RDF Stores
Geographica: A Benchmark for Geospatial RDF StoresGeographica: A Benchmark for Geospatial RDF Stores
Geographica: A Benchmark for Geospatial RDF Stores
 
BigDataEurope 1st SC5 Workshop, Project Teleios & LEO, by M. Koubarakis, Univ...
BigDataEurope 1st SC5 Workshop, Project Teleios & LEO, by M. Koubarakis, Univ...BigDataEurope 1st SC5 Workshop, Project Teleios & LEO, by M. Koubarakis, Univ...
BigDataEurope 1st SC5 Workshop, Project Teleios & LEO, by M. Koubarakis, Univ...
 
SexTant: Visualizing Time-Evolving Linked Geospatial Data
SexTant: Visualizing Time-Evolving Linked Geospatial DataSexTant: Visualizing Time-Evolving Linked Geospatial Data
SexTant: Visualizing Time-Evolving Linked Geospatial Data
 
publishing-ign-data
 publishing-ign-data publishing-ign-data
publishing-ign-data
 
Geographica: A Benchmark for Geospatial RDF Stores - ISWC 2013
Geographica: A Benchmark for Geospatial RDF Stores - ISWC 2013Geographica: A Benchmark for Geospatial RDF Stores - ISWC 2013
Geographica: A Benchmark for Geospatial RDF Stores - ISWC 2013
 
Wi2015 - Clustering of Linked Open Data - the LODeX tool
Wi2015 - Clustering of Linked Open Data - the LODeX toolWi2015 - Clustering of Linked Open Data - the LODeX tool
Wi2015 - Clustering of Linked Open Data - the LODeX tool
 
The agINFRA Linked Data layer by Valeria Pesce, Giovanni l'Abate, Luca Mattei...
The agINFRA Linked Data layer by Valeria Pesce, Giovanni l'Abate, Luca Mattei...The agINFRA Linked Data layer by Valeria Pesce, Giovanni l'Abate, Luca Mattei...
The agINFRA Linked Data layer by Valeria Pesce, Giovanni l'Abate, Luca Mattei...
 
The agINFRA Linked Data layer
The agINFRA Linked Data layerThe agINFRA Linked Data layer
The agINFRA Linked Data layer
 
Representing and Querying Geospatial Information in the Semantic Web
Representing and Querying Geospatial Information in the Semantic WebRepresenting and Querying Geospatial Information in the Semantic Web
Representing and Querying Geospatial Information in the Semantic Web
 
RDF4U: RDF Graph Visualization by Interpreting Linked Data as Knowledge
RDF4U: RDF Graph Visualization by Interpreting Linked Data as KnowledgeRDF4U: RDF Graph Visualization by Interpreting Linked Data as Knowledge
RDF4U: RDF Graph Visualization by Interpreting Linked Data as Knowledge
 
RDF4U: RDF Graph Visualization by Interpreting Linked Data as Knowledge
RDF4U: RDF Graph Visualization by Interpreting Linked Data as KnowledgeRDF4U: RDF Graph Visualization by Interpreting Linked Data as Knowledge
RDF4U: RDF Graph Visualization by Interpreting Linked Data as Knowledge
 
Challenge@RuleML2015 Modeling Object-Relational Geolocation Knowledge in PSOA...
Challenge@RuleML2015 Modeling Object-Relational Geolocation Knowledge in PSOA...Challenge@RuleML2015 Modeling Object-Relational Geolocation Knowledge in PSOA...
Challenge@RuleML2015 Modeling Object-Relational Geolocation Knowledge in PSOA...
 
Connecting Stream Reasoners on the Web
Connecting Stream Reasoners on the WebConnecting Stream Reasoners on the Web
Connecting Stream Reasoners on the Web
 
Mapping Lo Dto Proton Revised [Compatibility Mode]
Mapping Lo Dto Proton Revised [Compatibility Mode]Mapping Lo Dto Proton Revised [Compatibility Mode]
Mapping Lo Dto Proton Revised [Compatibility Mode]
 
Linked Data, Ontologies and Inference
Linked Data, Ontologies and InferenceLinked Data, Ontologies and Inference
Linked Data, Ontologies and Inference
 
Big linked geospatial data tools in ExtremeEarth-phiweek19
Big linked geospatial data tools in ExtremeEarth-phiweek19Big linked geospatial data tools in ExtremeEarth-phiweek19
Big linked geospatial data tools in ExtremeEarth-phiweek19
 
Toward Next Generation of Gazetteer: Utilizing GeoSPARQL For Developing Link...
Toward Next Generation of Gazetteer:  Utilizing GeoSPARQL For Developing Link...Toward Next Generation of Gazetteer:  Utilizing GeoSPARQL For Developing Link...
Toward Next Generation of Gazetteer: Utilizing GeoSPARQL For Developing Link...
 
Revisiting the Representation of and Need for Raw Geometries on the Linked Da...
Revisiting the Representation of and Need for Raw Geometries on the Linked Da...Revisiting the Representation of and Need for Raw Geometries on the Linked Da...
Revisiting the Representation of and Need for Raw Geometries on the Linked Da...
 
LiveLinkedData - TransWebData - Nantes 2013
LiveLinkedData - TransWebData - Nantes 2013LiveLinkedData - TransWebData - Nantes 2013
LiveLinkedData - TransWebData - Nantes 2013
 
Furore devdays 2017- rdf1(solbrig)
Furore devdays 2017- rdf1(solbrig)Furore devdays 2017- rdf1(solbrig)
Furore devdays 2017- rdf1(solbrig)
 

Recently uploaded

Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdfAdversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
Po-Chuan Chen
 

Recently uploaded (20)

How to Break the cycle of negative Thoughts
How to Break the cycle of negative ThoughtsHow to Break the cycle of negative Thoughts
How to Break the cycle of negative Thoughts
 
Home assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdfHome assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdf
 
Operations Management - Book1.p - Dr. Abdulfatah A. Salem
Operations Management - Book1.p  - Dr. Abdulfatah A. SalemOperations Management - Book1.p  - Dr. Abdulfatah A. Salem
Operations Management - Book1.p - Dr. Abdulfatah A. Salem
 
Danh sách HSG Bộ môn cấp trường - Cấp THPT.pdf
Danh sách HSG Bộ môn cấp trường - Cấp THPT.pdfDanh sách HSG Bộ môn cấp trường - Cấp THPT.pdf
Danh sách HSG Bộ môn cấp trường - Cấp THPT.pdf
 
INU_CAPSTONEDESIGN_비밀번호486_업로드용 발표자료.pdf
INU_CAPSTONEDESIGN_비밀번호486_업로드용 발표자료.pdfINU_CAPSTONEDESIGN_비밀번호486_업로드용 발표자료.pdf
INU_CAPSTONEDESIGN_비밀번호486_업로드용 발표자료.pdf
 
Introduction to Quality Improvement Essentials
Introduction to Quality Improvement EssentialsIntroduction to Quality Improvement Essentials
Introduction to Quality Improvement Essentials
 
Advances in production technology of Grapes.pdf
Advances in production technology of Grapes.pdfAdvances in production technology of Grapes.pdf
Advances in production technology of Grapes.pdf
 
The Benefits and Challenges of Open Educational Resources
The Benefits and Challenges of Open Educational ResourcesThe Benefits and Challenges of Open Educational Resources
The Benefits and Challenges of Open Educational Resources
 
How to Split Bills in the Odoo 17 POS Module
How to Split Bills in the Odoo 17 POS ModuleHow to Split Bills in the Odoo 17 POS Module
How to Split Bills in the Odoo 17 POS Module
 
Forest and Wildlife Resources Class 10 Free Study Material PDF
Forest and Wildlife Resources Class 10 Free Study Material PDFForest and Wildlife Resources Class 10 Free Study Material PDF
Forest and Wildlife Resources Class 10 Free Study Material PDF
 
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdfAdversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
 
Instructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptxInstructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptx
 
Synthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptxSynthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptx
 
Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345
 
Matatag-Curriculum and the 21st Century Skills Presentation.pptx
Matatag-Curriculum and the 21st Century Skills Presentation.pptxMatatag-Curriculum and the 21st Century Skills Presentation.pptx
Matatag-Curriculum and the 21st Century Skills Presentation.pptx
 
Jose-Rizal-and-Philippine-Nationalism-National-Symbol-2.pptx
Jose-Rizal-and-Philippine-Nationalism-National-Symbol-2.pptxJose-Rizal-and-Philippine-Nationalism-National-Symbol-2.pptx
Jose-Rizal-and-Philippine-Nationalism-National-Symbol-2.pptx
 
How to Create Map Views in the Odoo 17 ERP
How to Create Map Views in the Odoo 17 ERPHow to Create Map Views in the Odoo 17 ERP
How to Create Map Views in the Odoo 17 ERP
 
Benefits and Challenges of Using Open Educational Resources
Benefits and Challenges of Using Open Educational ResourcesBenefits and Challenges of Using Open Educational Resources
Benefits and Challenges of Using Open Educational Resources
 
Gyanartha SciBizTech Quiz slideshare.pptx
Gyanartha SciBizTech Quiz slideshare.pptxGyanartha SciBizTech Quiz slideshare.pptx
Gyanartha SciBizTech Quiz slideshare.pptx
 
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXXPhrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
 

Querying Linked Geospatial Data with Incomplete Information

  • 1. Querying Linked Geospatial Data with Incomplete Information Charalampos Nikolaou Manolis Koubarakis charnik@di.uoa.gr koubarak@di.uoa.gr Department of Informatics & Telecommunications National and Kapodistrian, University of Athens 5th International Terra Cognita Workshop In Conjunction with the 11th International Semantic Web Conference Boston, USA, November 12, 2012
  • 2. Outline • Linked geospatial data (motivation) • Querying complete geospatial information (exact geometries) • Querying qualitative geospatial information • Querying incomplete geospatial information • The RDFi framework • Future work 2
  • 3. Motivation Linked geospatial data 1. 2. GeoNames http://www.geonames.org/ ontology/ LinkedGeoData (OpenStreetMap) http://linkedgeodata.org/ 3. Administrative geography of Great Britain (Ordnance Survey) http://data.ordnancesurvey .co.uk/.html 4. 6. Global Administrative Areas (GADM) http://www.gadm.org/ 7. DBpedia http://dbpedia.org/ Greek Administrative Geography http://linkedopendata.gr/ 5. Greece http://linkedopendata.gr/ Corine Land Cover of 3
  • 4. Motivation over 9.5 million geometries (points, linestrings, polygons) 4
  • 5. Motivation (cont’d) Exploitation • Earth observation – National Observatory of Athens (NOA) • Fire monitoring and burnt scar mapping • Risk assessment 5
  • 6. Motivation (cont’d) • Earth observation – German Aerospace Center (DLR) • Management of environmental disasters (oil spills, tsunamis, floods, etc.) • Land use and regional/urban planning 6
  • 7. NOA’s representation of hotspots (24.825668, 35.310643) noa:hotspot1 7
  • 8. NOA’s representation of hotspots (cont’d) Representation using stRDF noa:hotspot1 rdf:type noa:Hotspot . noa:fire1 rdf:type noa:Fire . noa:hotspot1 noa:correspondsTo Encoding of geometries using noa:fire1 . RDF literas in WKT format (OGC standard) noa:fire1 noa:occuredIn noa:region1 . noa:region1 strdf:hasGeometry "POINT(24.825668 35.310643)"^^strdf:WKT . 8
  • 9. NOA’s representation of hotspots (cont’d) Querying using stSPARQL Find all fires and hotspots inside Rethymno SELECT ?f ?h WHERE { ?h rdf:type noa:Hotspot ; noa:correspondsTo ?f . ?f rdf:type noa:Fire ; noa:occuredIn ?r . Greek Administrative Geography ?r strdf:hasGeometry ?rgeo . gag:Rethymno strdf:hasGeometry ?rethGeo . Spatial filtering FILTER (strdf:contains(?rethGeo, ?rgeo)) } 9
  • 10. Extending the previous example with topological information gag:Rethymno gag:Rethymno rdf:type gag:Perfecture . 10
  • 11. Extending the previous example with topological information gag:Rethymno gag:Mylopotamos noa:region1 gag:Rethymno rdf:type gag:Perfecture . Topology vocabulary gag:Mylopotamos rdf:type gag:Municipalityextension of GeoSPARQL . gag:Rethymno geo:sfContains gag:Mylopotamos . gag:Mylopotamos geo:sfContains noa:region1. 11
  • 12. Extending the previous example with topological information (cont’d) Querying using GeoSPARQL Find all fires and hotspots inside Rethymno SELECT ?f ?h WHERE { ?h rdf:type noa:Hotspot ; noa:correspondsTo ?f . ?f rdf:type noa:Fire ; noa:occuredIn ?r . Topology vocabulary extension of GeoSPARQL gag:Rethymno geo:sfContains ?r . } 12
  • 13. NOA’s representation of hotspots (revisited) Incomplete information _region1 noa:hotspot1 noa:fire1 13
  • 14. NOA’s representation of hotspots (revisited) Representation using RDFi noa:hotspot1 rdf:type noa:Hotspot . noa:fire1 rdf:type noa:Fire . noa:hotspot1 noa:correspondsTo noa:fire1 . e-literal noa:fire1 noa:occuredIn _region1 . RCC-8 _region1 geo:sfWithin "POLYGON((24.81 35.32, 24.84 35.30, 24.81 35.30, 24.81 35.32));<http://spatialreference. org/ref/epsg/4121/>"^^strdf:geometry 24.84 35.33, Qualitative spatial constraint 14
  • 15. Visualization of a certainty query 15
  • 16. Certainty queries • Find all fires that have certainly occurred inside the rectangle defined in WKT as POLYGON((24.79 35.34, 24.85 35.34, 24.85 35.29, 24.79 35.29, 24.79 35.34)) New (modal) operator CERTAIN SELECT ?F WHERE { New topological operator ?F rdf:type noa:Fire ; noa:occuredIn ?R . FILTER(geof:sfWithin(?R, "POLYGON((24.79 35.34, 24.85 35.34, 24.85 35.29, 24.79 35.29, 24.79 35.34))")) } 16
  • 17. Extending the previous example with topological information gag:Mylopotamos gag:Rethymno POLYGON((24.81 35.32 ...)) _region1 noa:fire1 gag:Rethymno rdf:type gag:Perfecture . gag:Mylopotamos rdf:type gag:Municipality . gag:Mylopotamos geo:sfWithin gag:Rethymno . _region1 geo:sfWithin "POLYGON((24.81 35.32...))"^^strdf:WKT 17
  • 18. Extending the previous example with topological information gag:Mylopotamos gag:Rethymno POLYGON((24.81 35.32 ...)) _region1 noa:fire1 Beyond stSPARQL and the topology vocabulary extension of GeoSPARQL gag:Rethymno rdf:type gag:Perfecture . gag:Mylopotamos rdf:type gag:Municipality . gag:Mylopotamos geo:sfWithin gag:Rethymno . _region1 geo:sfWithin "POLYGON((24.81 35.32...))"^^strdf:WKT 18
  • 19. Certainty queries Find all fires that have certainly occurred inside Rethymno CERTAIN SELECT ?F WHERE { ?F rdf:type noa:Fire ; noa:occuredIn ?R . FILTER(geof:sfWithin(?R, gag:Rethymno)) } 19
  • 20. Computing the answer gag:Mylopotamos geo:sfWithin gag:Rethymno . gag:Mylopatamos strdf:hasGeometry "POLYGON((<M>))"^^strdf:WKT . gag:Rethymno strdf:hasGeometry "POLYGON((<R>))"^^strdf:WKT . _region1 geo:sfWithin "POLYGON((<H>))"^^strdf:WKT D A T A B A S E strdf:Inside("POLYGON((<H>))", "POLYGON((<M>))") "POLYGON((<H>))" geo:sfWithin "POLYGON((<M>))" _region1 geo:sfWithin "POLYGON((<H>))" _region1 geo:sfWithin gag:Mylopotamos gag:Mylopotamos geo:sfWithin gag:Rethymno _region1 geo:sfWithin gag:Rethymno Geometry for Mylopotamos Geometry for Rethymno Geometry for Hotspot Vocabulary translation Qualitative spatial reasoning Combined algorithm 20
  • 21. Computing the answer gag:Mylopotamos geo:sfWithin gag:Rethymno . gag:Mylopatamos strdf:hasGeometry "POLYGON((<M>))"^^strdf:WKT . gag:Rethymno strdf:hasGeometry "POLYGON((<R>))"^^strdf:WKT . _region1 geo:sfWithin "POLYGON((<H>))"^^strdf:WKT D A T A B A S E strdf:Inside("POLYGON((<H>))", "POLYGON((<M>))") "POLYGON((<H>))" geo:sfWithin "POLYGON((<M>))" _region1 geo:sfWithin "POLYGON((<H>))" _region1 geo:sfWithin gag:Mylopotamos gag:Mylopotamos geo:sfWithin gag:Rethymno _region1 geo:sfWithin gag:Rethymno Geometry for Mylopotamos Geometry for Rethymno Geometry for Hotspot Vocabulary translation Qualitative spatial reasoning Combined algorithm 21
  • 22. Computing the answer gag:Mylopotamos geo:sfWithin gag:Rethymno . gag:Mylopatamos strdf:hasGeometry "POLYGON((<M>))"^^strdf:WKT . gag:Rethymno strdf:hasGeometry "POLYGON((<R>))"^^strdf:WKT . _region1 geo:sfWithin "POLYGON((<H>))"^^strdf:WKT D A T A B A S E strdf:Inside("POLYGON((<H>))", "POLYGON((<M>))") "POLYGON((<H>))" geo:sfWithin "POLYGON((<M>))" _region1 geo:sfWithin "POLYGON((<H>))" _region1 geo:sfWithin gag:Mylopotamos gag:Mylopotamos geo:sfWithin gag:Rethymno _region1 geo:sfWithin gag:Rethymno Geometry for Mylopotamos Geometry for Rethymno Geometry for Hotspot Vocabulary translation Qualitative spatial reasoning Combined algorithm 22
  • 23. Computing the answer gag:Mylopotamos geo:sfWithin gag:Rethymno . gag:Mylopatamos strdf:hasGeometry "POLYGON((<M>))"^^strdf:WKT . gag:Rethymno strdf:hasGeometry "POLYGON((<R>))"^^strdf:WKT . _region1 geo:sfWithin "POLYGON((<H>))"^^strdf:WKT D A T A B A S E strdf:Inside("POLYGON((<H>))", "POLYGON((<M>))") "POLYGON((<H>))" geo:sfWithin "POLYGON((<M>))" _region1 geo:sfWithin "POLYGON((<H>))" _region1 geo:sfWithin gag:Mylopotamos gag:Mylopotamos geo:sfWithin gag:Rethymno _region1 geo:sfWithin gag:Rethymno Geometry for Mylopotamos Geometry for Rethymno Geometry for Hotspot Vocabulary translation Qualitative spatial reasoning Combined algorithm 23
  • 24. The Framework RDFi • Extension of RDF with incomplete information • New kind of literals (e-literals) for each datatype – Property values that exist but are unknown or partially known • Partial knowledge: captured by constraints (appropriate constraint language L) • RDF graphs extended to RDFi databases: pair (G, φ) G: RDF graph with e-literals φ: quantifier-free formula of L Charalampos Nikolaou and Manolis Koubarakis Incomplete Information in RDF arXiv:1209.3756v2 [cs.DB] 18 Sep 2012 http://arxiv.org/pdf/1209.3756v2.pdf
  • 25. RDFi Semantics hotspot1 type Hotspot . fire1 type Fire . hotspot1 correspondsTo fire1 . fire1 occuredIn _region1 . _region1 geo:sfWithin "x≥6∧x≤23∧y≥8∧y≤19" corresponds to { G1, G2 G3, G4, ... } } 1 2, 3 hotspot1 type Hotspot . fire1 type Fire . hotspot1 correspondsTo fire1 . "x≥8∧x≤14∧y≥10∧y≤18" "x≥10∧x≤21∧y≥10∧y≤15" "x≥9∧x≤14∧y≥10∧y≤18" fire1 occuredIn "x≥7∧x≤13∧y≥9∧y≤18" . set of RDF graphs (possible worlds)
  • 26. Certain answers CERTAIN SELECT ?F WHERE { ?F rdf:type noa:Fire ; noa:occuredIn ?R . FILTER(geof:sfWithin(?R, "x≥2∧x≤28∧y≥4∧y≤22")) } Cert(q) = q(G1) ⋂ q(G2) ⋂ q(G3) ⋂ q(G4) ⋂ ...
  • 27. Certain answers CERTAIN SELECT ?F WHERE { ?F rdf:type noa:Fire ; noa:occuredIn ?R . FILTER(geof:sfWithin(?R, "x≥2∧x≤28∧y≥4∧y≤22")) } How the certain answer is computed? Cert(q) = q(G1) ⋂ q(G2) ⋂ q(G3) ⋂ q(G4) ⋂ ...
  • 28. The Framework RDFi (cont’d) • Formal semantics for RDFi and SPARQL query evaluation • Representation Systems: – CONSTRUCT with AUF graph patterns – CONSTRUCT with well-designed graph patterns • Certain Answer: semantics, algorithms, computational complexity when L is a language of spatial topological constraints • Implementation in the system Strabon has started with L being PCL (topological constraints between variables and polygon constants)
  • 29. Future work • How do we implement querying with topological relations in RDF stores for stSPARQL/GeoSPARQL? • How do we implement certainty queries for RDFi? • DL reasoners with RCC-8 support offer topological reasoning already (implementing a path-consistency algorithm) – RacerPro [Möller et al.], [Wessel-Möller, JAPLL’09] – PelletSpatial [Stocker-Sirin, OWLED’09] • RDFi goes beyond – Reason about qualitative and quantitative geospatial information – Can be used in other application domains (e.g., temporal)
  • 30. Thank you for your attention! Questions?
  • 31. References [Weiming Liu et al.] Weiming Liu, Sheng-sheng Wang, Sanjiang Li, Dayou Liu: Solving Qualitative Constraints Involving Landmarks. CP 2011:523-537 [Wessel-Möller, JAPLL’09] Michael Wessel, Ralf Möller: Flexible software architectures for ontology-based information systems. J. Applied Logic (JAPLL) 7(1):75-99 (2009) [Stocker-Sirin, OWLED‘09] Markus Stocker, Evren Sirin: PelletSpatial: A Hybrid RCC-8 and RDF/OWL Reasoning and Query Engine. OWLED 2009