SlideShare a Scribd company logo
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

PDF
DBpedia's Triple Pattern Fragments
PDF
Sustainable queryable access to Linked Data
PDF
The Future is Federated
PDF
Querying datasets on the Web with high availability
PDF
Live DBpedia querying with high availability
PDF
Linked Data Fragments
PDF
Functional Composition of Sensor Web APIs
PDF
Initial Usage Analysis of DBpedia's Triple Pattern Fragments
DBpedia's Triple Pattern Fragments
Sustainable queryable access to Linked Data
The Future is Federated
Querying datasets on the Web with high availability
Live DBpedia querying with high availability
Linked Data Fragments
Functional Composition of Sensor Web APIs
Initial Usage Analysis of DBpedia's Triple Pattern Fragments

What's hot (20)

PDF
The Lonesome LOD Cloud
PDF
The Digital Cavemen of Linked Lascaux
PDF
Querying data on the Web – client or server?
PDF
Linking media, data, and services
PDF
Reasoned SPARQL
PPTX
Creating 3rd Generation Web APIs with Hydra
PDF
Distributed Affordance
PPTX
About elasticsearch
PPT
Synchronicity: Just-In-Time Discovery of Lost Web Pages
PPTX
On the Persistence of Persistent Identifiers of the Scholarly Web
PDF
RESTdesc – Efficient runtime service discovery and consumption
PDF
Building a data processing pipeline in Python
PDF
Log File Analysis: The most powerful tool in your SEO toolkit
PDF
Advanced MongoDB Aggregation Pipelines
PDF
Use Cases for Elastic Search Percolator
PPTX
Learning W3C Linked Data Platform with examples
PPTX
Introduction to Linked Data Platform (LDP)
PPTX
Using server logs to your advantage
PPTX
Epiphany: Adaptable RDFa Generation Linking the Web of Documents to the Web o...
PDF
Your Data, Your Search, ElasticSearch (EURUKO 2011)
The Lonesome LOD Cloud
The Digital Cavemen of Linked Lascaux
Querying data on the Web – client or server?
Linking media, data, and services
Reasoned SPARQL
Creating 3rd Generation Web APIs with Hydra
Distributed Affordance
About elasticsearch
Synchronicity: Just-In-Time Discovery of Lost Web Pages
On the Persistence of Persistent Identifiers of the Scholarly Web
RESTdesc – Efficient runtime service discovery and consumption
Building a data processing pipeline in Python
Log File Analysis: The most powerful tool in your SEO toolkit
Advanced MongoDB Aggregation Pipelines
Use Cases for Elastic Search Percolator
Learning W3C Linked Data Platform with examples
Introduction to Linked Data Platform (LDP)
Using server logs to your advantage
Epiphany: Adaptable RDFa Generation Linking the Web of Documents to the Web o...
Your Data, Your Search, ElasticSearch (EURUKO 2011)
Ad

Viewers also liked (20)

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

Similar to Querying federations 
of Triple Pattern Fragments (20)

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

Recently uploaded (20)

PDF
The Internet -By the Numbers, Sri Lanka Edition
PPTX
INTERNET------BASICS-------UPDATED PPT PRESENTATION
PDF
Tenda Login Guide: Access Your Router in 5 Easy Steps
PDF
APNIC Update, presented at PHNOG 2025 by Shane Hermoso
PDF
Sims 4 Historia para lo sims 4 para jugar
PPTX
Introuction about WHO-FIC in ICD-10.pptx
PDF
Introduction to the IoT system, how the IoT system works
PPTX
SAP Ariba Sourcing PPT for learning material
PPT
isotopes_sddsadsaadasdasdasdasdsa1213.ppt
PDF
Paper PDF World Game (s) Great Redesign.pdf
PDF
WebRTC in SignalWire - troubleshooting media negotiation
PDF
How to Ensure Data Integrity During Shopify Migration_ Best Practices for Sec...
PDF
An introduction to the IFRS (ISSB) Stndards.pdf
PDF
RPKI Status Update, presented by Makito Lay at IDNOG 10
PPTX
introduction about ICD -10 & ICD-11 ppt.pptx
PPTX
522797556-Unit-2-Temperature-measurement-1-1.pptx
PPTX
E -tech empowerment technologies PowerPoint
PPTX
Power Point - Lesson 3_2.pptx grad school presentation
PPTX
Introuction about ICD -10 and ICD-11 PPT.pptx
PDF
Cloud-Scale Log Monitoring _ Datadog.pdf
The Internet -By the Numbers, Sri Lanka Edition
INTERNET------BASICS-------UPDATED PPT PRESENTATION
Tenda Login Guide: Access Your Router in 5 Easy Steps
APNIC Update, presented at PHNOG 2025 by Shane Hermoso
Sims 4 Historia para lo sims 4 para jugar
Introuction about WHO-FIC in ICD-10.pptx
Introduction to the IoT system, how the IoT system works
SAP Ariba Sourcing PPT for learning material
isotopes_sddsadsaadasdasdasdasdsa1213.ppt
Paper PDF World Game (s) Great Redesign.pdf
WebRTC in SignalWire - troubleshooting media negotiation
How to Ensure Data Integrity During Shopify Migration_ Best Practices for Sec...
An introduction to the IFRS (ISSB) Stndards.pdf
RPKI Status Update, presented by Makito Lay at IDNOG 10
introduction about ICD -10 & ICD-11 ppt.pptx
522797556-Unit-2-Temperature-measurement-1-1.pptx
E -tech empowerment technologies PowerPoint
Power Point - Lesson 3_2.pptx grad school presentation
Introuction about ICD -10 and ICD-11 PPT.pptx
Cloud-Scale Log Monitoring _ Datadog.pdf

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