SlideShare ist ein Scribd-Unternehmen logo
1 von 21
Downloaden Sie, um offline zu lesen
Ruben Taelman - @rubensworks
iMinds - Ghent University
Continuously Updating Query Results
over Real-Time Linked Data
Dynamic Linked Data
E.g. Thermometer measures every minute:
“19,05°C” - 30-05-2016 11:00
“19,06°C” - 30-05-2016 11:01
“19,11°C” - 30-05-2016 11:02
“19,08°C” - 30-05-2016 11:03
…
Typically exposed as an RDF stream = stream of <RDF triple, timestamp>
Querying continous data
Clients send queries to server: e.g. What is the current temperature?
Server continuously evaluates the queries
→ Server does all of the work
Cause of low public endpoint availability!
½ have availability of < 95% (Buil-Aranda 2013)
→ Clients just wait for results
What if we moved continuous query evaluation to the client?
→ to lower server load
Triple Pattern Fragments does this for static data!
Triple pattern fragments (TPF) (Verborgh 2016):
Servers can only respond to triple pattern queries
Clients need to evaluate queries locally
→ Lowers server complexity
Can we do the same for dynamic data?
Overview
Dynamic data representation
Query streamer engine
Evaluation
Overview
Dynamic data representation
Query streamer engine
Evaluation
Dynamic data representation
Expose dynamic data through the TPF interface
→ Represent dynamic data in RDF
We annotate dynamic data with the time at which they are valid
→ Client can derive the time at which data can change!
But how do we annotate data/triples with time?
Annotation methods
Reification
Singleton properties (Nguyen 2014)
Graphs
Implicit graphs
Outdated
Instantiate predicates
Define fourth element in quad
TPF makes triples (de)referencable
Time labeling types
Time interval
Expiration time
Start- and endtime of validity
Good for maintaining a history of elements
Endtime of validity
When only the latest version is required
Dynamic data example
radio:bbc-radio-1 m:plays radio:jauz-netsky-higher.
GRAPH _:g1 {
radio:bbc-radio-1 m:plays radio:jauz-netsky-higher.
}
_:g1 tmp:interval _:interval_1.
_:interval_1 tmp:initial "2016-05-30T09:15:00"^^xsd:dateTime.
_:interval_1 tmp:final "2016-05-30T09:20:00"^^xsd:dateTime.
Graph-annotation: [ 9:15, 9:20 ]
Overview
Dynamic data representation
Query engine
Evaluation
Query streamer engine
Overview
Dynamic data representation
Query streamer engine
Evaluation
Measure query execution times for query duration
Query: “All trains with their delay in station X within the next hour”
Frequency: 10 seconds
Clients: 1
Engine: Query streamer
Annotation methods: singleton property, graph, implicit graph
Time labeling types: time interval, expiration time
Evaluating annotation methods
Evaluating annotation methods
Time interval Expiration time
Evaluating scalability
Measure server CPU usage for increasing # clients
Query: “All trains with their delay in station X within the next hour”
Frequency: 10 seconds
Clients: 1 → 200
Engines: Query streamer, C-SPARQL (Barbieri 2012) and
CQELS (Le-Phuoc 2011)
Annotation method: graph
Time labeling types: expiration time
Query Streamer has better scalability
Query Streamer moves load from server to client
Overview
Dynamic data representation
Annotate dynamic data with time
Query streamer engine
Client-side query engine
Dynamic data at TPF server
Evaluation
Annotation methods
Scalability
Conclusions
Further evaluation: Different query types, …?
Solve efficiency-problem time intervals?
Promising approach for improved scalability

Weitere ähnliche Inhalte

Was ist angesagt?

Ceilometer lsf-intergration-openstack-summit
Ceilometer lsf-intergration-openstack-summitCeilometer lsf-intergration-openstack-summit
Ceilometer lsf-intergration-openstack-summit
Tim Bell
 
WHODIS_kearns_presentation.v0a
WHODIS_kearns_presentation.v0aWHODIS_kearns_presentation.v0a
WHODIS_kearns_presentation.v0a
Edward Kearns
 
Fabian Hueske - Stream Analytics with SQL on Apache Flink
Fabian Hueske - Stream Analytics with SQL on Apache FlinkFabian Hueske - Stream Analytics with SQL on Apache Flink
Fabian Hueske - Stream Analytics with SQL on Apache Flink
Ververica
 

Was ist angesagt? (19)

Keynote: Stephan Ewen - Stream Processing as a Foundational Paradigm and Apac...
Keynote: Stephan Ewen - Stream Processing as a Foundational Paradigm and Apac...Keynote: Stephan Ewen - Stream Processing as a Foundational Paradigm and Apac...
Keynote: Stephan Ewen - Stream Processing as a Foundational Paradigm and Apac...
 
Ceilometer lsf-intergration-openstack-summit
Ceilometer lsf-intergration-openstack-summitCeilometer lsf-intergration-openstack-summit
Ceilometer lsf-intergration-openstack-summit
 
Apache Flink's Table & SQL API - unified APIs for batch and stream processing
Apache Flink's Table & SQL API - unified APIs for batch and stream processingApache Flink's Table & SQL API - unified APIs for batch and stream processing
Apache Flink's Table & SQL API - unified APIs for batch and stream processing
 
Stream Analytics with SQL on Apache Flink
Stream Analytics with SQL on Apache FlinkStream Analytics with SQL on Apache Flink
Stream Analytics with SQL on Apache Flink
 
Prometheus on AWS
Prometheus on AWSPrometheus on AWS
Prometheus on AWS
 
Redis Day TLV 2018 - RediSearch Aggregations
Redis Day TLV 2018 - RediSearch AggregationsRedis Day TLV 2018 - RediSearch Aggregations
Redis Day TLV 2018 - RediSearch Aggregations
 
Redis Day TLV 2018 - Redis as a Time-Series DB
Redis Day TLV 2018 - Redis as a Time-Series DBRedis Day TLV 2018 - Redis as a Time-Series DB
Redis Day TLV 2018 - Redis as a Time-Series DB
 
WHODIS_kearns_presentation.v0a
WHODIS_kearns_presentation.v0aWHODIS_kearns_presentation.v0a
WHODIS_kearns_presentation.v0a
 
Stephan Ewen - Stream Processing as a Foundational Paradigm and Apache Flink'...
Stephan Ewen - Stream Processing as a Foundational Paradigm and Apache Flink'...Stephan Ewen - Stream Processing as a Foundational Paradigm and Apache Flink'...
Stephan Ewen - Stream Processing as a Foundational Paradigm and Apache Flink'...
 
Monitoring with riemann
Monitoring with riemannMonitoring with riemann
Monitoring with riemann
 
C* Summit EU 2013: Analytics On Top of Cassandra and Hadoop
C* Summit EU 2013: Analytics On Top of Cassandra and HadoopC* Summit EU 2013: Analytics On Top of Cassandra and Hadoop
C* Summit EU 2013: Analytics On Top of Cassandra and Hadoop
 
Intoduce Xephon-B
Intoduce Xephon-B Intoduce Xephon-B
Intoduce Xephon-B
 
Running a MapReduce job on AWS
Running a MapReduce job on AWSRunning a MapReduce job on AWS
Running a MapReduce job on AWS
 
Join semantics in kafka streams
Join semantics in kafka streamsJoin semantics in kafka streams
Join semantics in kafka streams
 
Qtp testing23
Qtp testing23Qtp testing23
Qtp testing23
 
Gyula Fóra - RBEA- Scalable Real-Time Analytics at King
Gyula Fóra - RBEA- Scalable Real-Time Analytics at KingGyula Fóra - RBEA- Scalable Real-Time Analytics at King
Gyula Fóra - RBEA- Scalable Real-Time Analytics at King
 
Fabian Hueske - Stream Analytics with SQL on Apache Flink
Fabian Hueske - Stream Analytics with SQL on Apache FlinkFabian Hueske - Stream Analytics with SQL on Apache Flink
Fabian Hueske - Stream Analytics with SQL on Apache Flink
 
Load Balancing in Cloud Computing Thesis Research Help
Load Balancing in Cloud Computing Thesis Research HelpLoad Balancing in Cloud Computing Thesis Research Help
Load Balancing in Cloud Computing Thesis Research Help
 
I²: Interactive Real-Time Visualization for Streaming Data with Apache Flink ...
I²: Interactive Real-Time Visualization for Streaming Data with Apache Flink ...I²: Interactive Real-Time Visualization for Streaming Data with Apache Flink ...
I²: Interactive Real-Time Visualization for Streaming Data with Apache Flink ...
 

Andere mochten auch

Kent English Profile
Kent English ProfileKent English Profile
Kent English Profile
Rex Kent Liu
 
PowerPoint Presentation.2015
PowerPoint Presentation.2015PowerPoint Presentation.2015
PowerPoint Presentation.2015
Samar Kamel
 
Tienda motor store
Tienda motor storeTienda motor store
Tienda motor store
Amaiitaa
 

Andere mochten auch (15)

Kent English Profile
Kent English ProfileKent English Profile
Kent English Profile
 
EKAW - Linked Data Publishing
EKAW - Linked Data PublishingEKAW - Linked Data Publishing
EKAW - Linked Data Publishing
 
PowerPoint Presentation.2015
PowerPoint Presentation.2015PowerPoint Presentation.2015
PowerPoint Presentation.2015
 
Abhishek
AbhishekAbhishek
Abhishek
 
Camera Angles
Camera AnglesCamera Angles
Camera Angles
 
Jelly Shots
Jelly ShotsJelly Shots
Jelly Shots
 
The Demon Final
The Demon FinalThe Demon Final
The Demon Final
 
EKAW - Triple Pattern Fragments
EKAW - Triple Pattern FragmentsEKAW - Triple Pattern Fragments
EKAW - Triple Pattern Fragments
 
Tienda motor store
Tienda motor storeTienda motor store
Tienda motor store
 
Penguat transistor
Penguat transistorPenguat transistor
Penguat transistor
 
Nome - logo book
Nome  - logo bookNome  - logo book
Nome - logo book
 
Docker Intro
Docker IntroDocker Intro
Docker Intro
 
Flower lamp
Flower lampFlower lamp
Flower lamp
 
Trade commodity finance and its services
Trade commodity finance and its servicesTrade commodity finance and its services
Trade commodity finance and its services
 
Computer aided analysis and design of multi story building
Computer aided analysis and design of multi story buildingComputer aided analysis and design of multi story building
Computer aided analysis and design of multi story building
 

Ähnlich wie Continuously Updating Query Results over Real-Time Linked Data

Parallel analytics as a service
Parallel analytics as a serviceParallel analytics as a service
Parallel analytics as a service
Petrie Wong
 
Optimization of Continuous Queries in Federated Database and Stream Processin...
Optimization of Continuous Queries in Federated Database and Stream Processin...Optimization of Continuous Queries in Federated Database and Stream Processin...
Optimization of Continuous Queries in Federated Database and Stream Processin...
Zbigniew Jerzak
 
IPLC Analytic Dashboard - Mohd Rizal bin Mohd Ramly
IPLC Analytic Dashboard - Mohd Rizal bin Mohd RamlyIPLC Analytic Dashboard - Mohd Rizal bin Mohd Ramly
IPLC Analytic Dashboard - Mohd Rizal bin Mohd Ramly
MyNOG
 
METRO NTD FINAL Presentation Last revision
METRO NTD FINAL Presentation Last revisionMETRO NTD FINAL Presentation Last revision
METRO NTD FINAL Presentation Last revision
Rogelio Fonseca
 

Ähnlich wie Continuously Updating Query Results over Real-Time Linked Data (20)

Continuous Processing with Apache Flink - Strata London 2016
Continuous Processing with Apache Flink - Strata London 2016Continuous Processing with Apache Flink - Strata London 2016
Continuous Processing with Apache Flink - Strata London 2016
 
Have your cake and eat it too, further dispelling the myths of the lambda arc...
Have your cake and eat it too, further dispelling the myths of the lambda arc...Have your cake and eat it too, further dispelling the myths of the lambda arc...
Have your cake and eat it too, further dispelling the myths of the lambda arc...
 
Big Data Day LA 2016/ Big Data Track - Portable Stream and Batch Processing w...
Big Data Day LA 2016/ Big Data Track - Portable Stream and Batch Processing w...Big Data Day LA 2016/ Big Data Track - Portable Stream and Batch Processing w...
Big Data Day LA 2016/ Big Data Track - Portable Stream and Batch Processing w...
 
Parallel analytics as a service
Parallel analytics as a serviceParallel analytics as a service
Parallel analytics as a service
 
Flink Forward San Francisco 2019: The Trade Desk's Year in Flink - Jonathan ...
Flink Forward San Francisco 2019: The Trade Desk's Year in Flink -  Jonathan ...Flink Forward San Francisco 2019: The Trade Desk's Year in Flink -  Jonathan ...
Flink Forward San Francisco 2019: The Trade Desk's Year in Flink - Jonathan ...
 
Automated Parameterization of Performance Models from Measurements
Automated Parameterization of Performance Models from MeasurementsAutomated Parameterization of Performance Models from Measurements
Automated Parameterization of Performance Models from Measurements
 
Journal paper 1
Journal paper 1Journal paper 1
Journal paper 1
 
Enhancing the NS-2 Traffic Generator for the MANETs
Enhancing the NS-2 Traffic Generator for the MANETsEnhancing the NS-2 Traffic Generator for the MANETs
Enhancing the NS-2 Traffic Generator for the MANETs
 
Optimization of Continuous Queries in Federated Database and Stream Processin...
Optimization of Continuous Queries in Federated Database and Stream Processin...Optimization of Continuous Queries in Federated Database and Stream Processin...
Optimization of Continuous Queries in Federated Database and Stream Processin...
 
An Introduction to Distributed Data Streaming
An Introduction to Distributed Data StreamingAn Introduction to Distributed Data Streaming
An Introduction to Distributed Data Streaming
 
GraphConnect 2014 SF: Neo4j at Scale using Enterprise Integration Patterns
GraphConnect 2014 SF: Neo4j at Scale using Enterprise Integration PatternsGraphConnect 2014 SF: Neo4j at Scale using Enterprise Integration Patterns
GraphConnect 2014 SF: Neo4j at Scale using Enterprise Integration Patterns
 
IPLC Analytic Dashboard - Mohd Rizal bin Mohd Ramly
IPLC Analytic Dashboard - Mohd Rizal bin Mohd RamlyIPLC Analytic Dashboard - Mohd Rizal bin Mohd Ramly
IPLC Analytic Dashboard - Mohd Rizal bin Mohd Ramly
 
Pdcs2010 balman-presentation
Pdcs2010 balman-presentationPdcs2010 balman-presentation
Pdcs2010 balman-presentation
 
Streaming SQL to unify batch and stream processing: Theory and practice with ...
Streaming SQL to unify batch and stream processing: Theory and practice with ...Streaming SQL to unify batch and stream processing: Theory and practice with ...
Streaming SQL to unify batch and stream processing: Theory and practice with ...
 
Social Network Benchmark Interactive Workload
Social Network Benchmark Interactive WorkloadSocial Network Benchmark Interactive Workload
Social Network Benchmark Interactive Workload
 
Social Network Benchmark Interactive Workload
Social Network Benchmark Interactive WorkloadSocial Network Benchmark Interactive Workload
Social Network Benchmark Interactive Workload
 
Meniscus Advanced Energy Analytics Platform
Meniscus Advanced Energy Analytics PlatformMeniscus Advanced Energy Analytics Platform
Meniscus Advanced Energy Analytics Platform
 
On Demand Time Sychronizaton for Wireless Sensor Networks-november2009
On Demand Time Sychronizaton for Wireless Sensor Networks-november2009On Demand Time Sychronizaton for Wireless Sensor Networks-november2009
On Demand Time Sychronizaton for Wireless Sensor Networks-november2009
 
Query optimization for_sensor_networks
Query optimization for_sensor_networksQuery optimization for_sensor_networks
Query optimization for_sensor_networks
 
METRO NTD FINAL Presentation Last revision
METRO NTD FINAL Presentation Last revisionMETRO NTD FINAL Presentation Last revision
METRO NTD FINAL Presentation Last revision
 

Mehr von Ruben Taelman

Poster Demonstration of Comunica, a Web framework for querying heterogeneous ...
Poster Demonstration of Comunica, a Web framework for querying heterogeneous ...Poster Demonstration of Comunica, a Web framework for querying heterogeneous ...
Poster Demonstration of Comunica, a Web framework for querying heterogeneous ...
Ruben Taelman
 
Poster Declaratively Describing Responses of Hypermedia-Driven Web APIs
Poster Declaratively Describing Responses of Hypermedia-Driven Web APIsPoster Declaratively Describing Responses of Hypermedia-Driven Web APIs
Poster Declaratively Describing Responses of Hypermedia-Driven Web APIs
Ruben Taelman
 
PoDiGG: Public Transport Dataset Generator based on Population Distributions
PoDiGG: Public Transport Dataset Generator based on Population DistributionsPoDiGG: Public Transport Dataset Generator based on Population Distributions
PoDiGG: Public Transport Dataset Generator based on Population Distributions
Ruben Taelman
 

Mehr von Ruben Taelman (10)

Poster Demonstration of Comunica, a Web framework for querying heterogeneous ...
Poster Demonstration of Comunica, a Web framework for querying heterogeneous ...Poster Demonstration of Comunica, a Web framework for querying heterogeneous ...
Poster Demonstration of Comunica, a Web framework for querying heterogeneous ...
 
Poster GraphQL-LD: Linked Data Querying with GraphQL
Poster GraphQL-LD: Linked Data Querying with GraphQLPoster GraphQL-LD: Linked Data Querying with GraphQL
Poster GraphQL-LD: Linked Data Querying with GraphQL
 
Poster Declaratively Describing Responses of Hypermedia-Driven Web APIs
Poster Declaratively Describing Responses of Hypermedia-Driven Web APIsPoster Declaratively Describing Responses of Hypermedia-Driven Web APIs
Poster Declaratively Describing Responses of Hypermedia-Driven Web APIs
 
Components.js
Components.jsComponents.js
Components.js
 
Versioned Triple Pattern Fragments
Versioned Triple Pattern FragmentsVersioned Triple Pattern Fragments
Versioned Triple Pattern Fragments
 
Versioned Triple Pattern Fragments
Versioned Triple Pattern FragmentsVersioned Triple Pattern Fragments
Versioned Triple Pattern Fragments
 
PoDiGG: Public Transport Dataset Generator based on Population Distributions
PoDiGG: Public Transport Dataset Generator based on Population DistributionsPoDiGG: Public Transport Dataset Generator based on Population Distributions
PoDiGG: Public Transport Dataset Generator based on Population Distributions
 
Exposing RDF Archives using Triple Pattern Fragments
Exposing RDF Archives using Triple Pattern FragmentsExposing RDF Archives using Triple Pattern Fragments
Exposing RDF Archives using Triple Pattern Fragments
 
EKAW - Publishing with Triple Pattern Fragments
EKAW - Publishing with Triple Pattern FragmentsEKAW - Publishing with Triple Pattern Fragments
EKAW - Publishing with Triple Pattern Fragments
 
Multidimensional Interfaces for Selecting Data with Order
Multidimensional Interfaces for Selecting Data with OrderMultidimensional Interfaces for Selecting Data with Order
Multidimensional Interfaces for Selecting Data with Order
 

Kürzlich hochgeladen

DeepFakes presentation : brief idea of DeepFakes
DeepFakes presentation : brief idea of DeepFakesDeepFakes presentation : brief idea of DeepFakes
DeepFakes presentation : brief idea of DeepFakes
MayuraD1
 
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
ssuser89054b
 
Standard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power PlayStandard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power Play
Epec Engineered Technologies
 
notes on Evolution Of Analytic Scalability.ppt
notes on Evolution Of Analytic Scalability.pptnotes on Evolution Of Analytic Scalability.ppt
notes on Evolution Of Analytic Scalability.ppt
MsecMca
 
"Lesotho Leaps Forward: A Chronicle of Transformative Developments"
"Lesotho Leaps Forward: A Chronicle of Transformative Developments""Lesotho Leaps Forward: A Chronicle of Transformative Developments"
"Lesotho Leaps Forward: A Chronicle of Transformative Developments"
mphochane1998
 

Kürzlich hochgeladen (20)

DeepFakes presentation : brief idea of DeepFakes
DeepFakes presentation : brief idea of DeepFakesDeepFakes presentation : brief idea of DeepFakes
DeepFakes presentation : brief idea of DeepFakes
 
FEA Based Level 3 Assessment of Deformed Tanks with Fluid Induced Loads
FEA Based Level 3 Assessment of Deformed Tanks with Fluid Induced LoadsFEA Based Level 3 Assessment of Deformed Tanks with Fluid Induced Loads
FEA Based Level 3 Assessment of Deformed Tanks with Fluid Induced Loads
 
Engineering Drawing focus on projection of planes
Engineering Drawing focus on projection of planesEngineering Drawing focus on projection of planes
Engineering Drawing focus on projection of planes
 
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
 
Tamil Call Girls Bhayandar WhatsApp +91-9930687706, Best Service
Tamil Call Girls Bhayandar WhatsApp +91-9930687706, Best ServiceTamil Call Girls Bhayandar WhatsApp +91-9930687706, Best Service
Tamil Call Girls Bhayandar WhatsApp +91-9930687706, Best Service
 
A CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptx
A CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptxA CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptx
A CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptx
 
Online food ordering system project report.pdf
Online food ordering system project report.pdfOnline food ordering system project report.pdf
Online food ordering system project report.pdf
 
data_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdfdata_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdf
 
Generative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPTGenerative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPT
 
Hostel management system project report..pdf
Hostel management system project report..pdfHostel management system project report..pdf
Hostel management system project report..pdf
 
Standard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power PlayStandard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power Play
 
Bridge Jacking Design Sample Calculation.pptx
Bridge Jacking Design Sample Calculation.pptxBridge Jacking Design Sample Calculation.pptx
Bridge Jacking Design Sample Calculation.pptx
 
HOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptx
HOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptxHOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptx
HOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptx
 
Air Compressor reciprocating single stage
Air Compressor reciprocating single stageAir Compressor reciprocating single stage
Air Compressor reciprocating single stage
 
Double Revolving field theory-how the rotor develops torque
Double Revolving field theory-how the rotor develops torqueDouble Revolving field theory-how the rotor develops torque
Double Revolving field theory-how the rotor develops torque
 
notes on Evolution Of Analytic Scalability.ppt
notes on Evolution Of Analytic Scalability.pptnotes on Evolution Of Analytic Scalability.ppt
notes on Evolution Of Analytic Scalability.ppt
 
Minimum and Maximum Modes of microprocessor 8086
Minimum and Maximum Modes of microprocessor 8086Minimum and Maximum Modes of microprocessor 8086
Minimum and Maximum Modes of microprocessor 8086
 
Thermal Engineering Unit - I & II . ppt
Thermal Engineering  Unit - I & II . pptThermal Engineering  Unit - I & II . ppt
Thermal Engineering Unit - I & II . ppt
 
"Lesotho Leaps Forward: A Chronicle of Transformative Developments"
"Lesotho Leaps Forward: A Chronicle of Transformative Developments""Lesotho Leaps Forward: A Chronicle of Transformative Developments"
"Lesotho Leaps Forward: A Chronicle of Transformative Developments"
 
Hazard Identification (HAZID) vs. Hazard and Operability (HAZOP): A Comparati...
Hazard Identification (HAZID) vs. Hazard and Operability (HAZOP): A Comparati...Hazard Identification (HAZID) vs. Hazard and Operability (HAZOP): A Comparati...
Hazard Identification (HAZID) vs. Hazard and Operability (HAZOP): A Comparati...
 

Continuously Updating Query Results over Real-Time Linked Data

  • 1. Ruben Taelman - @rubensworks iMinds - Ghent University Continuously Updating Query Results over Real-Time Linked Data
  • 2. Dynamic Linked Data E.g. Thermometer measures every minute: “19,05°C” - 30-05-2016 11:00 “19,06°C” - 30-05-2016 11:01 “19,11°C” - 30-05-2016 11:02 “19,08°C” - 30-05-2016 11:03 … Typically exposed as an RDF stream = stream of <RDF triple, timestamp>
  • 3. Querying continous data Clients send queries to server: e.g. What is the current temperature? Server continuously evaluates the queries → Server does all of the work Cause of low public endpoint availability! ½ have availability of < 95% (Buil-Aranda 2013) → Clients just wait for results
  • 4. What if we moved continuous query evaluation to the client? → to lower server load
  • 5. Triple Pattern Fragments does this for static data! Triple pattern fragments (TPF) (Verborgh 2016): Servers can only respond to triple pattern queries Clients need to evaluate queries locally → Lowers server complexity Can we do the same for dynamic data?
  • 6. Overview Dynamic data representation Query streamer engine Evaluation
  • 7. Overview Dynamic data representation Query streamer engine Evaluation
  • 8. Dynamic data representation Expose dynamic data through the TPF interface → Represent dynamic data in RDF We annotate dynamic data with the time at which they are valid → Client can derive the time at which data can change! But how do we annotate data/triples with time?
  • 9. Annotation methods Reification Singleton properties (Nguyen 2014) Graphs Implicit graphs Outdated Instantiate predicates Define fourth element in quad TPF makes triples (de)referencable
  • 10. Time labeling types Time interval Expiration time Start- and endtime of validity Good for maintaining a history of elements Endtime of validity When only the latest version is required
  • 11. Dynamic data example radio:bbc-radio-1 m:plays radio:jauz-netsky-higher. GRAPH _:g1 { radio:bbc-radio-1 m:plays radio:jauz-netsky-higher. } _:g1 tmp:interval _:interval_1. _:interval_1 tmp:initial "2016-05-30T09:15:00"^^xsd:dateTime. _:interval_1 tmp:final "2016-05-30T09:20:00"^^xsd:dateTime. Graph-annotation: [ 9:15, 9:20 ]
  • 14. Overview Dynamic data representation Query streamer engine Evaluation
  • 15. Measure query execution times for query duration Query: “All trains with their delay in station X within the next hour” Frequency: 10 seconds Clients: 1 Engine: Query streamer Annotation methods: singleton property, graph, implicit graph Time labeling types: time interval, expiration time Evaluating annotation methods
  • 16. Evaluating annotation methods Time interval Expiration time
  • 17. Evaluating scalability Measure server CPU usage for increasing # clients Query: “All trains with their delay in station X within the next hour” Frequency: 10 seconds Clients: 1 → 200 Engines: Query streamer, C-SPARQL (Barbieri 2012) and CQELS (Le-Phuoc 2011) Annotation method: graph Time labeling types: expiration time
  • 18. Query Streamer has better scalability
  • 19. Query Streamer moves load from server to client
  • 20. Overview Dynamic data representation Annotate dynamic data with time Query streamer engine Client-side query engine Dynamic data at TPF server Evaluation Annotation methods Scalability
  • 21. Conclusions Further evaluation: Different query types, …? Solve efficiency-problem time intervals? Promising approach for improved scalability