The spatiotemporal RDF store Strabon

13
University of Athens School of Science Faculty of Informatics and Telecommunications Kostis Kyzirakos Linked Data Europe: Tools and Applications March 21, 2014 Database Architectures group Centrum Wiskunde & Informatica Netherlands

description

Presentation of the spatiotemporal RDF store Strabon at the Linked Data Europe Workshop, co-located with the European Data Forum in Athens, Greece (21 March 2014)

Transcript of The spatiotemporal RDF store Strabon

Page 1: The spatiotemporal RDF store Strabon

University of AthensSchool of ScienceFaculty of Informatics and Telecommunications

Kostis Kyzirakos

Linked Data Europe: Tools and Applications

March 21, 2014

Database Architectures groupCentrum Wiskunde & InformaticaNetherlands

Page 2: The spatiotemporal RDF store Strabon

Linked Open Data Cloud2

Page 3: The spatiotemporal RDF store Strabon

stRDF: An example

3

Page 4: The spatiotemporal RDF store Strabon

"POLYGON(( 38.16 23.7, 38.18 23.7, 38.18 23.8, ... 38.16

23.8, 38.16 3.7)); <http://spatialreference.org/ref/epsg/4121/>"^^strdf:WKT

stRDF: An example

Spatial Literal (OpenGIS Simple

Features)

Spatial Data Type Well-Known Text

“1” ^^xsd:int

"23.7636"^^xsd:doublenoa:hasArea

noa:hasID

rdf:type ex:BurntArea1

noa:BurntArea

geo:geometry

4

Page 5: The spatiotemporal RDF store Strabon

select (strdf:Difference(?RGEO, strdf:Union(?BAGEO)) AS ?BF)where { ?R rdf:type noa:Region ;

geo:geometry ?RGEO ;

noa:hasCorineLandCoverUse ?F .

?F rdfs:subClassOf clc:Forests .

?CITY rdf:type dbpedia:City ;

geo:geometry ?CGEO .

?BA rdf:type noa:BurntArea ;

geo:geometry ?BAGEO .

filter( strdf:Intersect(?RGEO,?BAGEO) &&

strdf:Distance(?BAGEO,?CGEO, uom:km) < 10) }

GROUP BY ?RGEO

• Find all burned forests within 10kms of a city

stSPARQL: An example

Spatial Functions

(OGC Simple Feature Access)

5

Page 6: The spatiotemporal RDF store Strabon

Strabon Architecture

stRDFgraphs

stSPARQL/GeoSPARQL

queries

WKT GML

6

Time

SPARQL resultsKML Documents

GeoJSON

http://strabon.di.uoa.gr/

Sesame

Page 7: The spatiotemporal RDF store Strabon

Real-world Workload: 500 million triples – cold caches

7

Thematic selectivity: 100%number of Nodes in query region

Res

pons

e tim

e (s

ec)

Res

pons

e tim

e (s

ec)

number of Nodes in query regionThematic selectivity: 0.1%

Page 8: The spatiotemporal RDF store Strabon

GeographicaSynthetic Workload (Spatial Selections, cold caches)

8

IntersectsThematic Selectivity: 100%

IntersectsThematic Selectivity: 0.2%

http://geographica.di.uoa.gr

Page 9: The spatiotemporal RDF store Strabon

Results (points only)Synthetic Workload (Spatial Selections, cold caches)

9

IntersectsThematic Selectivity: 100%

IntersectsThematic Selectivity: 0.1%

Page 10: The spatiotemporal RDF store Strabon

GeographicaSynthetic Workload (Spatial Joins)

Intersects

10

http://geographica.di.uoa.gr

Page 11: The spatiotemporal RDF store Strabon

System Language Index Geometries CRS support GeospatialFunctionSupport

Strabon stSPARQL/ GeoSPARQL*

R-tree-over-GiST

WKT / GML support Yes

• OGC-SFA• Egenhofer• RCC-8

Parliament GeoSPARQL* R-Tree WKT / GML support Yes

•OGC-SFA•Egenhofer•RCC-8

Oracle GeoSPARQL R-Tree, Quadtree

WKT / GML support Yes

•OGC-SFA•Egenhofer•RCC-8

Brodt et al. (RDF-3X)

SPARQL R-Tree WKT support No OGC-SFA

Perry SPARQL-ST R-Tree GeoRSS GML Yes RCC-8

AllegroGraph Extended SPARQL

Distribution sweepingtechnique

2D point geometries Partial

•Buffer•Bounding Box•Distance

OWLIM Extended SPARQL

Custom 2D point geometries

No •Point-in-polygon•Buffer•Distance

Virtuoso SPARQL R-Tree 2D point geometries Yes

SQL/MM (subset)

uSeekM GeoSPARQL R-tree-overGiST

WKT supportNo

OGC-SFA

Page 12: The spatiotemporal RDF store Strabon

12

Fire monitoring service

Semantic Web Challenge 2012 - 3rd prize

Page 13: The spatiotemporal RDF store Strabon

13