SlideShare a Scribd company logo
1 of 35
Download to read offline
Querying Federations

of Triple Pattern Fragments
Ruben Verborgh
Tutorial
Linked Data Fragments
Triple Pattern Fragments
Federated querying
Querying Federations

of Triple Pattern Fragments
Linked Data Fragments
Triple Pattern Fragments
Federated querying
Querying Federations

of Triple Pattern Fragments
A whole spectrum of trade-offs

exists between the two extremes.
high server costlow server cost
data

dump
SPARQL

endpoint
interface offered by the server
high availability low availability
high bandwidth low bandwidth
out-of-date data live data
low client costhigh client cost
Linked Data

documents
data
metadata
controls
What triples does it contain?
What do we know about it?
How to access more data?
All RDF interfaces offer fragments

with the following characteristics.
all dataset triples
(none)
data dump
number of triples, file size
data
metadata
controls
Each type of Linked Data Fragment

is defined by three characteristics.
triples matching the query
(none)
(none)
SPARQL query result
data
metadata
controls
Each type of Linked Data Fragment

is defined by three characteristics.
Linked Data Fragments
Triple Pattern Fragments
Federated querying
Querying Federations

of Triple Pattern Fragments
We design new mixes of trade-offs

with much lower server-side cost.
high server costlow server cost
data

dump
SPARQL

query results
high availability low availability
high bandwidth low bandwidth
out-of-date data live data
low client costhigh client cost
Linked Data

documents
low server cost
data

dump
SPARQL

query results
high availability
live data
Linked Data

documents
Triple Pattern

Fragments
A Triple Pattern Fragments interface

is low-cost and enables clients to query.
matches of a triple pattern
total number of matches
access to all other fragments
data
metadata
controls
(paged)
A Triple Pattern Fragments interface

is low-cost and enables clients to query.
data (first 100)
controls (other fragments)
metadata (total count)
Give them a SPARQL query.

Give them a URL of any dataset fragment.
How can intelligent clients

solve SPARQL queries over fragments?
They look inside the fragment

to see how to access the dataset
and use the metadata

to decide how to plan the query.
Let’s follow the execution

of an example SPARQL query.
SELECT ?artist ?name WHERE {
?artist a dbpedia-owl:Artist;
rdfs:label ?name;
dbpedia-owl:birthPlace dbpedia:Padua.
FILTER LANGMATCHES(LANG(?name), "EN")
}
Find names of artists born in Padua, Italy.
Fragment: http://fragments.dbpedia.org/2014/en
The client looks inside the fragment

to see how to access the dataset.
<http://fragments.dbpedia.org/2014/en#dataset> hydra:search [
hydra:template "http://fragments.dbpedia.org/2014/en
{?subject,predicate,object}";
hydra:mapping
[ hydra:variable "subject"; hydra:property rdf:subject ],
[ hydra:variable "predicate"; hydra:property rdf:predicate ],
[ hydra:variable "object"; hydra:property rdf:object ]
].
Fragment: http://fragments.dbpedia.org/2014/en
“I can query the dataset by triple pattern.”
The client splits the query

into the available fragments.
SELECT ?artist ?name WHERE {
?artist a dbpedia-owl:Artist;
rdfs:label ?name;
dbpedia-owl:birthPlace dbpedia:Padua.
FILTER LANGMATCHES(LANG(?name), "EN")
}
The client gets the fragments

and inspects their metadata.
?artist a dbpedia-owl:Artist.
first 100 triples
96.000
?artist rdfs:label ?name.
first 100 triples
12.000.000
?artist dbont:birthPlace dbpedia:Padua.
first 100 triples
135
?artist a dbpedia-owl:Artist. 96.000
?artist rdfs:label ?name. 12.000.000
?artist dbont:birthPlace dbpedia:Padua.
dbpedia:Alberto_Benettin dbont:birthPlace dbpedia:Padua.
135
dbpedia:Alberto_Bigon dbont:birthPlace dbpedia:Padua.
The metadata enables the client

to choose the right starting point.
dbp:Alberto_Benettin a dbont:Artist.
dbp:Alberto_Benettin rdfs:label ?name.
Clients execute the query in 3 seconds

on a highly available, low-cost server.
SELECT ?artist ?name WHERE {
?artist a dbpedia-owl:Artist;
rdfs:label ?name;
dbpedia-owl:birthPlace dbpedia:Padua.
FILTER LANGMATCHES(LANG(?name), "EN")
}
Try it yourself:

bit.ly/artistspadua
Querying Datasets on
1 10 100
10100100010000
clients
throughput(q/hr)
Virtuoso 6
Fuseki–tdb
triple pattern
Fig. 3.1: Server performance (log-log plot)
The query throughput is lower,

but resilient to high client numbers.
executed SPARQL queries per hour
The server traffic is higher,

but requests are significantly lighter.
ets on the Web with High Availability 13
oso 6 Virtuoso 7
–tdb Fuseki–hdt
pattern fragments
1 10 100
0
2
4
clients
datasent(mb)
Fig. 3.2: Server network trafficdata sent by server in MB
Caching is significantly more effective,

as clients reuse fragments for queries.
1 10 100
0
2
clients
t(mb)
Fig. 3.2: Server network traffic
1 10 100
0
10
20
clients
sent(mb)
Fig. 3.4: Cache network traffic
6
8
ramus
data sent by cache in MB
The server uses much less CPU,

allowing for higher availability.
server CPU usage per core
1 10 100
0
50
100
150
clients
#timeou
Fig. 3.3: Query timeouts
1
1 10 100
0
50
100
clients
cpuuse(%)
Fig. 3.5: Server processor usage per core
1
100
e(%)
Linked Data Fragments
Triple Pattern Fragments
Federated querying
Querying Federations

of Triple Pattern Fragments
Federated querying is native

to Triple Pattern Fragment clients.
Every query is decomposed locally.
Clients send simple requests to a server.
For clients, it doesn’t matter

which server they send queries to.
For federation, we just send queries

to multiple servers.
No prior source selection.
Each triple pattern is sent to all servers.
If a certain pattern has no result,

just don’t send more specific patterns.
Federation compares pretty well

to SPARQL endpoint federation.
dge
date
n of
nter-
mea-
s on
er in
pos-
the
nter-
ular
om-
TPF
ANAPSID
ANAPSIDEG
FedX(warm)
SPLENDID
LD . . . . .
LD . . . . .
LD . . . . .
LD . . . . .
LD . . . . .
LD . . . . .
LD . . . . .
LD . . . . .
LD . . . . .
LD . . . . .
LD . . . . .
LS . . . . .
LS . . . . .
FedBench
recall
Federation compares pretty well

to SPARQL endpoint federation.
dge
date
n of
nter-
mea-
s on
er in
pos-
the
nter-
ular
om-
TPF
ANAPSID
ANAPSIDEG
FedX(warm)
SPLENDID
LD . . . . .
LD . . . . .
LD . . . . .
LD . . . . .
LD . . . . .
LD . . . . .
LD . . . . .
LD . . . . .
LD . . . . .
LD . . . . .
LD . . . . .
LS . . . . .
LS . . . . .
recall
Complex

queries
ets
mat
hed
EC
ated
Data
CD)
om-
gain
was
, ac-
m in
ncy.
bers
the
ems:
Ex-
LS . . . . .
LS . . . . .
LS . . . . .
LS . . . . .
LS . . . . .
CD . . . . .
CD . . . . .
CD . . . . .
CD . . . . .
CD . . . . .
CD . . . . .
CD . . . . .
C . . . . .
C . . . . .
C . . . . .
C . . . . .
C . . . . .
C . . . . .
C . . . . .
C . . . . .
C . . . . .
C . . . . .
# queries
= .
.
Federation compares pretty well,

even time-wise in some cases.
LD LD LD LD LD LD LD LD LD LD LD CD
50
100
executiontime(s)
150
200
250
300
iontime(s)
LD LD LD LD LD LD LD LD LD CD CD CD CD CD
LS LS LS LS LS C C C C C C C C
TPF ANAPSID ANAPSID EG FedX SPLENDID
mes of FedBench query execution on the TPF client/server setup compared to SPARQL endp
FedBench
Federation compares pretty well,

even time-wise in some cases.
LD LD LD LD LD LD LD LD LD LD LD CD
50
100
executiontime(
LS LS LS LS LS LS LS C C C C
0
50
100
150
200
250
300
executiontime(s)
TPF ANAPSID ANAPSID EG FedX
Figure : Evaluation times of FedBench query execution on the TPF client/server setup c
systems (timeout of s). These measurements should be considered together with
TPF-related measurements were performed in the context of this article; the numbers
LD LD LD LD LD LD LD LD LD CD CD CD CD CD
LS LS LS LS LS C C C C C C C C
TPF ANAPSID ANAPSID EG FedX SPLENDID
mes of FedBench query execution on the TPF client/server setup compared to SPARQL endp
LD LD LD LD LD CD CD CD CD CD CD CD
LS C C C C C C C C C C
NAPSID ANAPSID EG FedX SPLENDID
xecution on the TPF client/server setup compared to SPARQL endpoint federation
nts should be considered together with the recall for each query (Table ). The
the context of this article; the numbers for the four SPARQL endpoint federation
Complex

queries
Note the different setup

in the previous comparisons.
SPARQL endpoint federation

was measured with local servers.
Triple Pattern Fragments federation

was measured over the Web.
Linked Data Fragments
Triple Pattern Fragments
Federated querying
Querying Federations

of Triple Pattern Fragments
Triple Pattern Fragments are easy:

all software is available as open source.
github.com/LinkedDataFragments
linkeddatafragments.org
Software
Documentation and specification
More than 650.000 TPF interfaces

are available for federated querying.
fragments.dbpedia.org
lodlaundromat.org/wardrobe/
data.linkeddatafragments.org
tutorial.linkeddatafragments.org

More Related Content

What's hot

Distributed Affordance
Distributed AffordanceDistributed Affordance
Distributed Affordance
Ruben Verborgh
 
RESTdesc – Efficient runtime service discovery and consumption
RESTdesc – Efficient runtime service discovery and consumptionRESTdesc – Efficient runtime service discovery and consumption
RESTdesc – Efficient runtime service discovery and consumption
Ruben Verborgh
 

What's hot (20)

The Lonesome LOD Cloud
The Lonesome LOD CloudThe Lonesome LOD Cloud
The Lonesome LOD Cloud
 
The Digital Cavemen of Linked Lascaux
The Digital Cavemen of Linked LascauxThe Digital Cavemen of Linked Lascaux
The Digital Cavemen of Linked Lascaux
 
Querying data on the Web – client or server?
Querying data on the Web – client or server?Querying data on the Web – client or server?
Querying data on the Web – client or server?
 
Linking media, data, and services
Linking media, data, and servicesLinking media, data, and services
Linking media, data, and services
 
Reasoned SPARQL
Reasoned SPARQLReasoned SPARQL
Reasoned SPARQL
 
Creating 3rd Generation Web APIs with Hydra
Creating 3rd Generation Web APIs with HydraCreating 3rd Generation Web APIs with Hydra
Creating 3rd Generation Web APIs with Hydra
 
Distributed Affordance
Distributed AffordanceDistributed Affordance
Distributed Affordance
 
About elasticsearch
About elasticsearchAbout elasticsearch
About elasticsearch
 
Synchronicity: Just-In-Time Discovery of Lost Web Pages
Synchronicity: Just-In-Time Discovery of Lost Web PagesSynchronicity: Just-In-Time Discovery of Lost Web Pages
Synchronicity: Just-In-Time Discovery of Lost Web Pages
 
On the Persistence of Persistent Identifiers of the Scholarly Web
On the Persistence of Persistent Identifiers of the Scholarly WebOn the Persistence of Persistent Identifiers of the Scholarly Web
On the Persistence of Persistent Identifiers of the Scholarly Web
 
RESTdesc – Efficient runtime service discovery and consumption
RESTdesc – Efficient runtime service discovery and consumptionRESTdesc – Efficient runtime service discovery and consumption
RESTdesc – Efficient runtime service discovery and consumption
 
Building a data processing pipeline in Python
Building a data processing pipeline in PythonBuilding a data processing pipeline in Python
Building a data processing pipeline in Python
 
Log File Analysis: The most powerful tool in your SEO toolkit
Log File Analysis: The most powerful tool in your SEO toolkitLog File Analysis: The most powerful tool in your SEO toolkit
Log File Analysis: The most powerful tool in your SEO toolkit
 
Advanced MongoDB Aggregation Pipelines
Advanced MongoDB Aggregation PipelinesAdvanced MongoDB Aggregation Pipelines
Advanced MongoDB Aggregation Pipelines
 
Use Cases for Elastic Search Percolator
Use Cases for Elastic Search PercolatorUse Cases for Elastic Search Percolator
Use Cases for Elastic Search Percolator
 
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
 
Introduction to Linked Data Platform (LDP)
Introduction to Linked Data Platform (LDP)Introduction to Linked Data Platform (LDP)
Introduction to Linked Data Platform (LDP)
 
Using server logs to your advantage
Using server logs to your advantageUsing server logs to your advantage
Using server logs to your advantage
 
Epiphany: Adaptable RDFa Generation Linking the Web of Documents to the Web o...
Epiphany: Adaptable RDFa Generation Linking the Web of Documents to the Web o...Epiphany: Adaptable RDFa Generation Linking the Web of Documents to the Web o...
Epiphany: Adaptable RDFa Generation Linking the Web of Documents to the Web o...
 
Your Data, Your Search, ElasticSearch (EURUKO 2011)
Your Data, Your Search, ElasticSearch (EURUKO 2011)Your Data, Your Search, ElasticSearch (EURUKO 2011)
Your Data, Your Search, ElasticSearch (EURUKO 2011)
 

Viewers also liked

Opportunistic Linked Data Querying through Approximate Membership Metadata
Opportunistic Linked Data Querying through Approximate Membership MetadataOpportunistic Linked Data Querying through Approximate Membership Metadata
Opportunistic Linked Data Querying through Approximate Membership Metadata
Miel Vander Sande
 
LDOW2013 r&wbase: git for triples
LDOW2013 r&wbase: git for triplesLDOW2013 r&wbase: git for triples
LDOW2013 r&wbase: git for triples
Miel Vander Sande
 
Using EPUB 3 and the Open Web Platform for Enhanced Presentation and Machine-...
Using EPUB 3 and the Open Web Platform for Enhanced Presentation and Machine-...Using EPUB 3 and the Open Web Platform for Enhanced Presentation and Machine-...
Using EPUB 3 and the Open Web Platform for Enhanced Presentation and Machine-...
Pieter Heyvaert
 
OSLO: Open Standards for Linked Organizations
OSLO: Open Standards for Linked OrganizationsOSLO: Open Standards for Linked Organizations
OSLO: Open Standards for Linked Organizations
Laurens De Vocht
 

Viewers also liked (20)

Machines are the new Digital Natives
Machines are the new Digital NativesMachines are the new Digital Natives
Machines are the new Digital Natives
 
Situation of open data in Flanders
Situation of open data in FlandersSituation of open data in Flanders
Situation of open data in Flanders
 
Towards an Interface for User-Friendly Linked Data Generation Administration
Towards an Interface for User-Friendly Linked Data Generation AdministrationTowards an Interface for User-Friendly Linked Data Generation Administration
Towards an Interface for User-Friendly Linked Data Generation Administration
 
Opportunistic Linked Data Querying through Approximate Membership Metadata
Opportunistic Linked Data Querying through Approximate Membership MetadataOpportunistic Linked Data Querying through Approximate Membership Metadata
Opportunistic Linked Data Querying through Approximate Membership Metadata
 
Querying Heterogeneous Linked Date Interfaces through Reasoning
Querying Heterogeneous Linked Date Interfaces through ReasoningQuerying Heterogeneous Linked Date Interfaces through Reasoning
Querying Heterogeneous Linked Date Interfaces through Reasoning
 
LDOW2013 r&wbase: git for triples
LDOW2013 r&wbase: git for triplesLDOW2013 r&wbase: git for triples
LDOW2013 r&wbase: git for triples
 
Using EPUB 3 and the Open Web Platform for Enhanced Presentation and Machine-...
Using EPUB 3 and the Open Web Platform for Enhanced Presentation and Machine-...Using EPUB 3 and the Open Web Platform for Enhanced Presentation and Machine-...
Using EPUB 3 and the Open Web Platform for Enhanced Presentation and Machine-...
 
iRail: History & current issues
iRail: History & current issuesiRail: History & current issues
iRail: History & current issues
 
ESWC2015 - Query Optimization for Clients of Linked Data Fragments
ESWC2015 - Query Optimization for Clients of Linked Data FragmentsESWC2015 - Query Optimization for Clients of Linked Data Fragments
ESWC2015 - Query Optimization for Clients of Linked Data Fragments
 
Time travelling through DBpedia
Time travelling through DBpediaTime travelling through DBpedia
Time travelling through DBpedia
 
Towards a Uniform User Interface for Editing Mapping Definitions
Towards a Uniform User Interface for Editing Mapping DefinitionsTowards a Uniform User Interface for Editing Mapping Definitions
Towards a Uniform User Interface for Editing Mapping Definitions
 
Presentation Data Science Challenge
Presentation Data Science ChallengePresentation Data Science Challenge
Presentation Data Science Challenge
 
DBpedia Mappings Quality Assessment
DBpedia Mappings Quality AssessmentDBpedia Mappings Quality Assessment
DBpedia Mappings Quality Assessment
 
Scaling out federated queries for Life Sciences Data In Production
Scaling out federated queries for Life Sciences Data In ProductionScaling out federated queries for Life Sciences Data In Production
Scaling out federated queries for Life Sciences Data In Production
 
ComparativeMotifFinding
ComparativeMotifFindingComparativeMotifFinding
ComparativeMotifFinding
 
Effect of Heuristics on Serendipity in Path-Based Storytelling with Linked Data
Effect of Heuristics on Serendipity in Path-Based Storytelling with Linked DataEffect of Heuristics on Serendipity in Path-Based Storytelling with Linked Data
Effect of Heuristics on Serendipity in Path-Based Storytelling with Linked Data
 
RMLEditor: A Graph-based Mapping Editor for Linked Data Mappings
RMLEditor: A Graph-based Mapping Editor for Linked Data MappingsRMLEditor: A Graph-based Mapping Editor for Linked Data Mappings
RMLEditor: A Graph-based Mapping Editor for Linked Data Mappings
 
Benchmarking the Effectiveness of Associating Chains of Links for Exploratory...
Benchmarking the Effectiveness of Associating Chains of Links for Exploratory...Benchmarking the Effectiveness of Associating Chains of Links for Exploratory...
Benchmarking the Effectiveness of Associating Chains of Links for Exploratory...
 
OSLO: Open Standards for Linked Organizations
OSLO: Open Standards for Linked OrganizationsOSLO: Open Standards for Linked Organizations
OSLO: Open Standards for Linked Organizations
 
Reproducibility with 
the 99 cents Linked Data archive
Reproducibility with 
the 99 cents Linked Data archiveReproducibility with 
the 99 cents Linked Data archive
Reproducibility with 
the 99 cents Linked Data archive
 

Similar to Querying federations 
of Triple Pattern Fragments

NOSQL and Cassandra
NOSQL and CassandraNOSQL and Cassandra
NOSQL and Cassandra
rantav
 
Dremel: Interactive Analysis of Web-Scale Datasets
Dremel: Interactive Analysis of Web-Scale Datasets Dremel: Interactive Analysis of Web-Scale Datasets
Dremel: Interactive Analysis of Web-Scale Datasets
robertlz
 
MongoDB Replication and Sharding
MongoDB Replication and ShardingMongoDB Replication and Sharding
MongoDB Replication and Sharding
Tharun Srinivasa
 

Similar to Querying federations 
of Triple Pattern Fragments (20)

Neo4j after 1 year in production
Neo4j after 1 year in productionNeo4j after 1 year in production
Neo4j after 1 year in production
 
NOSQL and Cassandra
NOSQL and CassandraNOSQL and Cassandra
NOSQL and Cassandra
 
User-space Network Processing
User-space Network ProcessingUser-space Network Processing
User-space Network Processing
 
Cassandra Fundamentals - C* 2.0
Cassandra Fundamentals - C* 2.0Cassandra Fundamentals - C* 2.0
Cassandra Fundamentals - C* 2.0
 
Apidays Paris 2023 - Forget TypeScript, Choose Rust to build Robust, Fast and...
Apidays Paris 2023 - Forget TypeScript, Choose Rust to build Robust, Fast and...Apidays Paris 2023 - Forget TypeScript, Choose Rust to build Robust, Fast and...
Apidays Paris 2023 - Forget TypeScript, Choose Rust to build Robust, Fast and...
 
Dremel: Interactive Analysis of Web-Scale Datasets
Dremel: Interactive Analysis of Web-Scale Datasets Dremel: Interactive Analysis of Web-Scale Datasets
Dremel: Interactive Analysis of Web-Scale Datasets
 
cyclades eswc2016
cyclades eswc2016cyclades eswc2016
cyclades eswc2016
 
On the need for a W3C community group on RDF Stream Processing
On the need for a W3C community group on RDF Stream ProcessingOn the need for a W3C community group on RDF Stream Processing
On the need for a W3C community group on RDF Stream Processing
 
OrdRing 2013 keynote - On the need for a W3C community group on RDF Stream Pr...
OrdRing 2013 keynote - On the need for a W3C community group on RDF Stream Pr...OrdRing 2013 keynote - On the need for a W3C community group on RDF Stream Pr...
OrdRing 2013 keynote - On the need for a W3C community group on RDF Stream Pr...
 
Lifecycle of a Solr Search Request - Chris "Hoss" Hostetter, Lucidworks
Lifecycle of a Solr Search Request - Chris "Hoss" Hostetter, LucidworksLifecycle of a Solr Search Request - Chris "Hoss" Hostetter, Lucidworks
Lifecycle of a Solr Search Request - Chris "Hoss" Hostetter, Lucidworks
 
New lessons in connection management
New lessons in connection managementNew lessons in connection management
New lessons in connection management
 
AWS SSA Webinar 20 - Getting Started with Data Warehouses on AWS
AWS SSA Webinar 20 - Getting Started with Data Warehouses on AWSAWS SSA Webinar 20 - Getting Started with Data Warehouses on AWS
AWS SSA Webinar 20 - Getting Started with Data Warehouses on AWS
 
Presto at Tivo, Boston Hadoop Meetup
Presto at Tivo, Boston Hadoop MeetupPresto at Tivo, Boston Hadoop Meetup
Presto at Tivo, Boston Hadoop Meetup
 
MongoDB World 2019: RDBMS Versus MongoDB Aggregation Performance
MongoDB World 2019: RDBMS Versus MongoDB Aggregation PerformanceMongoDB World 2019: RDBMS Versus MongoDB Aggregation Performance
MongoDB World 2019: RDBMS Versus MongoDB Aggregation Performance
 
Distributed Queries in IDS: New features.
Distributed Queries in IDS: New features.Distributed Queries in IDS: New features.
Distributed Queries in IDS: New features.
 
MongoDB Replication and Sharding
MongoDB Replication and ShardingMongoDB Replication and Sharding
MongoDB Replication and Sharding
 
Drizzle—Low Latency Execution for Apache Spark: Spark Summit East talk by Shi...
Drizzle—Low Latency Execution for Apache Spark: Spark Summit East talk by Shi...Drizzle—Low Latency Execution for Apache Spark: Spark Summit East talk by Shi...
Drizzle—Low Latency Execution for Apache Spark: Spark Summit East talk by Shi...
 
Unified Big Data Processing with Apache Spark (QCON 2014)
Unified Big Data Processing with Apache Spark (QCON 2014)Unified Big Data Processing with Apache Spark (QCON 2014)
Unified Big Data Processing with Apache Spark (QCON 2014)
 
Scaling with MongoDB
Scaling with MongoDBScaling with MongoDB
Scaling with MongoDB
 
Cassandra consistency
Cassandra consistencyCassandra consistency
Cassandra consistency
 

Recently uploaded

VIP Call Girls Himatnagar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Himatnagar 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Himatnagar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Himatnagar 7001035870 Whatsapp Number, 24/07 Booking
dharasingh5698
 
💚😋 Bilaspur Escort Service Call Girls, 9352852248 ₹5000 To 25K With AC💚😋
💚😋 Bilaspur Escort Service Call Girls, 9352852248 ₹5000 To 25K With AC💚😋💚😋 Bilaspur Escort Service Call Girls, 9352852248 ₹5000 To 25K With AC💚😋
💚😋 Bilaspur Escort Service Call Girls, 9352852248 ₹5000 To 25K With AC💚😋
nirzagarg
 
Lucknow ❤CALL GIRL 88759*99948 ❤CALL GIRLS IN Lucknow ESCORT SERVICE❤CALL GIRL
Lucknow ❤CALL GIRL 88759*99948 ❤CALL GIRLS IN Lucknow ESCORT SERVICE❤CALL GIRLLucknow ❤CALL GIRL 88759*99948 ❤CALL GIRLS IN Lucknow ESCORT SERVICE❤CALL GIRL
Lucknow ❤CALL GIRL 88759*99948 ❤CALL GIRLS IN Lucknow ESCORT SERVICE❤CALL GIRL
imonikaupta
 
valsad Escorts Service ☎️ 6378878445 ( Sakshi Sinha ) High Profile Call Girls...
valsad Escorts Service ☎️ 6378878445 ( Sakshi Sinha ) High Profile Call Girls...valsad Escorts Service ☎️ 6378878445 ( Sakshi Sinha ) High Profile Call Girls...
valsad Escorts Service ☎️ 6378878445 ( Sakshi Sinha ) High Profile Call Girls...
Call Girls In Delhi Whatsup 9873940964 Enjoy Unlimited Pleasure
 
在线制作约克大学毕业证(yu毕业证)在读证明认证可查
在线制作约克大学毕业证(yu毕业证)在读证明认证可查在线制作约克大学毕业证(yu毕业证)在读证明认证可查
在线制作约克大学毕业证(yu毕业证)在读证明认证可查
ydyuyu
 
6.High Profile Call Girls In Punjab +919053900678 Punjab Call GirlHigh Profil...
6.High Profile Call Girls In Punjab +919053900678 Punjab Call GirlHigh Profil...6.High Profile Call Girls In Punjab +919053900678 Punjab Call GirlHigh Profil...
6.High Profile Call Girls In Punjab +919053900678 Punjab Call GirlHigh Profil...
@Chandigarh #call #Girls 9053900678 @Call #Girls in @Punjab 9053900678
 

Recently uploaded (20)

Busty Desi⚡Call Girls in Vasundhara Ghaziabad >༒8448380779 Escort Service
Busty Desi⚡Call Girls in Vasundhara Ghaziabad >༒8448380779 Escort ServiceBusty Desi⚡Call Girls in Vasundhara Ghaziabad >༒8448380779 Escort Service
Busty Desi⚡Call Girls in Vasundhara Ghaziabad >༒8448380779 Escort Service
 
Microsoft Azure Arc Customer Deck Microsoft
Microsoft Azure Arc Customer Deck MicrosoftMicrosoft Azure Arc Customer Deck Microsoft
Microsoft Azure Arc Customer Deck Microsoft
 
Call Girls Ludhiana Just Call 98765-12871 Top Class Call Girl Service Available
Call Girls Ludhiana Just Call 98765-12871 Top Class Call Girl Service AvailableCall Girls Ludhiana Just Call 98765-12871 Top Class Call Girl Service Available
Call Girls Ludhiana Just Call 98765-12871 Top Class Call Girl Service Available
 
Call Now ☎ 8264348440 !! Call Girls in Green Park Escort Service Delhi N.C.R.
Call Now ☎ 8264348440 !! Call Girls in Green Park Escort Service Delhi N.C.R.Call Now ☎ 8264348440 !! Call Girls in Green Park Escort Service Delhi N.C.R.
Call Now ☎ 8264348440 !! Call Girls in Green Park Escort Service Delhi N.C.R.
 
Pune Airport ( Call Girls ) Pune 6297143586 Hot Model With Sexy Bhabi Ready...
Pune Airport ( Call Girls ) Pune  6297143586  Hot Model With Sexy Bhabi Ready...Pune Airport ( Call Girls ) Pune  6297143586  Hot Model With Sexy Bhabi Ready...
Pune Airport ( Call Girls ) Pune 6297143586 Hot Model With Sexy Bhabi Ready...
 
VIP Call Girls Himatnagar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Himatnagar 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Himatnagar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Himatnagar 7001035870 Whatsapp Number, 24/07 Booking
 
Sarola * Female Escorts Service in Pune | 8005736733 Independent Escorts & Da...
Sarola * Female Escorts Service in Pune | 8005736733 Independent Escorts & Da...Sarola * Female Escorts Service in Pune | 8005736733 Independent Escorts & Da...
Sarola * Female Escorts Service in Pune | 8005736733 Independent Escorts & Da...
 
💚😋 Bilaspur Escort Service Call Girls, 9352852248 ₹5000 To 25K With AC💚😋
💚😋 Bilaspur Escort Service Call Girls, 9352852248 ₹5000 To 25K With AC💚😋💚😋 Bilaspur Escort Service Call Girls, 9352852248 ₹5000 To 25K With AC💚😋
💚😋 Bilaspur Escort Service Call Girls, 9352852248 ₹5000 To 25K With AC💚😋
 
Ganeshkhind ! Call Girls Pune - 450+ Call Girl Cash Payment 8005736733 Neha T...
Ganeshkhind ! Call Girls Pune - 450+ Call Girl Cash Payment 8005736733 Neha T...Ganeshkhind ! Call Girls Pune - 450+ Call Girl Cash Payment 8005736733 Neha T...
Ganeshkhind ! Call Girls Pune - 450+ Call Girl Cash Payment 8005736733 Neha T...
 
Hire↠Young Call Girls in Tilak nagar (Delhi) ☎️ 9205541914 ☎️ Independent Esc...
Hire↠Young Call Girls in Tilak nagar (Delhi) ☎️ 9205541914 ☎️ Independent Esc...Hire↠Young Call Girls in Tilak nagar (Delhi) ☎️ 9205541914 ☎️ Independent Esc...
Hire↠Young Call Girls in Tilak nagar (Delhi) ☎️ 9205541914 ☎️ Independent Esc...
 
Nanded City ( Call Girls ) Pune 6297143586 Hot Model With Sexy Bhabi Ready ...
Nanded City ( Call Girls ) Pune  6297143586  Hot Model With Sexy Bhabi Ready ...Nanded City ( Call Girls ) Pune  6297143586  Hot Model With Sexy Bhabi Ready ...
Nanded City ( Call Girls ) Pune 6297143586 Hot Model With Sexy Bhabi Ready ...
 
Dubai=Desi Dubai Call Girls O525547819 Outdoor Call Girls Dubai
Dubai=Desi Dubai Call Girls O525547819 Outdoor Call Girls DubaiDubai=Desi Dubai Call Girls O525547819 Outdoor Call Girls Dubai
Dubai=Desi Dubai Call Girls O525547819 Outdoor Call Girls Dubai
 
All Time Service Available Call Girls Mg Road 👌 ⏭️ 6378878445
All Time Service Available Call Girls Mg Road 👌 ⏭️ 6378878445All Time Service Available Call Girls Mg Road 👌 ⏭️ 6378878445
All Time Service Available Call Girls Mg Road 👌 ⏭️ 6378878445
 
Lucknow ❤CALL GIRL 88759*99948 ❤CALL GIRLS IN Lucknow ESCORT SERVICE❤CALL GIRL
Lucknow ❤CALL GIRL 88759*99948 ❤CALL GIRLS IN Lucknow ESCORT SERVICE❤CALL GIRLLucknow ❤CALL GIRL 88759*99948 ❤CALL GIRLS IN Lucknow ESCORT SERVICE❤CALL GIRL
Lucknow ❤CALL GIRL 88759*99948 ❤CALL GIRLS IN Lucknow ESCORT SERVICE❤CALL GIRL
 
Russian Call Girls in %(+971524965298 )# Call Girls in Dubai
Russian Call Girls in %(+971524965298  )#  Call Girls in DubaiRussian Call Girls in %(+971524965298  )#  Call Girls in Dubai
Russian Call Girls in %(+971524965298 )# Call Girls in Dubai
 
valsad Escorts Service ☎️ 6378878445 ( Sakshi Sinha ) High Profile Call Girls...
valsad Escorts Service ☎️ 6378878445 ( Sakshi Sinha ) High Profile Call Girls...valsad Escorts Service ☎️ 6378878445 ( Sakshi Sinha ) High Profile Call Girls...
valsad Escorts Service ☎️ 6378878445 ( Sakshi Sinha ) High Profile Call Girls...
 
在线制作约克大学毕业证(yu毕业证)在读证明认证可查
在线制作约克大学毕业证(yu毕业证)在读证明认证可查在线制作约克大学毕业证(yu毕业证)在读证明认证可查
在线制作约克大学毕业证(yu毕业证)在读证明认证可查
 
6.High Profile Call Girls In Punjab +919053900678 Punjab Call GirlHigh Profil...
6.High Profile Call Girls In Punjab +919053900678 Punjab Call GirlHigh Profil...6.High Profile Call Girls In Punjab +919053900678 Punjab Call GirlHigh Profil...
6.High Profile Call Girls In Punjab +919053900678 Punjab Call GirlHigh Profil...
 
WhatsApp 📞 8448380779 ✅Call Girls In Mamura Sector 66 ( Noida)
WhatsApp 📞 8448380779 ✅Call Girls In Mamura Sector 66 ( Noida)WhatsApp 📞 8448380779 ✅Call Girls In Mamura Sector 66 ( Noida)
WhatsApp 📞 8448380779 ✅Call Girls In Mamura Sector 66 ( Noida)
 
APNIC Updates presented by Paul Wilson at ARIN 53
APNIC Updates presented by Paul Wilson at ARIN 53APNIC Updates presented by Paul Wilson at ARIN 53
APNIC Updates presented by Paul Wilson at ARIN 53
 

Querying federations 
of Triple Pattern Fragments

  • 1. Querying Federations
 of Triple Pattern Fragments Ruben Verborgh Tutorial
  • 2. Linked Data Fragments Triple Pattern Fragments Federated querying Querying Federations
 of Triple Pattern Fragments
  • 3. Linked Data Fragments Triple Pattern Fragments Federated querying Querying Federations
 of Triple Pattern Fragments
  • 4. A whole spectrum of trade-offs
 exists between the two extremes. high server costlow server cost data
 dump SPARQL
 endpoint interface offered by the server high availability low availability high bandwidth low bandwidth out-of-date data live data low client costhigh client cost Linked Data
 documents
  • 5. data metadata controls What triples does it contain? What do we know about it? How to access more data? All RDF interfaces offer fragments
 with the following characteristics.
  • 6. all dataset triples (none) data dump number of triples, file size data metadata controls Each type of Linked Data Fragment
 is defined by three characteristics.
  • 7. triples matching the query (none) (none) SPARQL query result data metadata controls Each type of Linked Data Fragment
 is defined by three characteristics.
  • 8. Linked Data Fragments Triple Pattern Fragments Federated querying Querying Federations
 of Triple Pattern Fragments
  • 9. We design new mixes of trade-offs
 with much lower server-side cost. high server costlow server cost data
 dump SPARQL
 query results high availability low availability high bandwidth low bandwidth out-of-date data live data low client costhigh client cost Linked Data
 documents
  • 10. low server cost data
 dump SPARQL
 query results high availability live data Linked Data
 documents Triple Pattern
 Fragments A Triple Pattern Fragments interface
 is low-cost and enables clients to query.
  • 11. matches of a triple pattern total number of matches access to all other fragments data metadata controls (paged) A Triple Pattern Fragments interface
 is low-cost and enables clients to query.
  • 12. data (first 100) controls (other fragments) metadata (total count)
  • 13. Give them a SPARQL query.
 Give them a URL of any dataset fragment. How can intelligent clients
 solve SPARQL queries over fragments? They look inside the fragment
 to see how to access the dataset and use the metadata
 to decide how to plan the query.
  • 14. Let’s follow the execution
 of an example SPARQL query. SELECT ?artist ?name WHERE { ?artist a dbpedia-owl:Artist; rdfs:label ?name; dbpedia-owl:birthPlace dbpedia:Padua. FILTER LANGMATCHES(LANG(?name), "EN") } Find names of artists born in Padua, Italy. Fragment: http://fragments.dbpedia.org/2014/en
  • 15. The client looks inside the fragment
 to see how to access the dataset. <http://fragments.dbpedia.org/2014/en#dataset> hydra:search [ hydra:template "http://fragments.dbpedia.org/2014/en {?subject,predicate,object}"; hydra:mapping [ hydra:variable "subject"; hydra:property rdf:subject ], [ hydra:variable "predicate"; hydra:property rdf:predicate ], [ hydra:variable "object"; hydra:property rdf:object ] ]. Fragment: http://fragments.dbpedia.org/2014/en “I can query the dataset by triple pattern.”
  • 16. The client splits the query
 into the available fragments. SELECT ?artist ?name WHERE { ?artist a dbpedia-owl:Artist; rdfs:label ?name; dbpedia-owl:birthPlace dbpedia:Padua. FILTER LANGMATCHES(LANG(?name), "EN") }
  • 17. The client gets the fragments
 and inspects their metadata. ?artist a dbpedia-owl:Artist. first 100 triples 96.000 ?artist rdfs:label ?name. first 100 triples 12.000.000 ?artist dbont:birthPlace dbpedia:Padua. first 100 triples 135
  • 18. ?artist a dbpedia-owl:Artist. 96.000 ?artist rdfs:label ?name. 12.000.000 ?artist dbont:birthPlace dbpedia:Padua. dbpedia:Alberto_Benettin dbont:birthPlace dbpedia:Padua. 135 dbpedia:Alberto_Bigon dbont:birthPlace dbpedia:Padua. The metadata enables the client
 to choose the right starting point. dbp:Alberto_Benettin a dbont:Artist. dbp:Alberto_Benettin rdfs:label ?name.
  • 19. Clients execute the query in 3 seconds
 on a highly available, low-cost server. SELECT ?artist ?name WHERE { ?artist a dbpedia-owl:Artist; rdfs:label ?name; dbpedia-owl:birthPlace dbpedia:Padua. FILTER LANGMATCHES(LANG(?name), "EN") } Try it yourself:
 bit.ly/artistspadua
  • 20. Querying Datasets on 1 10 100 10100100010000 clients throughput(q/hr) Virtuoso 6 Fuseki–tdb triple pattern Fig. 3.1: Server performance (log-log plot) The query throughput is lower,
 but resilient to high client numbers. executed SPARQL queries per hour
  • 21. The server traffic is higher,
 but requests are significantly lighter. ets on the Web with High Availability 13 oso 6 Virtuoso 7 –tdb Fuseki–hdt pattern fragments 1 10 100 0 2 4 clients datasent(mb) Fig. 3.2: Server network trafficdata sent by server in MB
  • 22. Caching is significantly more effective,
 as clients reuse fragments for queries. 1 10 100 0 2 clients t(mb) Fig. 3.2: Server network traffic 1 10 100 0 10 20 clients sent(mb) Fig. 3.4: Cache network traffic 6 8 ramus data sent by cache in MB
  • 23. The server uses much less CPU,
 allowing for higher availability. server CPU usage per core 1 10 100 0 50 100 150 clients #timeou Fig. 3.3: Query timeouts 1 1 10 100 0 50 100 clients cpuuse(%) Fig. 3.5: Server processor usage per core 1 100 e(%)
  • 24. Linked Data Fragments Triple Pattern Fragments Federated querying Querying Federations
 of Triple Pattern Fragments
  • 25. Federated querying is native
 to Triple Pattern Fragment clients. Every query is decomposed locally. Clients send simple requests to a server. For clients, it doesn’t matter
 which server they send queries to.
  • 26. For federation, we just send queries
 to multiple servers. No prior source selection. Each triple pattern is sent to all servers. If a certain pattern has no result,
 just don’t send more specific patterns.
  • 27. Federation compares pretty well
 to SPARQL endpoint federation. dge date n of nter- mea- s on er in pos- the nter- ular om- TPF ANAPSID ANAPSIDEG FedX(warm) SPLENDID LD . . . . . LD . . . . . LD . . . . . LD . . . . . LD . . . . . LD . . . . . LD . . . . . LD . . . . . LD . . . . . LD . . . . . LD . . . . . LS . . . . . LS . . . . . FedBench recall
  • 28. Federation compares pretty well
 to SPARQL endpoint federation. dge date n of nter- mea- s on er in pos- the nter- ular om- TPF ANAPSID ANAPSIDEG FedX(warm) SPLENDID LD . . . . . LD . . . . . LD . . . . . LD . . . . . LD . . . . . LD . . . . . LD . . . . . LD . . . . . LD . . . . . LD . . . . . LD . . . . . LS . . . . . LS . . . . . recall Complex
 queries ets mat hed EC ated Data CD) om- gain was , ac- m in ncy. bers the ems: Ex- LS . . . . . LS . . . . . LS . . . . . LS . . . . . LS . . . . . CD . . . . . CD . . . . . CD . . . . . CD . . . . . CD . . . . . CD . . . . . CD . . . . . C . . . . . C . . . . . C . . . . . C . . . . . C . . . . . C . . . . . C . . . . . C . . . . . C . . . . . C . . . . . # queries = . .
  • 29. Federation compares pretty well,
 even time-wise in some cases. LD LD LD LD LD LD LD LD LD LD LD CD 50 100 executiontime(s) 150 200 250 300 iontime(s) LD LD LD LD LD LD LD LD LD CD CD CD CD CD LS LS LS LS LS C C C C C C C C TPF ANAPSID ANAPSID EG FedX SPLENDID mes of FedBench query execution on the TPF client/server setup compared to SPARQL endp FedBench
  • 30. Federation compares pretty well,
 even time-wise in some cases. LD LD LD LD LD LD LD LD LD LD LD CD 50 100 executiontime( LS LS LS LS LS LS LS C C C C 0 50 100 150 200 250 300 executiontime(s) TPF ANAPSID ANAPSID EG FedX Figure : Evaluation times of FedBench query execution on the TPF client/server setup c systems (timeout of s). These measurements should be considered together with TPF-related measurements were performed in the context of this article; the numbers LD LD LD LD LD LD LD LD LD CD CD CD CD CD LS LS LS LS LS C C C C C C C C TPF ANAPSID ANAPSID EG FedX SPLENDID mes of FedBench query execution on the TPF client/server setup compared to SPARQL endp LD LD LD LD LD CD CD CD CD CD CD CD LS C C C C C C C C C C NAPSID ANAPSID EG FedX SPLENDID xecution on the TPF client/server setup compared to SPARQL endpoint federation nts should be considered together with the recall for each query (Table ). The the context of this article; the numbers for the four SPARQL endpoint federation Complex
 queries
  • 31. Note the different setup
 in the previous comparisons. SPARQL endpoint federation
 was measured with local servers. Triple Pattern Fragments federation
 was measured over the Web.
  • 32. Linked Data Fragments Triple Pattern Fragments Federated querying Querying Federations
 of Triple Pattern Fragments
  • 33. Triple Pattern Fragments are easy:
 all software is available as open source. github.com/LinkedDataFragments linkeddatafragments.org Software Documentation and specification
  • 34. More than 650.000 TPF interfaces
 are available for federated querying. fragments.dbpedia.org lodlaundromat.org/wardrobe/ data.linkeddatafragments.org