SlideShare uma empresa Scribd logo
1 de 21
Baixar para ler offline
Sergio Fernández (Redlink GmbH)
Apache Big Data North America 2016
Vancouver, May 11th 2016
Geospatial Querying in
Apache Marmotta
Partner Technology Manager at Redlink GmbH
also…
External Lecturer at Fachhochschule Salzburg
Member of The Apache Software Foundation
Sergio Fernández
@wikier
https://linkedin.com/in/sergiofernandez
https://www.wikier.org
Geospatial Querying
in
What is Apache Marmotta?
● An Open Platform for Linked Data, an open implementation of
a Linked Data Platform that can be easily used, extended and deployed by
organizations who want to publish Linked Data or build custom applications
on Linked Data.
● Key features:
○ Read-Write Linked Data server
○ RDF triple store with transactions, versioning and rule-
base reasoning
○ LDP, SPARQL and LDPath querying
○ Transparent Linked Data caching
What is Linked Data?
● The Semantic Web is a Web of Data
● Semantic Web technologies (RDF, OWL, SKOS, SPARQL, etc.) provide an
environment where applications can query that data, draw inferences using
vocabularies, etc.
● Linked Data lies at the heart of what Semantic Web is all about: large scale
integration of, and reasoning on, data on the Web.
● A typical case of a large Linked Dataset is DBPedia,
which, essentially, makes the content of Wikipedia
available as Linked Data.
What is RDF?
● The Resource Description Framework (RDF) is a family of World Wide Web
Consortium (W3C) specifications originally designed as a metadata data
model.
● RDF is directed labeled graph, where:
○ nodes are resources;
○ edges represent the named links between two resources;
○ the composition of one resource (subject) linked (with a predicate) to another (object) is
known as "RDF triple";
○ a set of triples form a RDF graph.
Querying in Marmotta
Currently Marmotta provides three main means of querying:
● LDP 1.0 (Linked Data Platform),
○ a W3C protocol based on HTTP for managing Linked Data resources
○ https://www.w3.org/TR/ldp/
● SPARQL 1.1 (SPARQL Protocol and RDF Query Language)
○ a W3C RDF query language and protocol
○ https://www.w3.org/TR/sparql11-query/
● LDPath
○ a path language for Linked Data, similar to XPath for XML
○ https://marmotta.apache.org/ldpath/language
GeoSPARQL
● The OGC GeoSPARQL standard supports representing and
querying geospatial data on the Semantic Web.
● GeoSPARQL defines a vocabulary for representing
geospatial data in RDF, and a SPARQL extension for
processing geospatial data.
● It makes use of both WKT (Well Known Text) and GML for
representing geometries as literals.
GeoSPARQL Ontology
Spatial Object
GeometryFeature
There are three key classes in the GeoSPARQL ontology:
● geo:SpatialObject
○ a superclass of both Features and
Geometries;
● geo:Feature
○ a thing that can have a spatial
location; e.g., a park;
● geo:Geometry
○ a representation of a spatial
location; i.e., a set of coordinates.
geo:hasGeometry
Namespace: http://www.opengis.net/ont/geosparql#
GeoSPARQL basic data model
GeoSPARQL implementation approaches
Two approaches were mainly considered to implement GeoSPARQL:
1. Materialization
○ Pros: fast querying
○ Cons: materialization is computationally expensive , requires more more
storage capacity and native operators
2. Query translation
○ Pros: direct comparison, optimal storage and no need of native operators
○ Cons: slow querying
In Marmotta we decided to go for the first option.
GeoSPARQL in Marmotta
● More precisely we should say "GeoSPARQL in KiWi"
○ KiWi is our triple store based on RDBMS
○ Marmotta also supports many other Sesame-based triple stores as backend
● Support implemented based on PostGIS for PostgreSQL
○ Support not available for other databases
● All further technical details available at the wiki: https://wiki.apache.
org/marmotta/GSoC/2015/MARMOTTA-584
● Documentation at http://marmotta.apache.org/kiwi/geosparql
GeoSPARQL coverage
Apache Marmotta 3.4.0(*)
supports:
● Simple Features Topological Relations
● Egenhofer Topological Relations
● RCC8 Topological Relations
● Non-Topological Functions
Better to check the documentation: https://wiki.apache.
org/marmotta/GSoC/2015/MARMOTTA-584
(*) still under development at
MARMOTTA-584 branch, to be
released in the upcoming weeks
GeoSPARQL example SELECT DISTINCT ?label
WHERE {
?reg1 a geo:provincia ;
rdfs:label "Madrid"@es ;
geoes:hasExactGeometry ?geo1 .
?geo1 geo:asWKT ?wkt1 .
?reg2 a geo:municipio ;
rdfs:label ?label ;
geoes:hasExactGeometry ?geo2 .
?geo2 geo:asWKT ?wkt2 .
FILTER (geof:sfContains(?wkt1, ?wkt2))
}
ORDER BY ?label
LIMIT 10
Simple query to get all
geometries that are contained
by other.
Particularly this example queries
for the first ten municipalities in
the region of Madrid.
GeoSPARQL example (II) SELECT DISTINCT ?label
WHERE {
ex:Austria a geo:Country ;
rdfs:label "Austria"@en ;
rdfs:label "Österreich"@de ;
geoes:hasExactGeometry ?geo1 .
?geo1 geo:asWKT ?wkt1 .
?river a geo:River ;
rdfs:label ?label ;
geoes:hasExactGeometry ?geo2 .
?geo2 geo:asWKT ?wkt2 .
FILTER (geof:sfTouches(?wkt1, ?wkt2))
}
ORDER BY ?label
Another query to get all
geometries that are touch other.
Particularly this example queries
for the rivers that make borderline
with Austria.
GeoSPARQL example (III)
SELECT DISTINCT ?label
WHERE {
?route a geo:MTBRoute ;
geoes:hasExactGeometry ?geo1 .
?geo1 geo:asWKT ?wkt1 .
?city a geo:City ;
rdfs:label ?label ;
geoes:hasExactGeometry ?geo2 .
?geo2 geo:asWKT ?wkt2 .
FILTER (
geof:geof:sfCrosses(?wkt1, ?wkt2))
}
ORDER BY ?label
Another query to get all geometries
that are crosses another.
Particularly this example queries for
all Mountain bike routes that cross a
city.
let's
demo!
https://www.flickr.com/photos/nasahqphoto/16409061001/
conclusions
● GeoSPARQL adds a very
interesting features for query
RDF data
● Requires no much new
infrastructure, no
performance footprint
● The most important feature
in Marmotta 3.4.0
● Cross-project collaboration
within different Apache
projects has shown an
enormous potential
Q&A
thanks!
The work presented here has been partially developed in the
context of the TourPack project, partially funded the Austrian
Research Promotion Agency (FFG) IKT der Zukunft program
under grant agreement no. 845600.
Thanks to the student Francisco Xavier Sumba Toral for
contributing the initial GeoSPARQL implementation as part
of his project during the Google Summer of Code 2015. So
thanks to Google for such awesome open source program!
Acknowledgements
Thanks to Apache TAC for supporting me travelling to Vancouver.

Mais conteúdo relacionado

Mais procurados

Linked Media Management with Apache Marmotta
Linked Media Management with Apache MarmottaLinked Media Management with Apache Marmotta
Linked Media Management with Apache MarmottaThomas Kurz
 
Enabling access to Linked Media with SPARQL-MM
Enabling access to Linked Media with SPARQL-MMEnabling access to Linked Media with SPARQL-MM
Enabling access to Linked Media with SPARQL-MMThomas Kurz
 
Querying the Wikidata Knowledge Graph
Querying the Wikidata Knowledge GraphQuerying the Wikidata Knowledge Graph
Querying the Wikidata Knowledge GraphIoan Toma
 
Eclipse RDF4J - Working with RDF in Java
Eclipse RDF4J - Working with RDF in JavaEclipse RDF4J - Working with RDF in Java
Eclipse RDF4J - Working with RDF in JavaJeen Broekstra
 
Benchmarking RDF Metadata Representations: Reification, Singleton Property an...
Benchmarking RDF Metadata Representations: Reification, Singleton Property an...Benchmarking RDF Metadata Representations: Reification, Singleton Property an...
Benchmarking RDF Metadata Representations: Reification, Singleton Property an...Fabrizio Orlandi
 
Beyond 2022 project presentation 2021
Beyond 2022 project presentation 2021Beyond 2022 project presentation 2021
Beyond 2022 project presentation 2021Fabrizio Orlandi
 
Slides semantic web and Drupal 7 NYCCamp 2012
Slides semantic web and Drupal 7 NYCCamp 2012Slides semantic web and Drupal 7 NYCCamp 2012
Slides semantic web and Drupal 7 NYCCamp 2012scorlosquet
 
CKANCon 2016 & IODC16
CKANCon 2016 & IODC16CKANCon 2016 & IODC16
CKANCon 2016 & IODC16Chengjen Lee
 
Customizing CKAN
Customizing CKANCustomizing CKAN
Customizing CKANOKCon2013
 
ckan 2.0 Introduction (20140618 updated)
ckan 2.0 Introduction (20140618 updated)ckan 2.0 Introduction (20140618 updated)
ckan 2.0 Introduction (20140618 updated)Chengjen Lee
 
The RDF Report Card: Beyond the Triple Count
The RDF Report Card: Beyond the Triple CountThe RDF Report Card: Beyond the Triple Count
The RDF Report Card: Beyond the Triple CountLeigh Dodds
 
LDP-DL: A language to define the design of Linked Data Platforms
LDP-DL: A language to define the design of Linked Data PlatformsLDP-DL: A language to define the design of Linked Data Platforms
LDP-DL: A language to define the design of Linked Data PlatformsMohammad Noorani Bakerally
 
Adventures in Linked Data Land (presentation by Richard Light)
Adventures in Linked Data Land (presentation by Richard Light)Adventures in Linked Data Land (presentation by Richard Light)
Adventures in Linked Data Land (presentation by Richard Light)jottevanger
 
The Power of Semantic Technologies to Explore Linked Open Data
The Power of Semantic Technologies to Explore Linked Open DataThe Power of Semantic Technologies to Explore Linked Open Data
The Power of Semantic Technologies to Explore Linked Open DataOntotext
 
ckan 2.0 Introduction (20140522 updated)
ckan 2.0 Introduction  (20140522 updated)ckan 2.0 Introduction  (20140522 updated)
ckan 2.0 Introduction (20140522 updated)Chengjen Lee
 
Redlink, The Data Linking API
Redlink, The Data Linking APIRedlink, The Data Linking API
Redlink, The Data Linking APISergio Fernández
 
The Semantic Web and Drupal 7 - Loja 2013
The Semantic Web and Drupal 7 - Loja 2013The Semantic Web and Drupal 7 - Loja 2013
The Semantic Web and Drupal 7 - Loja 2013scorlosquet
 
Lider Reference Model ld4lt session March, 3rd, 2015
Lider Reference Model ld4lt session  March, 3rd, 2015Lider Reference Model ld4lt session  March, 3rd, 2015
Lider Reference Model ld4lt session March, 3rd, 2015Sebastian Hellmann
 

Mais procurados (20)

Linked Media Management with Apache Marmotta
Linked Media Management with Apache MarmottaLinked Media Management with Apache Marmotta
Linked Media Management with Apache Marmotta
 
Enabling access to Linked Media with SPARQL-MM
Enabling access to Linked Media with SPARQL-MMEnabling access to Linked Media with SPARQL-MM
Enabling access to Linked Media with SPARQL-MM
 
Querying the Wikidata Knowledge Graph
Querying the Wikidata Knowledge GraphQuerying the Wikidata Knowledge Graph
Querying the Wikidata Knowledge Graph
 
Eclipse RDF4J - Working with RDF in Java
Eclipse RDF4J - Working with RDF in JavaEclipse RDF4J - Working with RDF in Java
Eclipse RDF4J - Working with RDF in Java
 
Benchmarking RDF Metadata Representations: Reification, Singleton Property an...
Benchmarking RDF Metadata Representations: Reification, Singleton Property an...Benchmarking RDF Metadata Representations: Reification, Singleton Property an...
Benchmarking RDF Metadata Representations: Reification, Singleton Property an...
 
Beyond 2022 project presentation 2021
Beyond 2022 project presentation 2021Beyond 2022 project presentation 2021
Beyond 2022 project presentation 2021
 
Slides semantic web and Drupal 7 NYCCamp 2012
Slides semantic web and Drupal 7 NYCCamp 2012Slides semantic web and Drupal 7 NYCCamp 2012
Slides semantic web and Drupal 7 NYCCamp 2012
 
CKANCon 2016 & IODC16
CKANCon 2016 & IODC16CKANCon 2016 & IODC16
CKANCon 2016 & IODC16
 
CKAN overview
CKAN overviewCKAN overview
CKAN overview
 
Customizing CKAN
Customizing CKANCustomizing CKAN
Customizing CKAN
 
ckan 2.0 Introduction (20140618 updated)
ckan 2.0 Introduction (20140618 updated)ckan 2.0 Introduction (20140618 updated)
ckan 2.0 Introduction (20140618 updated)
 
The RDF Report Card: Beyond the Triple Count
The RDF Report Card: Beyond the Triple CountThe RDF Report Card: Beyond the Triple Count
The RDF Report Card: Beyond the Triple Count
 
LDP-DL: A language to define the design of Linked Data Platforms
LDP-DL: A language to define the design of Linked Data PlatformsLDP-DL: A language to define the design of Linked Data Platforms
LDP-DL: A language to define the design of Linked Data Platforms
 
Adventures in Linked Data Land (presentation by Richard Light)
Adventures in Linked Data Land (presentation by Richard Light)Adventures in Linked Data Land (presentation by Richard Light)
Adventures in Linked Data Land (presentation by Richard Light)
 
Semantic Web talk TEMPLATE
Semantic Web talk TEMPLATESemantic Web talk TEMPLATE
Semantic Web talk TEMPLATE
 
The Power of Semantic Technologies to Explore Linked Open Data
The Power of Semantic Technologies to Explore Linked Open DataThe Power of Semantic Technologies to Explore Linked Open Data
The Power of Semantic Technologies to Explore Linked Open Data
 
ckan 2.0 Introduction (20140522 updated)
ckan 2.0 Introduction  (20140522 updated)ckan 2.0 Introduction  (20140522 updated)
ckan 2.0 Introduction (20140522 updated)
 
Redlink, The Data Linking API
Redlink, The Data Linking APIRedlink, The Data Linking API
Redlink, The Data Linking API
 
The Semantic Web and Drupal 7 - Loja 2013
The Semantic Web and Drupal 7 - Loja 2013The Semantic Web and Drupal 7 - Loja 2013
The Semantic Web and Drupal 7 - Loja 2013
 
Lider Reference Model ld4lt session March, 3rd, 2015
Lider Reference Model ld4lt session  March, 3rd, 2015Lider Reference Model ld4lt session  March, 3rd, 2015
Lider Reference Model ld4lt session March, 3rd, 2015
 

Destaque

If You Have The Content, Then Apache Has The Technology!
If You Have The Content, Then Apache Has The Technology!If You Have The Content, Then Apache Has The Technology!
If You Have The Content, Then Apache Has The Technology!gagravarr
 
Linked Media and Data Using Apache Marmotta
Linked Media and Data Using Apache MarmottaLinked Media and Data Using Apache Marmotta
Linked Media and Data Using Apache MarmottaSebastian Schaffert
 
LESS - Template-based Syndication and Presentation of Linked Data for End-users
LESS - Template-based Syndication and Presentation of Linked Data for End-usersLESS - Template-based Syndication and Presentation of Linked Data for End-users
LESS - Template-based Syndication and Presentation of Linked Data for End-usersSören Auer
 
(Enterprise) Linked Data Platform a new standard to manage LOD
(Enterprise) Linked Data Platform a new standard to manage LOD(Enterprise) Linked Data Platform a new standard to manage LOD
(Enterprise) Linked Data Platform a new standard to manage LODDiego Valerio Camarda
 
Introduction to Linked Data Platform (LDP)
Introduction to Linked Data Platform (LDP)Introduction to Linked Data Platform (LDP)
Introduction to Linked Data Platform (LDP)Hector Correa
 
Linked Data Platform as a novel approach for Enterprise Application Integra...
Linked Data Platform as a novel approach for Enterprise Application Integra...Linked Data Platform as a novel approach for Enterprise Application Integra...
Linked Data Platform as a novel approach for Enterprise Application Integra...Nandana Mihindukulasooriya
 
LDP Presentation
LDP PresentationLDP Presentation
LDP Presentationhayelikahn
 
GeoServer an introduction for beginners
GeoServer an introduction for beginnersGeoServer an introduction for beginners
GeoServer an introduction for beginnersGeoSolutions
 
Learning W3C Linked Data Platform with examples
Learning W3C Linked Data Platform with examplesLearning W3C Linked Data Platform with examples
Learning W3C Linked Data Platform with examplesNandana Mihindukulasooriya
 
Why do they call it Linked Data when they want to say...?
Why do they call it Linked Data when they want to say...?Why do they call it Linked Data when they want to say...?
Why do they call it Linked Data when they want to say...?Oscar Corcho
 
Usage of Linked Data: Introduction and Application Scenarios
Usage of Linked Data: Introduction and Application ScenariosUsage of Linked Data: Introduction and Application Scenarios
Usage of Linked Data: Introduction and Application ScenariosEUCLID project
 

Destaque (14)

If You Have The Content, Then Apache Has The Technology!
If You Have The Content, Then Apache Has The Technology!If You Have The Content, Then Apache Has The Technology!
If You Have The Content, Then Apache Has The Technology!
 
Apache marmotta
Apache marmottaApache marmotta
Apache marmotta
 
Linked Media and Data Using Apache Marmotta
Linked Media and Data Using Apache MarmottaLinked Media and Data Using Apache Marmotta
Linked Media and Data Using Apache Marmotta
 
LESS - Template-based Syndication and Presentation of Linked Data for End-users
LESS - Template-based Syndication and Presentation of Linked Data for End-usersLESS - Template-based Syndication and Presentation of Linked Data for End-users
LESS - Template-based Syndication and Presentation of Linked Data for End-users
 
(Enterprise) Linked Data Platform a new standard to manage LOD
(Enterprise) Linked Data Platform a new standard to manage LOD(Enterprise) Linked Data Platform a new standard to manage LOD
(Enterprise) Linked Data Platform a new standard to manage LOD
 
Introduction to Linked Data Platform (LDP)
Introduction to Linked Data Platform (LDP)Introduction to Linked Data Platform (LDP)
Introduction to Linked Data Platform (LDP)
 
Linked Data Platform as a novel approach for Enterprise Application Integra...
Linked Data Platform as a novel approach for Enterprise Application Integra...Linked Data Platform as a novel approach for Enterprise Application Integra...
Linked Data Platform as a novel approach for Enterprise Application Integra...
 
LDP Presentation
LDP PresentationLDP Presentation
LDP Presentation
 
GeoServer an introduction for beginners
GeoServer an introduction for beginnersGeoServer an introduction for beginners
GeoServer an introduction for beginners
 
Learning W3C Linked Data Platform with examples
Learning W3C Linked Data Platform with examplesLearning W3C Linked Data Platform with examples
Learning W3C Linked Data Platform with examples
 
Why do they call it Linked Data when they want to say...?
Why do they call it Linked Data when they want to say...?Why do they call it Linked Data when they want to say...?
Why do they call it Linked Data when they want to say...?
 
Querying Linked Data
Querying Linked DataQuerying Linked Data
Querying Linked Data
 
Introduction to W3C Linked Data Platform
Introduction to W3C Linked Data PlatformIntroduction to W3C Linked Data Platform
Introduction to W3C Linked Data Platform
 
Usage of Linked Data: Introduction and Application Scenarios
Usage of Linked Data: Introduction and Application ScenariosUsage of Linked Data: Introduction and Application Scenarios
Usage of Linked Data: Introduction and Application Scenarios
 

Semelhante a Geospatial Querying in Apache Marmotta - Apache Big Data North America 2016

Apache spark - History and market overview
Apache spark - History and market overviewApache spark - History and market overview
Apache spark - History and market overviewMartin Zapletal
 
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 StoresKostis Kyzirakos
 
Facete - Exploring the web of spatial data with facete
Facete - Exploring the web of spatial data with faceteFacete - Exploring the web of spatial data with facete
Facete - Exploring the web of spatial data with facetegeoknow
 
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-phiweek19ExtremeEarth
 
Producing, publishing and consuming linked data - CSHALS 2013
Producing, publishing and consuming linked data - CSHALS 2013Producing, publishing and consuming linked data - CSHALS 2013
Producing, publishing and consuming linked data - CSHALS 2013François Belleau
 
Graph Gurus Episode 1: Enterprise Graph
Graph Gurus Episode 1: Enterprise GraphGraph Gurus Episode 1: Enterprise Graph
Graph Gurus Episode 1: Enterprise GraphTigerGraph
 
Sesam4 project presentation sparql - april 2011
Sesam4   project presentation sparql - april 2011Sesam4   project presentation sparql - april 2011
Sesam4 project presentation sparql - april 2011sesam4able
 
Sesam4 project presentation sparql - april 2011
Sesam4   project presentation sparql - april 2011Sesam4   project presentation sparql - april 2011
Sesam4 project presentation sparql - april 2011Robert Engels
 
How Apache Spark fits into the Big Data landscape
How Apache Spark fits into the Big Data landscapeHow Apache Spark fits into the Big Data landscape
How Apache Spark fits into the Big Data landscapePaco Nathan
 
Going for GOLD - Adventures in Open Linked Geospatial Metadata
Going for GOLD - Adventures in Open Linked Geospatial MetadataGoing for GOLD - Adventures in Open Linked Geospatial Metadata
Going for GOLD - Adventures in Open Linked Geospatial MetadataEDINA, University of Edinburgh
 
Triplificating and linking XBRL financial data
Triplificating and linking XBRL financial dataTriplificating and linking XBRL financial data
Triplificating and linking XBRL financial dataRoberto García
 
Graph databases & data integration - the case of RDF
Graph databases & data integration - the case of RDFGraph databases & data integration - the case of RDF
Graph databases & data integration - the case of RDFDimitris Kontokostas
 
Semantic Web
Semantic WebSemantic Web
Semantic Webhardchiu
 
A year on the Semantic Web @ W3C
A year on the Semantic Web @ W3CA year on the Semantic Web @ W3C
A year on the Semantic Web @ W3CIvan Herman
 
State of the Semantic Web
State of the Semantic WebState of the Semantic Web
State of the Semantic WebIvan Herman
 
Querying the Wikidata Knowledge Graph
Querying the Wikidata Knowledge GraphQuerying the Wikidata Knowledge Graph
Querying the Wikidata Knowledge GraphLDBC council
 
Linking the world with Python and Semantics
Linking the world with Python and SemanticsLinking the world with Python and Semantics
Linking the world with Python and SemanticsTatiana Al-Chueyr
 
VALA Tech Camp 2017: Intro to Wikidata & SPARQL
VALA Tech Camp 2017: Intro to Wikidata & SPARQLVALA Tech Camp 2017: Intro to Wikidata & SPARQL
VALA Tech Camp 2017: Intro to Wikidata & SPARQLJane Frazier
 

Semelhante a Geospatial Querying in Apache Marmotta - Apache Big Data North America 2016 (20)

Apache spark - History and market overview
Apache spark - History and market overviewApache spark - History and market overview
Apache spark - History and market overview
 
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
 
Facete - Exploring the web of spatial data with facete
Facete - Exploring the web of spatial data with faceteFacete - Exploring the web of spatial data with facete
Facete - Exploring the web of spatial data with facete
 
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
 
Producing, publishing and consuming linked data - CSHALS 2013
Producing, publishing and consuming linked data - CSHALS 2013Producing, publishing and consuming linked data - CSHALS 2013
Producing, publishing and consuming linked data - CSHALS 2013
 
Graph Gurus Episode 1: Enterprise Graph
Graph Gurus Episode 1: Enterprise GraphGraph Gurus Episode 1: Enterprise Graph
Graph Gurus Episode 1: Enterprise Graph
 
Sesam4 project presentation sparql - april 2011
Sesam4   project presentation sparql - april 2011Sesam4   project presentation sparql - april 2011
Sesam4 project presentation sparql - april 2011
 
Sesam4 project presentation sparql - april 2011
Sesam4   project presentation sparql - april 2011Sesam4   project presentation sparql - april 2011
Sesam4 project presentation sparql - april 2011
 
GeoLinkedData
GeoLinkedDataGeoLinkedData
GeoLinkedData
 
Phd defense slides
Phd defense slidesPhd defense slides
Phd defense slides
 
How Apache Spark fits into the Big Data landscape
How Apache Spark fits into the Big Data landscapeHow Apache Spark fits into the Big Data landscape
How Apache Spark fits into the Big Data landscape
 
Going for GOLD - Adventures in Open Linked Geospatial Metadata
Going for GOLD - Adventures in Open Linked Geospatial MetadataGoing for GOLD - Adventures in Open Linked Geospatial Metadata
Going for GOLD - Adventures in Open Linked Geospatial Metadata
 
Triplificating and linking XBRL financial data
Triplificating and linking XBRL financial dataTriplificating and linking XBRL financial data
Triplificating and linking XBRL financial data
 
Graph databases & data integration - the case of RDF
Graph databases & data integration - the case of RDFGraph databases & data integration - the case of RDF
Graph databases & data integration - the case of RDF
 
Semantic Web
Semantic WebSemantic Web
Semantic Web
 
A year on the Semantic Web @ W3C
A year on the Semantic Web @ W3CA year on the Semantic Web @ W3C
A year on the Semantic Web @ W3C
 
State of the Semantic Web
State of the Semantic WebState of the Semantic Web
State of the Semantic Web
 
Querying the Wikidata Knowledge Graph
Querying the Wikidata Knowledge GraphQuerying the Wikidata Knowledge Graph
Querying the Wikidata Knowledge Graph
 
Linking the world with Python and Semantics
Linking the world with Python and SemanticsLinking the world with Python and Semantics
Linking the world with Python and Semantics
 
VALA Tech Camp 2017: Intro to Wikidata & SPARQL
VALA Tech Camp 2017: Intro to Wikidata & SPARQLVALA Tech Camp 2017: Intro to Wikidata & SPARQL
VALA Tech Camp 2017: Intro to Wikidata & SPARQL
 

Mais de Sergio Fernández

Software architecting at scale, a practical walkthrough
Software architecting at scale, a practical walkthroughSoftware architecting at scale, a practical walkthrough
Software architecting at scale, a practical walkthroughSergio Fernández
 
Trends in software architecture: a professional (des)orientation
Trends in software architecture: a professional (des)orientationTrends in software architecture: a professional (des)orientation
Trends in software architecture: a professional (des)orientationSergio Fernández
 
Introduction to Apache Beam (incubating) - DataCamp Salzburg - 7 dec 2016
Introduction to Apache Beam (incubating) - DataCamp Salzburg - 7 dec 2016Introduction to Apache Beam (incubating) - DataCamp Salzburg - 7 dec 2016
Introduction to Apache Beam (incubating) - DataCamp Salzburg - 7 dec 2016Sergio Fernández
 
Moven - Apache Big Data Europe 2016 - SSIX Project
Moven - Apache Big Data Europe 2016 - SSIX ProjectMoven - Apache Big Data Europe 2016 - SSIX Project
Moven - Apache Big Data Europe 2016 - SSIX ProjectSergio Fernández
 
Presentation of GSoC 2016 at Fachhochschule Salzburg
Presentation of GSoC 2016 at Fachhochschule SalzburgPresentation of GSoC 2016 at Fachhochschule Salzburg
Presentation of GSoC 2016 at Fachhochschule SalzburgSergio Fernández
 
Linked Data track at ApacheCon Europe 2014
Linked Data track at ApacheCon Europe 2014Linked Data track at ApacheCon Europe 2014
Linked Data track at ApacheCon Europe 2014Sergio Fernández
 
Towards a Commons RDF Java library
Towards a Commons RDF Java libraryTowards a Commons RDF Java library
Towards a Commons RDF Java librarySergio Fernández
 
GET / LDP/1.0; 500 Internal Server Error
GET / LDP/1.0; 500 Internal Server ErrorGET / LDP/1.0; 500 Internal Server Error
GET / LDP/1.0; 500 Internal Server ErrorSergio Fernández
 
MICO Development Infrastructure
MICO Development InfrastructureMICO Development Infrastructure
MICO Development InfrastructureSergio Fernández
 
Incubating Apache Linda (ApacheCon Europe 2012)
Incubating Apache Linda (ApacheCon Europe 2012)Incubating Apache Linda (ApacheCon Europe 2012)
Incubating Apache Linda (ApacheCon Europe 2012)Sergio Fernández
 
Barra libre en proyectos de software... pero sólo hasta media noche
Barra libre en proyectos de software... pero sólo hasta media noche Barra libre en proyectos de software... pero sólo hasta media noche
Barra libre en proyectos de software... pero sólo hasta media noche Sergio Fernández
 
trioo, estudio e implementación de modelos de datos RDF en lenguajes orientad...
trioo, estudio e implementación de modelos de datos RDF en lenguajes orientad...trioo, estudio e implementación de modelos de datos RDF en lenguajes orientad...
trioo, estudio e implementación de modelos de datos RDF en lenguajes orientad...Sergio Fernández
 
TRIOO, Keeping the Semantics of Data Safe and Sound into Object-Oriented Soft...
TRIOO, Keeping the Semantics of Data Safe and Sound into Object-Oriented Soft...TRIOO, Keeping the Semantics of Data Safe and Sound into Object-Oriented Soft...
TRIOO, Keeping the Semantics of Data Safe and Sound into Object-Oriented Soft...Sergio Fernández
 
Desarrollo Libre de Proyectos
Desarrollo Libre de ProyectosDesarrollo Libre de Proyectos
Desarrollo Libre de ProyectosSergio Fernández
 
SWAML, publicación de listas de correo
SWAML, publicación de listas de correoSWAML, publicación de listas de correo
SWAML, publicación de listas de correoSergio Fernández
 
Mailing lists meet the Semantic Web
Mailing lists meet the Semantic WebMailing lists meet the Semantic Web
Mailing lists meet the Semantic WebSergio Fernández
 
eZaragoza, a tourist promotional mashup
eZaragoza, a tourist promotional mashupeZaragoza, a tourist promotional mashup
eZaragoza, a tourist promotional mashupSergio Fernández
 

Mais de Sergio Fernández (20)

Software architecting at scale, a practical walkthrough
Software architecting at scale, a practical walkthroughSoftware architecting at scale, a practical walkthrough
Software architecting at scale, a practical walkthrough
 
Trends in software architecture: a professional (des)orientation
Trends in software architecture: a professional (des)orientationTrends in software architecture: a professional (des)orientation
Trends in software architecture: a professional (des)orientation
 
Introduction to Apache Beam (incubating) - DataCamp Salzburg - 7 dec 2016
Introduction to Apache Beam (incubating) - DataCamp Salzburg - 7 dec 2016Introduction to Apache Beam (incubating) - DataCamp Salzburg - 7 dec 2016
Introduction to Apache Beam (incubating) - DataCamp Salzburg - 7 dec 2016
 
Moven - Apache Big Data Europe 2016 - SSIX Project
Moven - Apache Big Data Europe 2016 - SSIX ProjectMoven - Apache Big Data Europe 2016 - SSIX Project
Moven - Apache Big Data Europe 2016 - SSIX Project
 
Presentation of GSoC 2016 at Fachhochschule Salzburg
Presentation of GSoC 2016 at Fachhochschule SalzburgPresentation of GSoC 2016 at Fachhochschule Salzburg
Presentation of GSoC 2016 at Fachhochschule Salzburg
 
Linked Data track at ApacheCon Europe 2014
Linked Data track at ApacheCon Europe 2014Linked Data track at ApacheCon Europe 2014
Linked Data track at ApacheCon Europe 2014
 
Towards a Commons RDF Java library
Towards a Commons RDF Java libraryTowards a Commons RDF Java library
Towards a Commons RDF Java library
 
GET / LDP/1.0; 500 Internal Server Error
GET / LDP/1.0; 500 Internal Server ErrorGET / LDP/1.0; 500 Internal Server Error
GET / LDP/1.0; 500 Internal Server Error
 
Redfine
RedfineRedfine
Redfine
 
MICO Development Infrastructure
MICO Development InfrastructureMICO Development Infrastructure
MICO Development Infrastructure
 
Incubating Apache Linda (ApacheCon Europe 2012)
Incubating Apache Linda (ApacheCon Europe 2012)Incubating Apache Linda (ApacheCon Europe 2012)
Incubating Apache Linda (ApacheCon Europe 2012)
 
Barra libre en proyectos de software... pero sólo hasta media noche
Barra libre en proyectos de software... pero sólo hasta media noche Barra libre en proyectos de software... pero sólo hasta media noche
Barra libre en proyectos de software... pero sólo hasta media noche
 
Demos CTIC
Demos CTICDemos CTIC
Demos CTIC
 
trioo, estudio e implementación de modelos de datos RDF en lenguajes orientad...
trioo, estudio e implementación de modelos de datos RDF en lenguajes orientad...trioo, estudio e implementación de modelos de datos RDF en lenguajes orientad...
trioo, estudio e implementación de modelos de datos RDF en lenguajes orientad...
 
TRIOO, Keeping the Semantics of Data Safe and Sound into Object-Oriented Soft...
TRIOO, Keeping the Semantics of Data Safe and Sound into Object-Oriented Soft...TRIOO, Keeping the Semantics of Data Safe and Sound into Object-Oriented Soft...
TRIOO, Keeping the Semantics of Data Safe and Sound into Object-Oriented Soft...
 
Desarrollo Libre de Proyectos
Desarrollo Libre de ProyectosDesarrollo Libre de Proyectos
Desarrollo Libre de Proyectos
 
SWAML, publicación de listas de correo
SWAML, publicación de listas de correoSWAML, publicación de listas de correo
SWAML, publicación de listas de correo
 
Mailing lists meet the Semantic Web
Mailing lists meet the Semantic WebMailing lists meet the Semantic Web
Mailing lists meet the Semantic Web
 
20061220 pfc-swaml
20061220 pfc-swaml20061220 pfc-swaml
20061220 pfc-swaml
 
eZaragoza, a tourist promotional mashup
eZaragoza, a tourist promotional mashupeZaragoza, a tourist promotional mashup
eZaragoza, a tourist promotional mashup
 

Último

lifi-technology with integration of IOT.pptx
lifi-technology with integration of IOT.pptxlifi-technology with integration of IOT.pptx
lifi-technology with integration of IOT.pptxsomshekarkn64
 
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube ExchangerStudy on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube ExchangerAnamika Sarkar
 
Indian Dairy Industry Present Status and.ppt
Indian Dairy Industry Present Status and.pptIndian Dairy Industry Present Status and.ppt
Indian Dairy Industry Present Status and.pptMadan Karki
 
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdfCCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdfAsst.prof M.Gokilavani
 
US Department of Education FAFSA Week of Action
US Department of Education FAFSA Week of ActionUS Department of Education FAFSA Week of Action
US Department of Education FAFSA Week of ActionMebane Rash
 
Introduction-To-Agricultural-Surveillance-Rover.pptx
Introduction-To-Agricultural-Surveillance-Rover.pptxIntroduction-To-Agricultural-Surveillance-Rover.pptx
Introduction-To-Agricultural-Surveillance-Rover.pptxk795866
 
Sachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
Sachpazis Costas: Geotechnical Engineering: A student's Perspective IntroductionSachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
Sachpazis Costas: Geotechnical Engineering: A student's Perspective IntroductionDr.Costas Sachpazis
 
Risk Assessment For Installation of Drainage Pipes.pdf
Risk Assessment For Installation of Drainage Pipes.pdfRisk Assessment For Installation of Drainage Pipes.pdf
Risk Assessment For Installation of Drainage Pipes.pdfROCENODodongVILLACER
 
Piping Basic stress analysis by engineering
Piping Basic stress analysis by engineeringPiping Basic stress analysis by engineering
Piping Basic stress analysis by engineeringJuanCarlosMorales19600
 
Call Us ≽ 8377877756 ≼ Call Girls In Shastri Nagar (Delhi)
Call Us ≽ 8377877756 ≼ Call Girls In Shastri Nagar (Delhi)Call Us ≽ 8377877756 ≼ Call Girls In Shastri Nagar (Delhi)
Call Us ≽ 8377877756 ≼ Call Girls In Shastri Nagar (Delhi)dollysharma2066
 
Unit7-DC_Motors nkkjnsdkfnfcdfknfdgfggfg
Unit7-DC_Motors nkkjnsdkfnfcdfknfdgfggfgUnit7-DC_Motors nkkjnsdkfnfcdfknfdgfggfg
Unit7-DC_Motors nkkjnsdkfnfcdfknfdgfggfgsaravananr517913
 
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort serviceGurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort servicejennyeacort
 
An experimental study in using natural admixture as an alternative for chemic...
An experimental study in using natural admixture as an alternative for chemic...An experimental study in using natural admixture as an alternative for chemic...
An experimental study in using natural admixture as an alternative for chemic...Chandu841456
 
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdfCCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdfAsst.prof M.Gokilavani
 
CCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdf
CCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdfCCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdf
CCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdfAsst.prof M.Gokilavani
 
Call Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile serviceCall Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile servicerehmti665
 
Instrumentation, measurement and control of bio process parameters ( Temperat...
Instrumentation, measurement and control of bio process parameters ( Temperat...Instrumentation, measurement and control of bio process parameters ( Temperat...
Instrumentation, measurement and control of bio process parameters ( Temperat...121011101441
 
Electronically Controlled suspensions system .pdf
Electronically Controlled suspensions system .pdfElectronically Controlled suspensions system .pdf
Electronically Controlled suspensions system .pdfme23b1001
 
Correctly Loading Incremental Data at Scale
Correctly Loading Incremental Data at ScaleCorrectly Loading Incremental Data at Scale
Correctly Loading Incremental Data at ScaleAlluxio, Inc.
 

Último (20)

lifi-technology with integration of IOT.pptx
lifi-technology with integration of IOT.pptxlifi-technology with integration of IOT.pptx
lifi-technology with integration of IOT.pptx
 
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube ExchangerStudy on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
 
Indian Dairy Industry Present Status and.ppt
Indian Dairy Industry Present Status and.pptIndian Dairy Industry Present Status and.ppt
Indian Dairy Industry Present Status and.ppt
 
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdfCCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
 
US Department of Education FAFSA Week of Action
US Department of Education FAFSA Week of ActionUS Department of Education FAFSA Week of Action
US Department of Education FAFSA Week of Action
 
Introduction-To-Agricultural-Surveillance-Rover.pptx
Introduction-To-Agricultural-Surveillance-Rover.pptxIntroduction-To-Agricultural-Surveillance-Rover.pptx
Introduction-To-Agricultural-Surveillance-Rover.pptx
 
Sachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
Sachpazis Costas: Geotechnical Engineering: A student's Perspective IntroductionSachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
Sachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
 
Risk Assessment For Installation of Drainage Pipes.pdf
Risk Assessment For Installation of Drainage Pipes.pdfRisk Assessment For Installation of Drainage Pipes.pdf
Risk Assessment For Installation of Drainage Pipes.pdf
 
Piping Basic stress analysis by engineering
Piping Basic stress analysis by engineeringPiping Basic stress analysis by engineering
Piping Basic stress analysis by engineering
 
Call Us ≽ 8377877756 ≼ Call Girls In Shastri Nagar (Delhi)
Call Us ≽ 8377877756 ≼ Call Girls In Shastri Nagar (Delhi)Call Us ≽ 8377877756 ≼ Call Girls In Shastri Nagar (Delhi)
Call Us ≽ 8377877756 ≼ Call Girls In Shastri Nagar (Delhi)
 
Unit7-DC_Motors nkkjnsdkfnfcdfknfdgfggfg
Unit7-DC_Motors nkkjnsdkfnfcdfknfdgfggfgUnit7-DC_Motors nkkjnsdkfnfcdfknfdgfggfg
Unit7-DC_Motors nkkjnsdkfnfcdfknfdgfggfg
 
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort serviceGurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
 
An experimental study in using natural admixture as an alternative for chemic...
An experimental study in using natural admixture as an alternative for chemic...An experimental study in using natural admixture as an alternative for chemic...
An experimental study in using natural admixture as an alternative for chemic...
 
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdfCCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
 
CCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdf
CCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdfCCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdf
CCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdf
 
Call Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile serviceCall Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile service
 
🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...
🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...
🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...
 
Instrumentation, measurement and control of bio process parameters ( Temperat...
Instrumentation, measurement and control of bio process parameters ( Temperat...Instrumentation, measurement and control of bio process parameters ( Temperat...
Instrumentation, measurement and control of bio process parameters ( Temperat...
 
Electronically Controlled suspensions system .pdf
Electronically Controlled suspensions system .pdfElectronically Controlled suspensions system .pdf
Electronically Controlled suspensions system .pdf
 
Correctly Loading Incremental Data at Scale
Correctly Loading Incremental Data at ScaleCorrectly Loading Incremental Data at Scale
Correctly Loading Incremental Data at Scale
 

Geospatial Querying in Apache Marmotta - Apache Big Data North America 2016

  • 1. Sergio Fernández (Redlink GmbH) Apache Big Data North America 2016 Vancouver, May 11th 2016 Geospatial Querying in Apache Marmotta
  • 2. Partner Technology Manager at Redlink GmbH also… External Lecturer at Fachhochschule Salzburg Member of The Apache Software Foundation Sergio Fernández @wikier https://linkedin.com/in/sergiofernandez https://www.wikier.org
  • 4. What is Apache Marmotta? ● An Open Platform for Linked Data, an open implementation of a Linked Data Platform that can be easily used, extended and deployed by organizations who want to publish Linked Data or build custom applications on Linked Data. ● Key features: ○ Read-Write Linked Data server ○ RDF triple store with transactions, versioning and rule- base reasoning ○ LDP, SPARQL and LDPath querying ○ Transparent Linked Data caching
  • 5. What is Linked Data? ● The Semantic Web is a Web of Data ● Semantic Web technologies (RDF, OWL, SKOS, SPARQL, etc.) provide an environment where applications can query that data, draw inferences using vocabularies, etc. ● Linked Data lies at the heart of what Semantic Web is all about: large scale integration of, and reasoning on, data on the Web. ● A typical case of a large Linked Dataset is DBPedia, which, essentially, makes the content of Wikipedia available as Linked Data.
  • 6. What is RDF? ● The Resource Description Framework (RDF) is a family of World Wide Web Consortium (W3C) specifications originally designed as a metadata data model. ● RDF is directed labeled graph, where: ○ nodes are resources; ○ edges represent the named links between two resources; ○ the composition of one resource (subject) linked (with a predicate) to another (object) is known as "RDF triple"; ○ a set of triples form a RDF graph.
  • 7. Querying in Marmotta Currently Marmotta provides three main means of querying: ● LDP 1.0 (Linked Data Platform), ○ a W3C protocol based on HTTP for managing Linked Data resources ○ https://www.w3.org/TR/ldp/ ● SPARQL 1.1 (SPARQL Protocol and RDF Query Language) ○ a W3C RDF query language and protocol ○ https://www.w3.org/TR/sparql11-query/ ● LDPath ○ a path language for Linked Data, similar to XPath for XML ○ https://marmotta.apache.org/ldpath/language
  • 8. GeoSPARQL ● The OGC GeoSPARQL standard supports representing and querying geospatial data on the Semantic Web. ● GeoSPARQL defines a vocabulary for representing geospatial data in RDF, and a SPARQL extension for processing geospatial data. ● It makes use of both WKT (Well Known Text) and GML for representing geometries as literals.
  • 9. GeoSPARQL Ontology Spatial Object GeometryFeature There are three key classes in the GeoSPARQL ontology: ● geo:SpatialObject ○ a superclass of both Features and Geometries; ● geo:Feature ○ a thing that can have a spatial location; e.g., a park; ● geo:Geometry ○ a representation of a spatial location; i.e., a set of coordinates. geo:hasGeometry Namespace: http://www.opengis.net/ont/geosparql#
  • 11. GeoSPARQL implementation approaches Two approaches were mainly considered to implement GeoSPARQL: 1. Materialization ○ Pros: fast querying ○ Cons: materialization is computationally expensive , requires more more storage capacity and native operators 2. Query translation ○ Pros: direct comparison, optimal storage and no need of native operators ○ Cons: slow querying In Marmotta we decided to go for the first option.
  • 12. GeoSPARQL in Marmotta ● More precisely we should say "GeoSPARQL in KiWi" ○ KiWi is our triple store based on RDBMS ○ Marmotta also supports many other Sesame-based triple stores as backend ● Support implemented based on PostGIS for PostgreSQL ○ Support not available for other databases ● All further technical details available at the wiki: https://wiki.apache. org/marmotta/GSoC/2015/MARMOTTA-584 ● Documentation at http://marmotta.apache.org/kiwi/geosparql
  • 13. GeoSPARQL coverage Apache Marmotta 3.4.0(*) supports: ● Simple Features Topological Relations ● Egenhofer Topological Relations ● RCC8 Topological Relations ● Non-Topological Functions Better to check the documentation: https://wiki.apache. org/marmotta/GSoC/2015/MARMOTTA-584 (*) still under development at MARMOTTA-584 branch, to be released in the upcoming weeks
  • 14. GeoSPARQL example SELECT DISTINCT ?label WHERE { ?reg1 a geo:provincia ; rdfs:label "Madrid"@es ; geoes:hasExactGeometry ?geo1 . ?geo1 geo:asWKT ?wkt1 . ?reg2 a geo:municipio ; rdfs:label ?label ; geoes:hasExactGeometry ?geo2 . ?geo2 geo:asWKT ?wkt2 . FILTER (geof:sfContains(?wkt1, ?wkt2)) } ORDER BY ?label LIMIT 10 Simple query to get all geometries that are contained by other. Particularly this example queries for the first ten municipalities in the region of Madrid.
  • 15. GeoSPARQL example (II) SELECT DISTINCT ?label WHERE { ex:Austria a geo:Country ; rdfs:label "Austria"@en ; rdfs:label "Österreich"@de ; geoes:hasExactGeometry ?geo1 . ?geo1 geo:asWKT ?wkt1 . ?river a geo:River ; rdfs:label ?label ; geoes:hasExactGeometry ?geo2 . ?geo2 geo:asWKT ?wkt2 . FILTER (geof:sfTouches(?wkt1, ?wkt2)) } ORDER BY ?label Another query to get all geometries that are touch other. Particularly this example queries for the rivers that make borderline with Austria.
  • 16. GeoSPARQL example (III) SELECT DISTINCT ?label WHERE { ?route a geo:MTBRoute ; geoes:hasExactGeometry ?geo1 . ?geo1 geo:asWKT ?wkt1 . ?city a geo:City ; rdfs:label ?label ; geoes:hasExactGeometry ?geo2 . ?geo2 geo:asWKT ?wkt2 . FILTER ( geof:geof:sfCrosses(?wkt1, ?wkt2)) } ORDER BY ?label Another query to get all geometries that are crosses another. Particularly this example queries for all Mountain bike routes that cross a city.
  • 18. conclusions ● GeoSPARQL adds a very interesting features for query RDF data ● Requires no much new infrastructure, no performance footprint ● The most important feature in Marmotta 3.4.0 ● Cross-project collaboration within different Apache projects has shown an enormous potential
  • 19. Q&A
  • 21. The work presented here has been partially developed in the context of the TourPack project, partially funded the Austrian Research Promotion Agency (FFG) IKT der Zukunft program under grant agreement no. 845600. Thanks to the student Francisco Xavier Sumba Toral for contributing the initial GeoSPARQL implementation as part of his project during the Google Summer of Code 2015. So thanks to Google for such awesome open source program! Acknowledgements Thanks to Apache TAC for supporting me travelling to Vancouver.