SlideShare a Scribd company logo
1 of 35
Download to read offline
Linked Data Query Processing
Tutorial at the 22nd International World Wide Web Conference (WWW 2013)
May 14, 2013
http://db.uwaterloo.ca/LDQTut2013/
2.
Theoretical Foundations
Olaf Hartig
University of Waterloo
WWW 2013 Tutorial on Linked Data Query Processing [ Theoretical Foundations ] 2
● Data retrieval approach
● Data source selection
● Data source ranking
(optional, for optimization)
Query-local data
GET http://.../movie2449
● Result construction approach
● i.e., query-local data processing
● Combining data retrieval
and result construction
http://mdb.../Paul http://geo.../Berlin
http://mdb.../Ric http://geo.../Rome
?loc?actor
“Ingredients” for LD Query Execution
WWW 2013 Tutorial on Linked Data Query Processing [ Theoretical Foundations ] 3
Outline
 Basics of the SPARQL Query Language
 Data Model for Linked Data Queries
 Full-Web Query Semantics
➢ Definition
➢ Theoretical Properties
 Reachability-Based Query Semantics
➢ Definition
➢ Theoretical Properties
WWW 2013 Tutorial on Linked Data Query Processing [ Theoretical Foundations ] 4
General Idea of SPARQL
● SPARQL: Declarative query language for RDF data
● Main idea: pattern matching
● Query describes a pattern to be found in RDF data
● Basically, query patterns consist of RDF triples with variables
( ?p , affiliated with , orgaX ) ,
( ?p , interested in , ?i )
Basic Query Pattern:
WWW 2013 Tutorial on Linked Data Query Processing [ Theoretical Foundations ] 5
General Idea of SPARQL
● SPARQL: Declarative query language for RDF data
● Main idea: pattern matching
● Query describes a pattern to be found in RDF data
● Basically, query patterns consist of RDF triples with variables
● Any part of the queried data that matches the query pattern
contributes a solution to the query result
( ?p , affiliated with , orgaX ) ,
( ?p , interested in , ?i )
Basic Query Pattern:
( alice , affiliated with , orgaX ) ,
( bob , affiliated with , acme ) ,
( alice , interested in , yoga ) ,
( alice , interested in , tea ) ,
( bob , interested in , tea ) ,
Data:
?p ?i
alice yoga
alice tea
Query Result:
WWW 2013 Tutorial on Linked Data Query Processing [ Theoretical Foundations ] 6
Some Terminology
● Any query result is represented by a set of valuations
Ω = { μ1 , … , μn }
● Valuation: mapping of query variables to RDF terms
μ = { ?p → alice , ?i → yoga }
● Any valuation in a query result is a solution
● Two valuations μ1 and μ2 are compatible if they agree on
the binding for any shared variable
● i.e., μ1(?v) = μ2(?v) for all ?v Є dom(μ1) ∩ dom(μ2)
?p ?i
alice yoga
alice tea
WWW 2013 Tutorial on Linked Data Query Processing [ Theoretical Foundations ] 7
Query Patterns and their Semantics
● Triple pattern: An RDF triple that may have a variable as
subject, predicate, or object, respectively
●
eval( tp, G ) :═ { μ | μ[tp] Є G and dom(μ) = vars(tp) }
● Group graph pattern: Conjunction of two query patterns
●
eval( (P1 AND P2), G ) :═ { μ1 U μ2 | μ1 Є eval(P1,G) and
μ2 Є eval(P2,G) and
μ1 and μ2 are compatible }
● Associative and commutative
● Basic graph pattern (BGP): A set of triple patterns
● B = { tp1 , … , tpn } is equivalent to ( tp1 AND … AND tpn )
● Filter, union, optional, etc.
WWW 2013 Tutorial on Linked Data Query Processing [ Theoretical Foundations ] 8
Outline
 Basics of the SPARQL Query Language
 Data Model for Linked Data Queries
 Full-Web Query Semantics
➢ Definition
➢ Theoretical Properties
 Reachability-Based Query Semantics
➢ Definition
➢ Theoretical Properties
√
WWW 2013 Tutorial on Linked Data Query Processing [ Theoretical Foundations ] 9
Data Model
● Static view (i.e., no changes during computation)
● Web of Linked Data: W = ( D, adoc, data )
● D – set of symbols that represent Web documents
from which Linked Data can be extracted
● adoc – partial mapping from URIs to D
● data – total mapping from D to finite sets of RDF triples
●
All data in W: AllData(W) :═ Ud є D data(d)
D = adoc( ) = data( ) =
WWW 2013 Tutorial on Linked Data Query Processing [ Theoretical Foundations ] 10
Linked Data Query
Q(W)
WWW 2013 Tutorial on Linked Data Query Processing [ Theoretical Foundations ] 11
( ?p , affiliated with , orgaX ) ,
( ?p , interested in , ?i )
?p ?i
alice yoga
alice tea
QP
(W) = { μ1 , μ2 , ... }
SPARQL-Based Linked Data Query
WWW 2013 Tutorial on Linked Data Query Processing [ Theoretical Foundations ] 12
Outline
 Basics of the SPARQL Query Language
 Data Model for Linked Data Queries
 Full-Web Query Semantics
➢ Definition
➢ Theoretical Properties
 Reachability-Based Query Semantics
➢ Definition
➢ Theoretical Properties
√
√
WWW 2013 Tutorial on Linked Data Query Processing [ Theoretical Foundations ] 13
Full-Web Semantics
QP
(W) :═ eval(P,AllData(W))
WWW 2013 Tutorial on Linked Data Query Processing [ Theoretical Foundations ] 14
Computability
● (Ordinary) Turing machines
are unsuitable:
● Limited data access capabilities
not properly captured
● Web machines
● Abiteboul and Vianu, 1997
● Mendelzon and Milo, 1997
QP
(W) :═ eval(P,AllData(W))
TM
WWW 2013 Tutorial on Linked Data Query Processing [ Theoretical Foundations ] 15
LD Machine
● Multi-tape Turing machine
➔ Input
➔ Work
➔ Output
WWW 2013 Tutorial on Linked Data Query Processing [ Theoretical Foundations ] 16
LD Machine
# enc(u1) enc(adoc(u1)) # enc(u2) enc(adoc(u2)) # ∙ ∙ ∙
● Multi-tape Turing machine
➔ Web Input
➔ Input
➔ Work
➔ Output
WWW 2013 Tutorial on Linked Data Query Processing [ Theoretical Foundations ] 17
LD Machine
# enc(u1) enc(adoc(u1)) # enc(u2) enc(adoc(u2)) # ∙ ∙ ∙
● Multi-tape Turing machine
➔ Web Input
➔ Input
➔ Work
➔ Output
● Access to Web Input is restricted
● Only by performing
a particular procedure
in a particular state
WWW 2013 Tutorial on Linked Data Query Processing [ Theoretical Foundations ] 18
# enc(u1) enc(adoc(u1)) # enc(u2) enc(adoc(u2)) # ∙ ∙ ∙➔ Web Input
➔ Input
➔ Work
➔ Output
● For Q exists an LD machine MQ such that for any W holds:
● MQ halts after a finite number of computation steps, and
● MQ outputs the complete result Q(W)
Finitely Computable LD Queries
step 1 ∙ ∙ ∙ step k - 3 step k - 2 step k – 1 step k
∙ ∙ ∙
# enc(μ1) # enc(μ2) # ∙ ∙ ∙ # enc(μn) #
WWW 2013 Tutorial on Linked Data Query Processing [ Theoretical Foundations ] 19
Eventually Computable LD Queries
step
k + 2
∙ ∙ ∙∙ ∙ ∙
step
k - 3
step
k - 2
step
k - 1
step
k
step
k + 1
# enc(u1) enc(adoc(u1)) # enc(u2) enc(adoc(u2)) # ∙ ∙ ∙
# enc(μ1) # enc(μ2)
➔ Web Input
➔ Input
➔ Work
➔ Output
● For Q exists an LD machine MQ such that for any W holds:
1. Output always encodes a subset of query result Q(W), and
2. Each μ Q(W) eventually appears on the output
✗ No guarantee for termination
WWW 2013 Tutorial on Linked Data Query Processing [ Theoretical Foundations ] 20
Not (LD Machine) Computable
step
k + 2
∙ ∙ ∙∙ ∙ ∙
step
k - 3
step
k - 2
step
k - 1
step
k
step
k + 1
# enc(u1) enc(adoc(u1)) # enc(u2) enc(adoc(u2)) # ∙ ∙ ∙
# enc(μ1) # enc(μ2)
➔ Web Input
➔ Input
➔ Work
➔ Output
● For Q exists an LD machine MQ such that for any W holds:
1. Output always encodes a subset of query result Q(W), and
2. Each μ Q(W) eventually appears on the output
✗ No guarantee for termination
WWW 2013 Tutorial on Linked Data Query Processing [ Theoretical Foundations ] 21
Theorem [Har12]: If a satisfiable SPARQLLD query
QP
under full-Web semantics is monotonic, then it is
eventually computable (but not finitely computable);
otherwise, it is not even eventually computable.
Theorem [Har12]: If a satisfiable SPARQLLD query
QP
under full-Web semantics is monotonic, then it is
eventually computable (but not finitely computable);
otherwise, it is not even eventually computable.
● Main reason: Set of all URIs is infinite (but countable)
Computability (Full-Web Semantics)
QP
(W) :═ eval(P,AllData(W))
WWW 2013 Tutorial on Linked Data Query Processing [ Theoretical Foundations ] 22
Satisfiability and Monotonicity
Q( ) = { …, ri , … } ≠ Ø
⟹ Q( ) ⊆ Q( )
Proposition [Har12]: Let QP
be a SPARQLLD query under full-Web
semantics.
● QP
is satisfiable ⟺ its query pattern P is satisfiable
● QP
is monotonic ⟺ its query pattern P is monotonic
Proposition [Har12]: Let QP
be a SPARQLLD query under full-Web
semantics.
● QP
is satisfiable ⟺ its query pattern P is satisfiable
● QP
is monotonic ⟺ its query pattern P is monotonic
Unfortunately:
Satisfiability and
monotonicity of SPARQL
query patterns is undecidable
Satisfiability:
Monotonicity:
O
PT
tp
A
N
D
FILTER
U
N
IO
N
WWW 2013 Tutorial on Linked Data Query Processing [ Theoretical Foundations ] 23
Theorem [Har12]: If a satisfiable SPARQLLD query
QP
under full-Web semantics is monotonic, then it is
eventually computable (but not finitely computable);
otherwise, it is not even eventually computable.
Theorem [Har12]: If a satisfiable SPARQLLD query
QP
under full-Web semantics is monotonic, then it is
eventually computable (but not finitely computable);
otherwise, it is not even eventually computable.
● Main reason: Set of all URIs is infinite (but countable)
Computability (Full-Web Semantics)
QP
(W) :═ eval(P,AllData(W))
WWW 2013 Tutorial on Linked Data Query Processing [ Theoretical Foundations ] 24
Outline
 Basics of the SPARQL Query Language
 Data Model for Linked Data Queries
 Full-Web Query Semantics
➢ Definition
➢ Theoretical Properties
 Reachability-Based Query Semantics
➢ Definition
➢ Theoretical Properties
√
√
√
WWW 2013 Tutorial on Linked Data Query Processing [ Theoretical Foundations ] 25
Reachability-Based Query Semantics
WWW 2013 Tutorial on Linked Data Query Processing [ Theoretical Foundations ] 26
●
Seed URIs S ᑕ U
Reachability-Based Query Semantics
WWW 2013 Tutorial on Linked Data Query Processing [ Theoretical Foundations ] 27
●
Seed URIs S ᑕ U● Reachability criterion c
●
(Turing) computable function c: T ×U × P → {true,false}
Reachability-Based Query Semantics
WWW 2013 Tutorial on Linked Data Query Processing [ Theoretical Foundations ] 28
WQP,S
( ):= eval(P,AllData(W*
))c
Reachability-Based Query Semantics
WWW 2013 Tutorial on Linked Data Query Processing [ Theoretical Foundations ] 29
(Reachability-Based) cAll-Semantics
WQP,S
( ) eval(P,AllData(W*
))cAll
:=
WWW 2013 Tutorial on Linked Data Query Processing [ Theoretical Foundations ] 30
WQP,S
( ) eval(P,AllData(W*
))cNone
:=
(Reachability-Based) cNone-Semantics
WWW 2013 Tutorial on Linked Data Query Processing [ Theoretical Foundations ] 31
WQP,S
( ) eval(P,AllData(W*
))cMatch
:=
(Reachability-Based) cMatch-Semantics
WWW 2013 Tutorial on Linked Data Query Processing [ Theoretical Foundations ] 32
Satisfiability and Monotonicity
Q( ) = { …, ri , … } ≠ Ø
⟹ Q( ) ⊆ Q( )
Satisfiability:
Monotonicity:
Proposition [Har12]: Let c be a reachability criterion and QP
c
S
be a
SPARQLLD query under c-semantics.
● QP
c
S
is satisfiable ⟺ its SPARQL expression P is satisfiable
● QP
c
S
is monotonic ⇒ its SPARQL expression P is monotonic
Proposition [Har12]: Let c be a reachability criterion and QP
c
S
be a
SPARQLLD query under c-semantics.
● QP
c
S
is satisfiable ⟺ its SPARQL expression P is satisfiable
● QP
c
S
is monotonic ⇒ its SPARQL expression P is monotonic
Counterexample: Let QP
c
S
be a SPARQLLD query under c-semantics.
If c = cNone and |S| = 1, then QP
c
S
is monotonic.
Counterexample: Let QP
c
S
be a SPARQLLD query under c-semantics.
If c = cNone and |S| = 1, then QP
c
S
is monotonic.
WWW 2013 Tutorial on Linked Data Query Processing [ Theoretical Foundations ] 33
LD Machine-Based Computability
Theorem [Har12]: For any reachability criterion c, any
SPARQL based Linked Data query under c-semantics
is finitely computable.
Theorem [Har12]: For any reachability criterion c, any
SPARQL based Linked Data query under c-semantics
is finitely computable.
● If we restrict our data model such that Webs
of Linked Data are finite (i.e., consist of a finite
number of documents), then:
For results w.r.t. the unrestricted data model (i.e.,
Webs of Linked Data that may be infinitely large),
refer to [Har12].
WWW 2013 Tutorial on Linked Data Query Processing [ Theoretical Foundations ] 34
Outline
 Basics of the SPARQL Query Language
 Data Model for Linked Data Queries
 Full-Web Query Semantics
➢ Definition
➢ Theoretical Properties
 Reachability-Based Query Semantics
➢ Definition
➢ Theoretical Properties
√
√
√
√
Next part: 3. Source Selection Strategies ...
WWW 2013 Tutorial on Linked Data Query Processing [ Theoretical Foundations ] 35
These slides have been created by
Olaf Hartig
for the
WWW 2013 tutorial on
Link Data Query Processing
Tutorial Website: http://db.uwaterloo.ca/LDQTut2013/
This work is licensed under a
Creative Commons Attribution-Share Alike 3.0 License
(http://creativecommons.org/licenses/by-sa/3.0/)

More Related Content

What's hot

Clustering output of Apache Nutch using Apache Spark
Clustering output of Apache Nutch using Apache SparkClustering output of Apache Nutch using Apache Spark
Clustering output of Apache Nutch using Apache SparkThamme Gowda
 
eNanoMapper database, search tools and templates
eNanoMapper database, search tools and templateseNanoMapper database, search tools and templates
eNanoMapper database, search tools and templatesNina Jeliazkova
 
IEEE IRI 16 - Clustering Web Pages based on Structure and Style Similarity
IEEE IRI 16 - Clustering Web Pages based on Structure and Style SimilarityIEEE IRI 16 - Clustering Web Pages based on Structure and Style Similarity
IEEE IRI 16 - Clustering Web Pages based on Structure and Style SimilarityThamme Gowda
 
SF Python Meetup: TextRank in Python
SF Python Meetup: TextRank in PythonSF Python Meetup: TextRank in Python
SF Python Meetup: TextRank in PythonPaco Nathan
 
RDF-Gen: Generating RDF from streaming and archival data
RDF-Gen: Generating RDF from streaming and archival dataRDF-Gen: Generating RDF from streaming and archival data
RDF-Gen: Generating RDF from streaming and archival dataGiorgos Santipantakis
 
Querying the Web of Data
Querying the Web of DataQuerying the Web of Data
Querying the Web of DataRinke Hoekstra
 
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
 
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 webMahdi Atawneh
 
Interactive exploration of complex relational data sets in a web - SemWeb.Pro...
Interactive exploration of complex relational data sets in a web - SemWeb.Pro...Interactive exploration of complex relational data sets in a web - SemWeb.Pro...
Interactive exploration of complex relational data sets in a web - SemWeb.Pro...Logilab
 
UMLtoGraphDB: Mapping Conceptual Schemas to Graph Databases
UMLtoGraphDB: Mapping Conceptual Schemas to Graph DatabasesUMLtoGraphDB: Mapping Conceptual Schemas to Graph Databases
UMLtoGraphDB: Mapping Conceptual Schemas to Graph DatabasesGwendal Daniel
 
Achieving time effective federated information from scalable rdf data using s...
Achieving time effective federated information from scalable rdf data using s...Achieving time effective federated information from scalable rdf data using s...
Achieving time effective federated information from scalable rdf data using s...తేజ దండిభట్ల
 
The FLuID Meta Model: Incrementally Compute Schema-level Indices for the Web...
The FLuID Meta Model: Incrementally Compute  Schema-level Indices for the Web...The FLuID Meta Model: Incrementally Compute  Schema-level Indices for the Web...
The FLuID Meta Model: Incrementally Compute Schema-level Indices for the Web...Till Blume
 
2015 TaPP - Interoperability for Provenance-aware Databases using PROV and JSON
2015 TaPP - Interoperability for Provenance-aware Databases using PROV and JSON2015 TaPP - Interoperability for Provenance-aware Databases using PROV and JSON
2015 TaPP - Interoperability for Provenance-aware Databases using PROV and JSONBoris Glavic
 
Instance Matching
Instance Matching Instance Matching
Instance Matching Robert Isele
 
Flagis linked open_data_stijn_goedertier
Flagis linked open_data_stijn_goedertierFlagis linked open_data_stijn_goedertier
Flagis linked open_data_stijn_goedertierFlagis VZW
 
Getty Vocabulary Program LOD: Ontologies and Semantic Representation
Getty Vocabulary Program LOD: Ontologies and Semantic RepresentationGetty Vocabulary Program LOD: Ontologies and Semantic Representation
Getty Vocabulary Program LOD: Ontologies and Semantic RepresentationVladimir Alexiev, PhD, PMP
 
Automatic creation of mappings between classification systems
Automatic creation of mappings between classification systemsAutomatic creation of mappings between classification systems
Automatic creation of mappings between classification systemsMagnus Pfeffer
 
Semantic Variation Graphs the case for RDF & SPARQL
Semantic Variation Graphs the case for RDF & SPARQLSemantic Variation Graphs the case for RDF & SPARQL
Semantic Variation Graphs the case for RDF & SPARQLJerven Bolleman
 

What's hot (20)

Clustering output of Apache Nutch using Apache Spark
Clustering output of Apache Nutch using Apache SparkClustering output of Apache Nutch using Apache Spark
Clustering output of Apache Nutch using Apache Spark
 
Link Discovery Tutorial Introduction
Link Discovery Tutorial IntroductionLink Discovery Tutorial Introduction
Link Discovery Tutorial Introduction
 
4 sw architectures and sparql
4 sw architectures and sparql4 sw architectures and sparql
4 sw architectures and sparql
 
eNanoMapper database, search tools and templates
eNanoMapper database, search tools and templateseNanoMapper database, search tools and templates
eNanoMapper database, search tools and templates
 
IEEE IRI 16 - Clustering Web Pages based on Structure and Style Similarity
IEEE IRI 16 - Clustering Web Pages based on Structure and Style SimilarityIEEE IRI 16 - Clustering Web Pages based on Structure and Style Similarity
IEEE IRI 16 - Clustering Web Pages based on Structure and Style Similarity
 
SF Python Meetup: TextRank in Python
SF Python Meetup: TextRank in PythonSF Python Meetup: TextRank in Python
SF Python Meetup: TextRank in Python
 
RDF-Gen: Generating RDF from streaming and archival data
RDF-Gen: Generating RDF from streaming and archival dataRDF-Gen: Generating RDF from streaming and archival data
RDF-Gen: Generating RDF from streaming and archival data
 
Querying the Web of Data
Querying the Web of DataQuerying the Web of Data
Querying the Web of Data
 
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
 
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
 
Interactive exploration of complex relational data sets in a web - SemWeb.Pro...
Interactive exploration of complex relational data sets in a web - SemWeb.Pro...Interactive exploration of complex relational data sets in a web - SemWeb.Pro...
Interactive exploration of complex relational data sets in a web - SemWeb.Pro...
 
UMLtoGraphDB: Mapping Conceptual Schemas to Graph Databases
UMLtoGraphDB: Mapping Conceptual Schemas to Graph DatabasesUMLtoGraphDB: Mapping Conceptual Schemas to Graph Databases
UMLtoGraphDB: Mapping Conceptual Schemas to Graph Databases
 
Achieving time effective federated information from scalable rdf data using s...
Achieving time effective federated information from scalable rdf data using s...Achieving time effective federated information from scalable rdf data using s...
Achieving time effective federated information from scalable rdf data using s...
 
The FLuID Meta Model: Incrementally Compute Schema-level Indices for the Web...
The FLuID Meta Model: Incrementally Compute  Schema-level Indices for the Web...The FLuID Meta Model: Incrementally Compute  Schema-level Indices for the Web...
The FLuID Meta Model: Incrementally Compute Schema-level Indices for the Web...
 
2015 TaPP - Interoperability for Provenance-aware Databases using PROV and JSON
2015 TaPP - Interoperability for Provenance-aware Databases using PROV and JSON2015 TaPP - Interoperability for Provenance-aware Databases using PROV and JSON
2015 TaPP - Interoperability for Provenance-aware Databases using PROV and JSON
 
Instance Matching
Instance Matching Instance Matching
Instance Matching
 
Flagis linked open_data_stijn_goedertier
Flagis linked open_data_stijn_goedertierFlagis linked open_data_stijn_goedertier
Flagis linked open_data_stijn_goedertier
 
Getty Vocabulary Program LOD: Ontologies and Semantic Representation
Getty Vocabulary Program LOD: Ontologies and Semantic RepresentationGetty Vocabulary Program LOD: Ontologies and Semantic Representation
Getty Vocabulary Program LOD: Ontologies and Semantic Representation
 
Automatic creation of mappings between classification systems
Automatic creation of mappings between classification systemsAutomatic creation of mappings between classification systems
Automatic creation of mappings between classification systems
 
Semantic Variation Graphs the case for RDF & SPARQL
Semantic Variation Graphs the case for RDF & SPARQLSemantic Variation Graphs the case for RDF & SPARQL
Semantic Variation Graphs the case for RDF & SPARQL
 

Similar to Tutorial "Linked Data Query Processing" Part 2 "Theoretical Foundations" (WWW 2013 Ed.)

A Study of the Similarities of Entity Embeddings Learned from Different Aspec...
A Study of the Similarities of Entity Embeddings Learned from Different Aspec...A Study of the Similarities of Entity Embeddings Learned from Different Aspec...
A Study of the Similarities of Entity Embeddings Learned from Different Aspec...GUANGYUAN PIAO
 
Holistic data application quality
Holistic data application qualityHolistic data application quality
Holistic data application qualityLars Albertsson
 
Landmark Retrieval & Recognition
Landmark Retrieval & RecognitionLandmark Retrieval & Recognition
Landmark Retrieval & Recognitionkenluck2001
 
Ontology-based data access: why it is so cool!
Ontology-based data access: why it is so cool!Ontology-based data access: why it is so cool!
Ontology-based data access: why it is so cool!Josef Hardi
 
Introduction to Spark Datasets - Functional and relational together at last
Introduction to Spark Datasets - Functional and relational together at lastIntroduction to Spark Datasets - Functional and relational together at last
Introduction to Spark Datasets - Functional and relational together at lastHolden Karau
 
Tutorial "Linked Data Query Processing" Part 5 "Query Planning and Optimizati...
Tutorial "Linked Data Query Processing" Part 5 "Query Planning and Optimizati...Tutorial "Linked Data Query Processing" Part 5 "Query Planning and Optimizati...
Tutorial "Linked Data Query Processing" Part 5 "Query Planning and Optimizati...Olaf Hartig
 
OQGraph at MySQL Users Conference 2011
OQGraph at MySQL Users Conference 2011OQGraph at MySQL Users Conference 2011
OQGraph at MySQL Users Conference 2011Antony T Curtis
 
Beyond Shuffling, Tips and Tricks for Scaling Apache Spark updated for Spark ...
Beyond Shuffling, Tips and Tricks for Scaling Apache Spark updated for Spark ...Beyond Shuffling, Tips and Tricks for Scaling Apache Spark updated for Spark ...
Beyond Shuffling, Tips and Tricks for Scaling Apache Spark updated for Spark ...Holden Karau
 
polystore_NYC_inrae_sysinfo2021-1.pdf
polystore_NYC_inrae_sysinfo2021-1.pdfpolystore_NYC_inrae_sysinfo2021-1.pdf
polystore_NYC_inrae_sysinfo2021-1.pdfRim Moussa
 
Test strategies for data processing pipelines
Test strategies for data processing pipelinesTest strategies for data processing pipelines
Test strategies for data processing pipelinesLars Albertsson
 
SEMLIB Final Conference | DERI presentation
SEMLIB Final Conference | DERI presentationSEMLIB Final Conference | DERI presentation
SEMLIB Final Conference | DERI presentationSemLib Project
 
Fast federated SQL with Apache Calcite
Fast federated SQL with Apache CalciteFast federated SQL with Apache Calcite
Fast federated SQL with Apache CalciteChris Baynes
 
Introduction to and Extending Spark ML
Introduction to and Extending Spark MLIntroduction to and Extending Spark ML
Introduction to and Extending Spark MLHolden Karau
 
Big Data processing with Apache Spark
Big Data processing with Apache SparkBig Data processing with Apache Spark
Big Data processing with Apache SparkLucian Neghina
 
Effective testing for spark programs scala bay preview (pre-strata ny 2015)
Effective testing for spark programs scala bay preview (pre-strata ny 2015)Effective testing for spark programs scala bay preview (pre-strata ny 2015)
Effective testing for spark programs scala bay preview (pre-strata ny 2015)Holden Karau
 
PGQL: A Language for Graphs
PGQL: A Language for GraphsPGQL: A Language for Graphs
PGQL: A Language for GraphsJean Ihm
 
Online advertising and large scale model fitting
Online advertising and large scale model fittingOnline advertising and large scale model fitting
Online advertising and large scale model fittingWush Wu
 
A location-aware embedding technique for accurate landmark recognition
A location-aware embedding technique for accurate landmark recognitionA location-aware embedding technique for accurate landmark recognition
A location-aware embedding technique for accurate landmark recognitionFederico Magliani
 
Building machine learning service in your business — Eric Chen (Uber) @PAPIs ...
Building machine learning service in your business — Eric Chen (Uber) @PAPIs ...Building machine learning service in your business — Eric Chen (Uber) @PAPIs ...
Building machine learning service in your business — Eric Chen (Uber) @PAPIs ...PAPIs.io
 

Similar to Tutorial "Linked Data Query Processing" Part 2 "Theoretical Foundations" (WWW 2013 Ed.) (20)

A Study of the Similarities of Entity Embeddings Learned from Different Aspec...
A Study of the Similarities of Entity Embeddings Learned from Different Aspec...A Study of the Similarities of Entity Embeddings Learned from Different Aspec...
A Study of the Similarities of Entity Embeddings Learned from Different Aspec...
 
Neo4j: Graph-like power
Neo4j: Graph-like powerNeo4j: Graph-like power
Neo4j: Graph-like power
 
Holistic data application quality
Holistic data application qualityHolistic data application quality
Holistic data application quality
 
Landmark Retrieval & Recognition
Landmark Retrieval & RecognitionLandmark Retrieval & Recognition
Landmark Retrieval & Recognition
 
Ontology-based data access: why it is so cool!
Ontology-based data access: why it is so cool!Ontology-based data access: why it is so cool!
Ontology-based data access: why it is so cool!
 
Introduction to Spark Datasets - Functional and relational together at last
Introduction to Spark Datasets - Functional and relational together at lastIntroduction to Spark Datasets - Functional and relational together at last
Introduction to Spark Datasets - Functional and relational together at last
 
Tutorial "Linked Data Query Processing" Part 5 "Query Planning and Optimizati...
Tutorial "Linked Data Query Processing" Part 5 "Query Planning and Optimizati...Tutorial "Linked Data Query Processing" Part 5 "Query Planning and Optimizati...
Tutorial "Linked Data Query Processing" Part 5 "Query Planning and Optimizati...
 
OQGraph at MySQL Users Conference 2011
OQGraph at MySQL Users Conference 2011OQGraph at MySQL Users Conference 2011
OQGraph at MySQL Users Conference 2011
 
Beyond Shuffling, Tips and Tricks for Scaling Apache Spark updated for Spark ...
Beyond Shuffling, Tips and Tricks for Scaling Apache Spark updated for Spark ...Beyond Shuffling, Tips and Tricks for Scaling Apache Spark updated for Spark ...
Beyond Shuffling, Tips and Tricks for Scaling Apache Spark updated for Spark ...
 
polystore_NYC_inrae_sysinfo2021-1.pdf
polystore_NYC_inrae_sysinfo2021-1.pdfpolystore_NYC_inrae_sysinfo2021-1.pdf
polystore_NYC_inrae_sysinfo2021-1.pdf
 
Test strategies for data processing pipelines
Test strategies for data processing pipelinesTest strategies for data processing pipelines
Test strategies for data processing pipelines
 
SEMLIB Final Conference | DERI presentation
SEMLIB Final Conference | DERI presentationSEMLIB Final Conference | DERI presentation
SEMLIB Final Conference | DERI presentation
 
Fast federated SQL with Apache Calcite
Fast federated SQL with Apache CalciteFast federated SQL with Apache Calcite
Fast federated SQL with Apache Calcite
 
Introduction to and Extending Spark ML
Introduction to and Extending Spark MLIntroduction to and Extending Spark ML
Introduction to and Extending Spark ML
 
Big Data processing with Apache Spark
Big Data processing with Apache SparkBig Data processing with Apache Spark
Big Data processing with Apache Spark
 
Effective testing for spark programs scala bay preview (pre-strata ny 2015)
Effective testing for spark programs scala bay preview (pre-strata ny 2015)Effective testing for spark programs scala bay preview (pre-strata ny 2015)
Effective testing for spark programs scala bay preview (pre-strata ny 2015)
 
PGQL: A Language for Graphs
PGQL: A Language for GraphsPGQL: A Language for Graphs
PGQL: A Language for Graphs
 
Online advertising and large scale model fitting
Online advertising and large scale model fittingOnline advertising and large scale model fitting
Online advertising and large scale model fitting
 
A location-aware embedding technique for accurate landmark recognition
A location-aware embedding technique for accurate landmark recognitionA location-aware embedding technique for accurate landmark recognition
A location-aware embedding technique for accurate landmark recognition
 
Building machine learning service in your business — Eric Chen (Uber) @PAPIs ...
Building machine learning service in your business — Eric Chen (Uber) @PAPIs ...Building machine learning service in your business — Eric Chen (Uber) @PAPIs ...
Building machine learning service in your business — Eric Chen (Uber) @PAPIs ...
 

More from Olaf Hartig

Tutorial "An Introduction to SPARQL and Queries over Linked Data" Chapter 3 (...
Tutorial "An Introduction to SPARQL and Queries over Linked Data" Chapter 3 (...Tutorial "An Introduction to SPARQL and Queries over Linked Data" Chapter 3 (...
Tutorial "An Introduction to SPARQL and Queries over Linked Data" Chapter 3 (...Olaf Hartig
 
Tutorial "An Introduction to SPARQL and Queries over Linked Data" Chapter 2 (...
Tutorial "An Introduction to SPARQL and Queries over Linked Data" Chapter 2 (...Tutorial "An Introduction to SPARQL and Queries over Linked Data" Chapter 2 (...
Tutorial "An Introduction to SPARQL and Queries over Linked Data" Chapter 2 (...Olaf Hartig
 
Tutorial "An Introduction to SPARQL and Queries over Linked Data" Chapter 1 (...
Tutorial "An Introduction to SPARQL and Queries over Linked Data" Chapter 1 (...Tutorial "An Introduction to SPARQL and Queries over Linked Data" Chapter 1 (...
Tutorial "An Introduction to SPARQL and Queries over Linked Data" Chapter 1 (...Olaf Hartig
 
An Overview on PROV-AQ: Provenance Access and Query
An Overview on PROV-AQ: Provenance Access and QueryAn Overview on PROV-AQ: Provenance Access and Query
An Overview on PROV-AQ: Provenance Access and QueryOlaf Hartig
 
(An Overview on) Linked Data Management and SPARQL Querying (ISSLOD2011)
(An Overview on) Linked Data Management and SPARQL Querying (ISSLOD2011)(An Overview on) Linked Data Management and SPARQL Querying (ISSLOD2011)
(An Overview on) Linked Data Management and SPARQL Querying (ISSLOD2011)Olaf Hartig
 
Zero-Knowledge Query Planning for an Iterator Implementation of Link Traversa...
Zero-Knowledge Query Planning for an Iterator Implementation of Link Traversa...Zero-Knowledge Query Planning for an Iterator Implementation of Link Traversa...
Zero-Knowledge Query Planning for an Iterator Implementation of Link Traversa...Olaf Hartig
 
The Impact of Data Caching of on Query Execution for Linked Data
The Impact of Data Caching of on Query Execution for Linked DataThe Impact of Data Caching of on Query Execution for Linked Data
The Impact of Data Caching of on Query Execution for Linked DataOlaf Hartig
 
How Caching Improves Efficiency and Result Completeness for Querying Linked Data
How Caching Improves Efficiency and Result Completeness for Querying Linked DataHow Caching Improves Efficiency and Result Completeness for Querying Linked Data
How Caching Improves Efficiency and Result Completeness for Querying Linked DataOlaf Hartig
 
A Main Memory Index Structure to Query Linked Data
A Main Memory Index Structure to Query Linked DataA Main Memory Index Structure to Query Linked Data
A Main Memory Index Structure to Query Linked DataOlaf Hartig
 
Towards a Data-Centric Notion of Trust in the Semantic Web (A Position Statem...
Towards a Data-Centric Notion of Trust in the Semantic Web (A Position Statem...Towards a Data-Centric Notion of Trust in the Semantic Web (A Position Statem...
Towards a Data-Centric Notion of Trust in the Semantic Web (A Position Statem...Olaf Hartig
 
Brief Introduction to the Provenance Vocabulary (for W3C prov-xg)
Brief Introduction to the Provenance Vocabulary (for W3C prov-xg)Brief Introduction to the Provenance Vocabulary (for W3C prov-xg)
Brief Introduction to the Provenance Vocabulary (for W3C prov-xg)Olaf Hartig
 
Querying Linked Data with SPARQL (2010)
Querying Linked Data with SPARQL (2010)Querying Linked Data with SPARQL (2010)
Querying Linked Data with SPARQL (2010)Olaf Hartig
 
Answers to usual issues in getting started with consuming Linked Data (2010)
Answers to usual issues in getting started with consuming Linked Data (2010)Answers to usual issues in getting started with consuming Linked Data (2010)
Answers to usual issues in getting started with consuming Linked Data (2010)Olaf Hartig
 
Linked Data on the Web
Linked Data on the WebLinked Data on the Web
Linked Data on the WebOlaf Hartig
 
Executing SPARQL Queries of the Web of Linked Data
Executing SPARQL Queries of the Web of Linked DataExecuting SPARQL Queries of the Web of Linked Data
Executing SPARQL Queries of the Web of Linked DataOlaf Hartig
 
Using Web Data Provenance for Quality Assessment
Using Web Data Provenance for Quality AssessmentUsing Web Data Provenance for Quality Assessment
Using Web Data Provenance for Quality AssessmentOlaf Hartig
 
Answers to usual issues in getting started with consuming Linked Data
Answers to usual issues in getting started with consuming Linked DataAnswers to usual issues in getting started with consuming Linked Data
Answers to usual issues in getting started with consuming Linked DataOlaf Hartig
 
Querying Linked Data with SPARQL
Querying Linked Data with SPARQLQuerying Linked Data with SPARQL
Querying Linked Data with SPARQLOlaf Hartig
 
Querying Trust in RDF Data with tSPARQL
Querying Trust in RDF Data with tSPARQLQuerying Trust in RDF Data with tSPARQL
Querying Trust in RDF Data with tSPARQLOlaf Hartig
 
Database Researchers Map
Database Researchers MapDatabase Researchers Map
Database Researchers MapOlaf Hartig
 

More from Olaf Hartig (20)

Tutorial "An Introduction to SPARQL and Queries over Linked Data" Chapter 3 (...
Tutorial "An Introduction to SPARQL and Queries over Linked Data" Chapter 3 (...Tutorial "An Introduction to SPARQL and Queries over Linked Data" Chapter 3 (...
Tutorial "An Introduction to SPARQL and Queries over Linked Data" Chapter 3 (...
 
Tutorial "An Introduction to SPARQL and Queries over Linked Data" Chapter 2 (...
Tutorial "An Introduction to SPARQL and Queries over Linked Data" Chapter 2 (...Tutorial "An Introduction to SPARQL and Queries over Linked Data" Chapter 2 (...
Tutorial "An Introduction to SPARQL and Queries over Linked Data" Chapter 2 (...
 
Tutorial "An Introduction to SPARQL and Queries over Linked Data" Chapter 1 (...
Tutorial "An Introduction to SPARQL and Queries over Linked Data" Chapter 1 (...Tutorial "An Introduction to SPARQL and Queries over Linked Data" Chapter 1 (...
Tutorial "An Introduction to SPARQL and Queries over Linked Data" Chapter 1 (...
 
An Overview on PROV-AQ: Provenance Access and Query
An Overview on PROV-AQ: Provenance Access and QueryAn Overview on PROV-AQ: Provenance Access and Query
An Overview on PROV-AQ: Provenance Access and Query
 
(An Overview on) Linked Data Management and SPARQL Querying (ISSLOD2011)
(An Overview on) Linked Data Management and SPARQL Querying (ISSLOD2011)(An Overview on) Linked Data Management and SPARQL Querying (ISSLOD2011)
(An Overview on) Linked Data Management and SPARQL Querying (ISSLOD2011)
 
Zero-Knowledge Query Planning for an Iterator Implementation of Link Traversa...
Zero-Knowledge Query Planning for an Iterator Implementation of Link Traversa...Zero-Knowledge Query Planning for an Iterator Implementation of Link Traversa...
Zero-Knowledge Query Planning for an Iterator Implementation of Link Traversa...
 
The Impact of Data Caching of on Query Execution for Linked Data
The Impact of Data Caching of on Query Execution for Linked DataThe Impact of Data Caching of on Query Execution for Linked Data
The Impact of Data Caching of on Query Execution for Linked Data
 
How Caching Improves Efficiency and Result Completeness for Querying Linked Data
How Caching Improves Efficiency and Result Completeness for Querying Linked DataHow Caching Improves Efficiency and Result Completeness for Querying Linked Data
How Caching Improves Efficiency and Result Completeness for Querying Linked Data
 
A Main Memory Index Structure to Query Linked Data
A Main Memory Index Structure to Query Linked DataA Main Memory Index Structure to Query Linked Data
A Main Memory Index Structure to Query Linked Data
 
Towards a Data-Centric Notion of Trust in the Semantic Web (A Position Statem...
Towards a Data-Centric Notion of Trust in the Semantic Web (A Position Statem...Towards a Data-Centric Notion of Trust in the Semantic Web (A Position Statem...
Towards a Data-Centric Notion of Trust in the Semantic Web (A Position Statem...
 
Brief Introduction to the Provenance Vocabulary (for W3C prov-xg)
Brief Introduction to the Provenance Vocabulary (for W3C prov-xg)Brief Introduction to the Provenance Vocabulary (for W3C prov-xg)
Brief Introduction to the Provenance Vocabulary (for W3C prov-xg)
 
Querying Linked Data with SPARQL (2010)
Querying Linked Data with SPARQL (2010)Querying Linked Data with SPARQL (2010)
Querying Linked Data with SPARQL (2010)
 
Answers to usual issues in getting started with consuming Linked Data (2010)
Answers to usual issues in getting started with consuming Linked Data (2010)Answers to usual issues in getting started with consuming Linked Data (2010)
Answers to usual issues in getting started with consuming Linked Data (2010)
 
Linked Data on the Web
Linked Data on the WebLinked Data on the Web
Linked Data on the Web
 
Executing SPARQL Queries of the Web of Linked Data
Executing SPARQL Queries of the Web of Linked DataExecuting SPARQL Queries of the Web of Linked Data
Executing SPARQL Queries of the Web of Linked Data
 
Using Web Data Provenance for Quality Assessment
Using Web Data Provenance for Quality AssessmentUsing Web Data Provenance for Quality Assessment
Using Web Data Provenance for Quality Assessment
 
Answers to usual issues in getting started with consuming Linked Data
Answers to usual issues in getting started with consuming Linked DataAnswers to usual issues in getting started with consuming Linked Data
Answers to usual issues in getting started with consuming Linked Data
 
Querying Linked Data with SPARQL
Querying Linked Data with SPARQLQuerying Linked Data with SPARQL
Querying Linked Data with SPARQL
 
Querying Trust in RDF Data with tSPARQL
Querying Trust in RDF Data with tSPARQLQuerying Trust in RDF Data with tSPARQL
Querying Trust in RDF Data with tSPARQL
 
Database Researchers Map
Database Researchers MapDatabase Researchers Map
Database Researchers Map
 

Recently uploaded

Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfsudhanshuwaghmare1
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024The Digital Insurer
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century educationjfdjdjcjdnsjd
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...apidays
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoffsammart93
 
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Zilliz
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Victor Rentea
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesrafiqahmad00786416
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MIND CTI
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...apidays
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxRustici Software
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobeapidays
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsNanddeep Nachan
 
AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024The Digital Insurer
 
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Orbitshub
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodJuan lago vázquez
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingEdi Saputra
 
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...apidays
 

Recently uploaded (20)

Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectors
 
AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024
 
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
 

Tutorial "Linked Data Query Processing" Part 2 "Theoretical Foundations" (WWW 2013 Ed.)

  • 1. Linked Data Query Processing Tutorial at the 22nd International World Wide Web Conference (WWW 2013) May 14, 2013 http://db.uwaterloo.ca/LDQTut2013/ 2. Theoretical Foundations Olaf Hartig University of Waterloo
  • 2. WWW 2013 Tutorial on Linked Data Query Processing [ Theoretical Foundations ] 2 ● Data retrieval approach ● Data source selection ● Data source ranking (optional, for optimization) Query-local data GET http://.../movie2449 ● Result construction approach ● i.e., query-local data processing ● Combining data retrieval and result construction http://mdb.../Paul http://geo.../Berlin http://mdb.../Ric http://geo.../Rome ?loc?actor “Ingredients” for LD Query Execution
  • 3. WWW 2013 Tutorial on Linked Data Query Processing [ Theoretical Foundations ] 3 Outline  Basics of the SPARQL Query Language  Data Model for Linked Data Queries  Full-Web Query Semantics ➢ Definition ➢ Theoretical Properties  Reachability-Based Query Semantics ➢ Definition ➢ Theoretical Properties
  • 4. WWW 2013 Tutorial on Linked Data Query Processing [ Theoretical Foundations ] 4 General Idea of SPARQL ● SPARQL: Declarative query language for RDF data ● Main idea: pattern matching ● Query describes a pattern to be found in RDF data ● Basically, query patterns consist of RDF triples with variables ( ?p , affiliated with , orgaX ) , ( ?p , interested in , ?i ) Basic Query Pattern:
  • 5. WWW 2013 Tutorial on Linked Data Query Processing [ Theoretical Foundations ] 5 General Idea of SPARQL ● SPARQL: Declarative query language for RDF data ● Main idea: pattern matching ● Query describes a pattern to be found in RDF data ● Basically, query patterns consist of RDF triples with variables ● Any part of the queried data that matches the query pattern contributes a solution to the query result ( ?p , affiliated with , orgaX ) , ( ?p , interested in , ?i ) Basic Query Pattern: ( alice , affiliated with , orgaX ) , ( bob , affiliated with , acme ) , ( alice , interested in , yoga ) , ( alice , interested in , tea ) , ( bob , interested in , tea ) , Data: ?p ?i alice yoga alice tea Query Result:
  • 6. WWW 2013 Tutorial on Linked Data Query Processing [ Theoretical Foundations ] 6 Some Terminology ● Any query result is represented by a set of valuations Ω = { μ1 , … , μn } ● Valuation: mapping of query variables to RDF terms μ = { ?p → alice , ?i → yoga } ● Any valuation in a query result is a solution ● Two valuations μ1 and μ2 are compatible if they agree on the binding for any shared variable ● i.e., μ1(?v) = μ2(?v) for all ?v Є dom(μ1) ∩ dom(μ2) ?p ?i alice yoga alice tea
  • 7. WWW 2013 Tutorial on Linked Data Query Processing [ Theoretical Foundations ] 7 Query Patterns and their Semantics ● Triple pattern: An RDF triple that may have a variable as subject, predicate, or object, respectively ● eval( tp, G ) :═ { μ | μ[tp] Є G and dom(μ) = vars(tp) } ● Group graph pattern: Conjunction of two query patterns ● eval( (P1 AND P2), G ) :═ { μ1 U μ2 | μ1 Є eval(P1,G) and μ2 Є eval(P2,G) and μ1 and μ2 are compatible } ● Associative and commutative ● Basic graph pattern (BGP): A set of triple patterns ● B = { tp1 , … , tpn } is equivalent to ( tp1 AND … AND tpn ) ● Filter, union, optional, etc.
  • 8. WWW 2013 Tutorial on Linked Data Query Processing [ Theoretical Foundations ] 8 Outline  Basics of the SPARQL Query Language  Data Model for Linked Data Queries  Full-Web Query Semantics ➢ Definition ➢ Theoretical Properties  Reachability-Based Query Semantics ➢ Definition ➢ Theoretical Properties √
  • 9. WWW 2013 Tutorial on Linked Data Query Processing [ Theoretical Foundations ] 9 Data Model ● Static view (i.e., no changes during computation) ● Web of Linked Data: W = ( D, adoc, data ) ● D – set of symbols that represent Web documents from which Linked Data can be extracted ● adoc – partial mapping from URIs to D ● data – total mapping from D to finite sets of RDF triples ● All data in W: AllData(W) :═ Ud є D data(d) D = adoc( ) = data( ) =
  • 10. WWW 2013 Tutorial on Linked Data Query Processing [ Theoretical Foundations ] 10 Linked Data Query Q(W)
  • 11. WWW 2013 Tutorial on Linked Data Query Processing [ Theoretical Foundations ] 11 ( ?p , affiliated with , orgaX ) , ( ?p , interested in , ?i ) ?p ?i alice yoga alice tea QP (W) = { μ1 , μ2 , ... } SPARQL-Based Linked Data Query
  • 12. WWW 2013 Tutorial on Linked Data Query Processing [ Theoretical Foundations ] 12 Outline  Basics of the SPARQL Query Language  Data Model for Linked Data Queries  Full-Web Query Semantics ➢ Definition ➢ Theoretical Properties  Reachability-Based Query Semantics ➢ Definition ➢ Theoretical Properties √ √
  • 13. WWW 2013 Tutorial on Linked Data Query Processing [ Theoretical Foundations ] 13 Full-Web Semantics QP (W) :═ eval(P,AllData(W))
  • 14. WWW 2013 Tutorial on Linked Data Query Processing [ Theoretical Foundations ] 14 Computability ● (Ordinary) Turing machines are unsuitable: ● Limited data access capabilities not properly captured ● Web machines ● Abiteboul and Vianu, 1997 ● Mendelzon and Milo, 1997 QP (W) :═ eval(P,AllData(W)) TM
  • 15. WWW 2013 Tutorial on Linked Data Query Processing [ Theoretical Foundations ] 15 LD Machine ● Multi-tape Turing machine ➔ Input ➔ Work ➔ Output
  • 16. WWW 2013 Tutorial on Linked Data Query Processing [ Theoretical Foundations ] 16 LD Machine # enc(u1) enc(adoc(u1)) # enc(u2) enc(adoc(u2)) # ∙ ∙ ∙ ● Multi-tape Turing machine ➔ Web Input ➔ Input ➔ Work ➔ Output
  • 17. WWW 2013 Tutorial on Linked Data Query Processing [ Theoretical Foundations ] 17 LD Machine # enc(u1) enc(adoc(u1)) # enc(u2) enc(adoc(u2)) # ∙ ∙ ∙ ● Multi-tape Turing machine ➔ Web Input ➔ Input ➔ Work ➔ Output ● Access to Web Input is restricted ● Only by performing a particular procedure in a particular state
  • 18. WWW 2013 Tutorial on Linked Data Query Processing [ Theoretical Foundations ] 18 # enc(u1) enc(adoc(u1)) # enc(u2) enc(adoc(u2)) # ∙ ∙ ∙➔ Web Input ➔ Input ➔ Work ➔ Output ● For Q exists an LD machine MQ such that for any W holds: ● MQ halts after a finite number of computation steps, and ● MQ outputs the complete result Q(W) Finitely Computable LD Queries step 1 ∙ ∙ ∙ step k - 3 step k - 2 step k – 1 step k ∙ ∙ ∙ # enc(μ1) # enc(μ2) # ∙ ∙ ∙ # enc(μn) #
  • 19. WWW 2013 Tutorial on Linked Data Query Processing [ Theoretical Foundations ] 19 Eventually Computable LD Queries step k + 2 ∙ ∙ ∙∙ ∙ ∙ step k - 3 step k - 2 step k - 1 step k step k + 1 # enc(u1) enc(adoc(u1)) # enc(u2) enc(adoc(u2)) # ∙ ∙ ∙ # enc(μ1) # enc(μ2) ➔ Web Input ➔ Input ➔ Work ➔ Output ● For Q exists an LD machine MQ such that for any W holds: 1. Output always encodes a subset of query result Q(W), and 2. Each μ Q(W) eventually appears on the output ✗ No guarantee for termination
  • 20. WWW 2013 Tutorial on Linked Data Query Processing [ Theoretical Foundations ] 20 Not (LD Machine) Computable step k + 2 ∙ ∙ ∙∙ ∙ ∙ step k - 3 step k - 2 step k - 1 step k step k + 1 # enc(u1) enc(adoc(u1)) # enc(u2) enc(adoc(u2)) # ∙ ∙ ∙ # enc(μ1) # enc(μ2) ➔ Web Input ➔ Input ➔ Work ➔ Output ● For Q exists an LD machine MQ such that for any W holds: 1. Output always encodes a subset of query result Q(W), and 2. Each μ Q(W) eventually appears on the output ✗ No guarantee for termination
  • 21. WWW 2013 Tutorial on Linked Data Query Processing [ Theoretical Foundations ] 21 Theorem [Har12]: If a satisfiable SPARQLLD query QP under full-Web semantics is monotonic, then it is eventually computable (but not finitely computable); otherwise, it is not even eventually computable. Theorem [Har12]: If a satisfiable SPARQLLD query QP under full-Web semantics is monotonic, then it is eventually computable (but not finitely computable); otherwise, it is not even eventually computable. ● Main reason: Set of all URIs is infinite (but countable) Computability (Full-Web Semantics) QP (W) :═ eval(P,AllData(W))
  • 22. WWW 2013 Tutorial on Linked Data Query Processing [ Theoretical Foundations ] 22 Satisfiability and Monotonicity Q( ) = { …, ri , … } ≠ Ø ⟹ Q( ) ⊆ Q( ) Proposition [Har12]: Let QP be a SPARQLLD query under full-Web semantics. ● QP is satisfiable ⟺ its query pattern P is satisfiable ● QP is monotonic ⟺ its query pattern P is monotonic Proposition [Har12]: Let QP be a SPARQLLD query under full-Web semantics. ● QP is satisfiable ⟺ its query pattern P is satisfiable ● QP is monotonic ⟺ its query pattern P is monotonic Unfortunately: Satisfiability and monotonicity of SPARQL query patterns is undecidable Satisfiability: Monotonicity: O PT tp A N D FILTER U N IO N
  • 23. WWW 2013 Tutorial on Linked Data Query Processing [ Theoretical Foundations ] 23 Theorem [Har12]: If a satisfiable SPARQLLD query QP under full-Web semantics is monotonic, then it is eventually computable (but not finitely computable); otherwise, it is not even eventually computable. Theorem [Har12]: If a satisfiable SPARQLLD query QP under full-Web semantics is monotonic, then it is eventually computable (but not finitely computable); otherwise, it is not even eventually computable. ● Main reason: Set of all URIs is infinite (but countable) Computability (Full-Web Semantics) QP (W) :═ eval(P,AllData(W))
  • 24. WWW 2013 Tutorial on Linked Data Query Processing [ Theoretical Foundations ] 24 Outline  Basics of the SPARQL Query Language  Data Model for Linked Data Queries  Full-Web Query Semantics ➢ Definition ➢ Theoretical Properties  Reachability-Based Query Semantics ➢ Definition ➢ Theoretical Properties √ √ √
  • 25. WWW 2013 Tutorial on Linked Data Query Processing [ Theoretical Foundations ] 25 Reachability-Based Query Semantics
  • 26. WWW 2013 Tutorial on Linked Data Query Processing [ Theoretical Foundations ] 26 ● Seed URIs S ᑕ U Reachability-Based Query Semantics
  • 27. WWW 2013 Tutorial on Linked Data Query Processing [ Theoretical Foundations ] 27 ● Seed URIs S ᑕ U● Reachability criterion c ● (Turing) computable function c: T ×U × P → {true,false} Reachability-Based Query Semantics
  • 28. WWW 2013 Tutorial on Linked Data Query Processing [ Theoretical Foundations ] 28 WQP,S ( ):= eval(P,AllData(W* ))c Reachability-Based Query Semantics
  • 29. WWW 2013 Tutorial on Linked Data Query Processing [ Theoretical Foundations ] 29 (Reachability-Based) cAll-Semantics WQP,S ( ) eval(P,AllData(W* ))cAll :=
  • 30. WWW 2013 Tutorial on Linked Data Query Processing [ Theoretical Foundations ] 30 WQP,S ( ) eval(P,AllData(W* ))cNone := (Reachability-Based) cNone-Semantics
  • 31. WWW 2013 Tutorial on Linked Data Query Processing [ Theoretical Foundations ] 31 WQP,S ( ) eval(P,AllData(W* ))cMatch := (Reachability-Based) cMatch-Semantics
  • 32. WWW 2013 Tutorial on Linked Data Query Processing [ Theoretical Foundations ] 32 Satisfiability and Monotonicity Q( ) = { …, ri , … } ≠ Ø ⟹ Q( ) ⊆ Q( ) Satisfiability: Monotonicity: Proposition [Har12]: Let c be a reachability criterion and QP c S be a SPARQLLD query under c-semantics. ● QP c S is satisfiable ⟺ its SPARQL expression P is satisfiable ● QP c S is monotonic ⇒ its SPARQL expression P is monotonic Proposition [Har12]: Let c be a reachability criterion and QP c S be a SPARQLLD query under c-semantics. ● QP c S is satisfiable ⟺ its SPARQL expression P is satisfiable ● QP c S is monotonic ⇒ its SPARQL expression P is monotonic Counterexample: Let QP c S be a SPARQLLD query under c-semantics. If c = cNone and |S| = 1, then QP c S is monotonic. Counterexample: Let QP c S be a SPARQLLD query under c-semantics. If c = cNone and |S| = 1, then QP c S is monotonic.
  • 33. WWW 2013 Tutorial on Linked Data Query Processing [ Theoretical Foundations ] 33 LD Machine-Based Computability Theorem [Har12]: For any reachability criterion c, any SPARQL based Linked Data query under c-semantics is finitely computable. Theorem [Har12]: For any reachability criterion c, any SPARQL based Linked Data query under c-semantics is finitely computable. ● If we restrict our data model such that Webs of Linked Data are finite (i.e., consist of a finite number of documents), then: For results w.r.t. the unrestricted data model (i.e., Webs of Linked Data that may be infinitely large), refer to [Har12].
  • 34. WWW 2013 Tutorial on Linked Data Query Processing [ Theoretical Foundations ] 34 Outline  Basics of the SPARQL Query Language  Data Model for Linked Data Queries  Full-Web Query Semantics ➢ Definition ➢ Theoretical Properties  Reachability-Based Query Semantics ➢ Definition ➢ Theoretical Properties √ √ √ √ Next part: 3. Source Selection Strategies ...
  • 35. WWW 2013 Tutorial on Linked Data Query Processing [ Theoretical Foundations ] 35 These slides have been created by Olaf Hartig for the WWW 2013 tutorial on Link Data Query Processing Tutorial Website: http://db.uwaterloo.ca/LDQTut2013/ This work is licensed under a Creative Commons Attribution-Share Alike 3.0 License (http://creativecommons.org/licenses/by-sa/3.0/)