SlideShare une entreprise Scribd logo
1  sur  42
Télécharger pour lire hors ligne
09/06/2021
RSP4J: An API for RDF Stream
Processing
18th Extended Semantic Web Conference,
Riccardo Tommasini (UT🇪🇪)
1
Joint Work
2
Pieter Bonte
IMEC/UGENT🇧🇪
Femke Ongenae
IMEC/UGENT🇧🇪
Emanuele Della Valle
POLIMI🇮🇹
Community Work
Acknowledgement to users/contributors
3
Agenda
• What is Stream Reasoning

• RDF Stream Processing 

• Problem Statement

• RSP4J (Finally)

• Final Remarks
There will be memes!
4
5
Is it possible to make sense in real time of multiple,
heterogeneous, gigantic and inevitably noisy and
incomplete data streams in order to support the decision
processes of extremely large numbers of concurrent users?
E. Della Valle, S. Ceri, F. van Harmelen & H. Stuckenschmidt, 2010
Research question
STREAM REASONING
Emanuele Della Valle - http://emanueledellavalle.org - @manudellavalle 6
Semantic
Web
Stream
Processing
Linked
Data
Stream Reasoning
Logical
Reasoning
State-of-the-art
ETALIS
LARS/LASER
TESLA
RDFox
Calcite
BEAM
OWLAPI
Commons RDF
7
Prominent Solution
Related Work
RSP
IR
Semantic
Technologies
Vice-Versa
is also valid
Oh Yes!
Almost Done!! Almost!!
Oh Man!
Stream Processing
8
Semantic
Technologies
Semantic
Technologies
Semantic
Technologies
time
What is a Stream?
9
• Streams: unbounded partially ordered sequence of data in
form of object-timestamp pairs <o,t>, e.g., 

• o is a coloured box

• t is a natural number
Sort out all the colours in the streams
What is Stream Processing?
stateless
order
…..
…..
…..
…..
…..
…..
10
( , 15)
time
1 minute wide window
How many boxes, grouped by color,
there are in the last minute?
What is Stream Processing?
stateful
11
Semantic
Technologies
Vice-Versa
is also valid
Oh Yes!
Almost Done!! Almost!!
Stream Processing
12
Semantic
Technologies
Semantic
Technologies
We are
Here
Semantic
Technologies
The CQL continuous query language
Basics
Arasu, Arvind, Shivnath Babu, and
Jennifer Widom. "The CQL continuous
query language: semantic foundations
and query execution." The VLDB Journal
15.2 (2006): 121-142.


Streams Relations
…


<s,τ>


…
<s1>


<s2>


<s3>
infinite


unbounded


sequence
finite


bag
Mapping: T ! R
stream-to-relation
relation-to-stream
relation-to-relation
Stream
Relation R(t)
Relational Algebra (Almost)
*Stream operators
time-based windows
W4
W2
CQL Viz
Window Tumbling
R2R operator
S
ω
t
width
…
t0
W0 W1 W3 Wn+1
Wn
…
…
COUNT
2
1
S2R operator (ω)
𝕎
W3
14
NOW()
R2S operator RSTREAM
W2 W4
Continuous●Semantic
s

/kənˈtɪnjuːəs●sɪˈmæntɪks
/

1.The result of a query is the set of results that
would be returned if the query were executed
at every instant in time.
15
Adding Data Semantics
16
time
1 minute wide window
How many colours in the last minute?
From Stream Processing…
17
( , 13),( , 8) , ( , 8)
time
How many colours in the last
minute?
…to Stream Processing
18
( , 13),( , 8) , ( , 8)
1 minute wide window
Stream Reasoning
Better Questions
How many cool colours in the last minute?
time
( , 13),( , 8) , ( , 8)
1 minute wide window
Which are the top-2 most frequent sentiments


in the last minute?
love and wisdom
Stream Reasoning
Even Better Questions
1 minute wide window
time
Semantic
Web
Stream
Processing
Linked
Data
Stream Reasoning
Logical
Reasoning
State-of-the-art
LARS/LASER
OWLAPI
Prominent Solution
Related Work
Commons RDF
RSP
IR
TESLA
Calcite
BEAM
ETALIS
RDFox
21
Stream Reasoning
State-of-the-art
ff
erences
• Syntaxes are not interoperable

• Have di
ff
erent operational
semantics

• Not all of them integrate static
knowledge

• RDF Streams ok, but graphs or
triples?
RSP Dialects & Engines
23
Similarities
• Extend SPARQL with windows

• Evaluates queries under
continuous semantics

• Optimise the execution for low-
latency high-throughput (stream
processing requirements)
RSP Dialects & Engines
24
Dell’Aglio et al.
• Reference model that uniforms
existing solutions

• has formal semantics
(denotational)

• can explain operational
semantics

• Solutions published after 

(e.g., YASPER 1.0, TPF-QS,
Strider) align to it
RSP-QL
Continuous
Querying:

SPARQL
Identifiers: URI
Cryptography
Trust
Ontologies: OWL
Proof
Unifying Logic
Rules: RIF/SWIRL
Taxonomies: RDFS
Data Interchange: RDF
Character Set: UNICODE
Syntax: XML, TTL, NT, JSON-LD
User Interfaces and Applications
25
Dell’Aglio et al.
• Reference model that uniforms
existing solutions

• has formal semantics
(denotational)

• can explain operational
semantics

• Solutions published after 

(e.g., YASPER 1.0, TPF-QS,
Strider) align to it
RSP-QL
Continuous
Querying:

RSP-QL
Identifiers: URI
Cryptography
Trust
Ontologies: OWL
Proof
Unifying Logic
Rules: RIF/SWIRL
Taxonomies: RDFS
Continuous Interchange: 

RDF Stream
Character Set: UNICODE
Syntax: XML, TTL, NT, JSON-LD
User Interfaces and Applications
?


?


?


?
26
Continuous
Querying:

SPARQL
Data Interchange: RDF
Theoretical
Framework
Applications
The Technological Gap
27
The Stream Reasoning community needs systems and tools
that can encourage re-use and foster the adoption of existing
solutions for RDF Stream Processing.
Tommasini, and Della Valle. "Challenges & Opportunities of RSP-QL Implementations."
WSP/WOMoCoE@ ISWC. 2017.
Problem Statement
RSP4J
28
Currently, the following tasks are hard to do..
Uncomfortable Truths
You need to
implement your RSP
engine from scratch
29
• Introducing new window operators



• Experiment optimisation techniques



• Comparing di
ff
erent engines
Does he bite? No, but he can hurt
you in other ways!
Challenges
Fast Prototyping
30
Benchmarking
Dissemination
Requirements
1. Extensible Architecture.

2. Declarative Access

3. Programming Abstractions

4. Experimentation

5. Observability
C1 C2 C3 C4 C5 C6 C7 C8 C9 C10
R1 ✓ ✓ ✓ ✓ ✓
R2 ✓ ✓ ✓
R3 ✓ ✓ ✓
R4 ✓ ✓ ✓
R5 ✓ ✓ ✓ ✓ ✓
R
R
R
R
R
And their relation to the challenges
31
RSP4J
30.000ft View: Architecture
Extensible parser based on
the RSP-QL Syntax Proposal

(R1, R2)
Abstract representing the
evaluation under continuous
semantics (R3,R5)
Abstract Representation of A
Streaming Dataset for
backwards compatibility with
SPARQL (R3)
Con
fi
gurable engine capable
of reproducing existing
behaviours (R4,R5)
Versatile Object for
representing streams (non
strictly RDF based) (R1)
Operator Interface based on
RSP-QL/CQL (R1, R3)
(e)
32
RSP4J
10.000ft View: Querying
Extensible parser based on
the RSP-QL Syntax Proposal
Rei
fi
ed Object representing
the running query
33
10.000ft View: Streams
• Two main interfaces:

• Web Stream (vid. Vocals)

• Data Stream (generic)

• Simple Approach for production
and consumption

• We recently added the IO
package with lots of sources
RSP4J
34
10.000ft View: Streams
• Two main interfaces:

• Web Stream (vid. Vocals)

• Data Stream (generic)

• Simple Approach for production
and consumption

• We recently added the IO
package with lots of sources
RSP4J
35
10.000ft View: Operators
• Generalise CQL Style of operators
families

• Includes already canonical
examples of S2R

• CQELS’s Window Operator

• CSPARQL’s Window Operator

• Includes generic implementation of
R2S

• RStream, IStream, DStream
RSP4J
36
10.000ft View: Engine
• Allows controlling the engine,
e.g., query registration and
cancellation.

• RSP4J can reproduce the
execution semantics of common
RSP engines

• Already include some bindings,
YASPER, CSPARQL 2.0,
ONSPER*
RSP4J
RSP4J: Engine
YASPER CSPARQL 2.0
Esper + Jena
RDF Commons
+ JGraphT
ONSPER
Esper + Calcite
+ Ontop
binds
Runtime
Interface
37
Enables the following research directions
Does the window operator X
outperform window operator Y for
both C-SPARQL and CQELS
execution semantics?
RSP4J
IMPLEMENT
MY RSP
SOLUTION
FROM
SCRATCH
RSP4J
38
Enables the following research directions
Does this alternative memory
representation optimise CityBench’
RSP-QL queries using the Strider
Engine?
RSP4J
IMPLEMENT
MY RSP
SOLUTION
FROM
SCRATCH
RSP4J
39
Enables the following research directions
Can I apply a bunch of RSP
engines to my use-case and
observe which performs better?
RSP4J
IMPLEMENT
MY RSP
SOLUTION
FROM
SCRATCH
RSP4J
40
• June 28-July 2, 2021, Virtual
Event, Italy

• http://streamreasoning.org/
events/web-stream-processing-
with-rsp4j

• We will prototype an engine!

• Big Updates: Publishing & 

New Abstract API!
DEBS 21 Tutorial (Free)
Learning N di
ff
erent
RSP Dialects
N > 4
Learning
RSP4J
41
Conclusion
Roadmap
RSP4J is a community effort that we hope will
foster further practical research on RSP/SR
We plan to organise events and
hackathons to foster its adoption
We plan to integrate it with RSPLab and
existing benchmarks like CityBench
We plan to integrate more engines, provide
more operators, and (hopefully) optimisations
To foster data science, we plan to make it available via
Jupyter Notebook with python Bindings (RSPLib)
…
Benchmarks
Integration
RSP4J
RELEASE
CQELS
bindings
42
Python
Bindings
DEBS 2021
TUTORIAL
RSP4J Repo
Stream Reasoning
Workshop 2021
Publication and
Abstraction API
Questions?

Contenu connexe

Tendances

RDB2RDF Tutorial (R2RML and Direct Mapping) at ISWC 2013
RDB2RDF Tutorial (R2RML and Direct Mapping) at ISWC 2013RDB2RDF Tutorial (R2RML and Direct Mapping) at ISWC 2013
RDB2RDF Tutorial (R2RML and Direct Mapping) at ISWC 2013Juan Sequeda
 
RDF Stream Processing Tutorial: RSP implementations
RDF Stream Processing Tutorial: RSP implementationsRDF Stream Processing Tutorial: RSP implementations
RDF Stream Processing Tutorial: RSP implementationsJean-Paul Calbimonte
 
Jena – A Semantic Web Framework for Java
Jena – A Semantic Web Framework for JavaJena – A Semantic Web Framework for Java
Jena – A Semantic Web Framework for JavaAleksander Pohl
 
Introduction to Apache Spark Developer Training
Introduction to Apache Spark Developer TrainingIntroduction to Apache Spark Developer Training
Introduction to Apache Spark Developer TrainingCloudera, Inc.
 
Filesystem Comparison: NFS vs GFS2 vs OCFS2
Filesystem Comparison: NFS vs GFS2 vs OCFS2Filesystem Comparison: NFS vs GFS2 vs OCFS2
Filesystem Comparison: NFS vs GFS2 vs OCFS2Giuseppe Paterno'
 
OpenSearch.pdf
OpenSearch.pdfOpenSearch.pdf
OpenSearch.pdfAbhi Jain
 
무엇이든 물어보세요, 지식그래프 : 카카오미니와 검색 적용 소개
무엇이든 물어보세요, 지식그래프 : 카카오미니와 검색 적용 소개무엇이든 물어보세요, 지식그래프 : 카카오미니와 검색 적용 소개
무엇이든 물어보세요, 지식그래프 : 카카오미니와 검색 적용 소개if kakao
 
SHACL: Shaping the Big Ball of Data Mud
SHACL: Shaping the Big Ball of Data MudSHACL: Shaping the Big Ball of Data Mud
SHACL: Shaping the Big Ball of Data MudRichard Cyganiak
 
Introduction to apache spark
Introduction to apache spark Introduction to apache spark
Introduction to apache spark Aakashdata
 
What are Hadoop Components? Hadoop Ecosystem and Architecture | Edureka
What are Hadoop Components? Hadoop Ecosystem and Architecture | EdurekaWhat are Hadoop Components? Hadoop Ecosystem and Architecture | Edureka
What are Hadoop Components? Hadoop Ecosystem and Architecture | EdurekaEdureka!
 
Apache Spark Introduction
Apache Spark IntroductionApache Spark Introduction
Apache Spark Introductionsudhakara st
 
ROS 2 deployment in K8s: DDS Router as WAN comms enabler
ROS 2 deployment in K8s: DDS Router as WAN comms enablerROS 2 deployment in K8s: DDS Router as WAN comms enabler
ROS 2 deployment in K8s: DDS Router as WAN comms enablereProsima
 
What Is Apache Spark? | Introduction To Apache Spark | Apache Spark Tutorial ...
What Is Apache Spark? | Introduction To Apache Spark | Apache Spark Tutorial ...What Is Apache Spark? | Introduction To Apache Spark | Apache Spark Tutorial ...
What Is Apache Spark? | Introduction To Apache Spark | Apache Spark Tutorial ...Simplilearn
 

Tendances (20)

Spark graphx
Spark graphxSpark graphx
Spark graphx
 
Unit 5-apache hive
Unit 5-apache hiveUnit 5-apache hive
Unit 5-apache hive
 
Hasura
HasuraHasura
Hasura
 
RDB2RDF Tutorial (R2RML and Direct Mapping) at ISWC 2013
RDB2RDF Tutorial (R2RML and Direct Mapping) at ISWC 2013RDB2RDF Tutorial (R2RML and Direct Mapping) at ISWC 2013
RDB2RDF Tutorial (R2RML and Direct Mapping) at ISWC 2013
 
RDF Stream Processing Tutorial: RSP implementations
RDF Stream Processing Tutorial: RSP implementationsRDF Stream Processing Tutorial: RSP implementations
RDF Stream Processing Tutorial: RSP implementations
 
Spark SQL
Spark SQLSpark SQL
Spark SQL
 
RDF and OWL
RDF and OWLRDF and OWL
RDF and OWL
 
Jena – A Semantic Web Framework for Java
Jena – A Semantic Web Framework for JavaJena – A Semantic Web Framework for Java
Jena – A Semantic Web Framework for Java
 
Introduction to Apache Spark Developer Training
Introduction to Apache Spark Developer TrainingIntroduction to Apache Spark Developer Training
Introduction to Apache Spark Developer Training
 
Filesystem Comparison: NFS vs GFS2 vs OCFS2
Filesystem Comparison: NFS vs GFS2 vs OCFS2Filesystem Comparison: NFS vs GFS2 vs OCFS2
Filesystem Comparison: NFS vs GFS2 vs OCFS2
 
RDF Refineの使い方
RDF Refineの使い方RDF Refineの使い方
RDF Refineの使い方
 
OpenSearch.pdf
OpenSearch.pdfOpenSearch.pdf
OpenSearch.pdf
 
무엇이든 물어보세요, 지식그래프 : 카카오미니와 검색 적용 소개
무엇이든 물어보세요, 지식그래프 : 카카오미니와 검색 적용 소개무엇이든 물어보세요, 지식그래프 : 카카오미니와 검색 적용 소개
무엇이든 물어보세요, 지식그래프 : 카카오미니와 검색 적용 소개
 
SHACL: Shaping the Big Ball of Data Mud
SHACL: Shaping the Big Ball of Data MudSHACL: Shaping the Big Ball of Data Mud
SHACL: Shaping the Big Ball of Data Mud
 
Introduction to GraphQL
Introduction to GraphQLIntroduction to GraphQL
Introduction to GraphQL
 
Introduction to apache spark
Introduction to apache spark Introduction to apache spark
Introduction to apache spark
 
What are Hadoop Components? Hadoop Ecosystem and Architecture | Edureka
What are Hadoop Components? Hadoop Ecosystem and Architecture | EdurekaWhat are Hadoop Components? Hadoop Ecosystem and Architecture | Edureka
What are Hadoop Components? Hadoop Ecosystem and Architecture | Edureka
 
Apache Spark Introduction
Apache Spark IntroductionApache Spark Introduction
Apache Spark Introduction
 
ROS 2 deployment in K8s: DDS Router as WAN comms enabler
ROS 2 deployment in K8s: DDS Router as WAN comms enablerROS 2 deployment in K8s: DDS Router as WAN comms enabler
ROS 2 deployment in K8s: DDS Router as WAN comms enabler
 
What Is Apache Spark? | Introduction To Apache Spark | Apache Spark Tutorial ...
What Is Apache Spark? | Introduction To Apache Spark | Apache Spark Tutorial ...What Is Apache Spark? | Introduction To Apache Spark | Apache Spark Tutorial ...
What Is Apache Spark? | Introduction To Apache Spark | Apache Spark Tutorial ...
 

Similaire à RSP4J: An API for RDF Stream Processing

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 ProcessingPlanetData Network of Excellence
 
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...Oscar Corcho
 
Overview of the SPARQL-Generate language and latest developments
Overview of the SPARQL-Generate language and latest developmentsOverview of the SPARQL-Generate language and latest developments
Overview of the SPARQL-Generate language and latest developmentsMaxime Lefrançois
 
RDF Stream Processing: Let's React
RDF Stream Processing: Let's ReactRDF Stream Processing: Let's React
RDF Stream Processing: Let's ReactJean-Paul Calbimonte
 
Tiny Batches, in the wine: Shiny New Bits in Spark Streaming
Tiny Batches, in the wine: Shiny New Bits in Spark StreamingTiny Batches, in the wine: Shiny New Bits in Spark Streaming
Tiny Batches, in the wine: Shiny New Bits in Spark StreamingPaco Nathan
 
High Performance Data Analytics with Java on Large Multicore HPC Clusters
High Performance Data Analytics with Java on Large Multicore HPC ClustersHigh Performance Data Analytics with Java on Large Multicore HPC Clusters
High Performance Data Analytics with Java on Large Multicore HPC ClustersSaliya Ekanayake
 
Spidal Java: High Performance Data Analytics with Java on Large Multicore HPC...
Spidal Java: High Performance Data Analytics with Java on Large Multicore HPC...Spidal Java: High Performance Data Analytics with Java on Large Multicore HPC...
Spidal Java: High Performance Data Analytics with Java on Large Multicore HPC...Geoffrey Fox
 
On the need for applications aware adaptive middleware in real-time RDF data ...
On the need for applications aware adaptive middleware in real-time RDF data ...On the need for applications aware adaptive middleware in real-time RDF data ...
On the need for applications aware adaptive middleware in real-time RDF data ...Zia Ush Shamszaman
 
Stream Data Processing at Big Data Landscape by Oleksandr Fedirko
Stream Data Processing at Big Data Landscape by Oleksandr Fedirko Stream Data Processing at Big Data Landscape by Oleksandr Fedirko
Stream Data Processing at Big Data Landscape by Oleksandr Fedirko GlobalLogic Ukraine
 
Abstractions and Directives for Adapting Wavefront Algorithms to Future Archi...
Abstractions and Directives for Adapting Wavefront Algorithms to Future Archi...Abstractions and Directives for Adapting Wavefront Algorithms to Future Archi...
Abstractions and Directives for Adapting Wavefront Algorithms to Future Archi...inside-BigData.com
 
High-Performance and Scalable Designs of Programming Models for Exascale Systems
High-Performance and Scalable Designs of Programming Models for Exascale SystemsHigh-Performance and Scalable Designs of Programming Models for Exascale Systems
High-Performance and Scalable Designs of Programming Models for Exascale Systemsinside-BigData.com
 
An experience on empirical research about rdf stream
An experience on empirical research about rdf streamAn experience on empirical research about rdf stream
An experience on empirical research about rdf streamDaniele Dell'Aglio
 
OpenPOWER Acceleration of HPCC Systems
OpenPOWER Acceleration of HPCC SystemsOpenPOWER Acceleration of HPCC Systems
OpenPOWER Acceleration of HPCC SystemsHPCC Systems
 
A Library for Emerging High-Performance Computing Clusters
A Library for Emerging High-Performance Computing ClustersA Library for Emerging High-Performance Computing Clusters
A Library for Emerging High-Performance Computing ClustersIntel® Software
 
Towards efficient processing of RDF data streams
Towards efficient processing of RDF data streamsTowards efficient processing of RDF data streams
Towards efficient processing of RDF data streamsAlejandro Llaves
 
Towards efficient processing of RDF data streams
Towards efficient processing of RDF data streamsTowards efficient processing of RDF data streams
Towards efficient processing of RDF data streamsAlejandro Llaves
 
Data Integration Solutions Created By Koneksys
Data Integration Solutions Created By KoneksysData Integration Solutions Created By Koneksys
Data Integration Solutions Created By KoneksysKoneksys
 
High Performance Predictive Analytics in R and Hadoop
High Performance Predictive Analytics in R and HadoopHigh Performance Predictive Analytics in R and Hadoop
High Performance Predictive Analytics in R and HadoopDataWorks Summit
 

Similaire à RSP4J: An API for RDF Stream Processing (20)

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...
 
Overview of the SPARQL-Generate language and latest developments
Overview of the SPARQL-Generate language and latest developmentsOverview of the SPARQL-Generate language and latest developments
Overview of the SPARQL-Generate language and latest developments
 
RDF Stream Processing: Let's React
RDF Stream Processing: Let's ReactRDF Stream Processing: Let's React
RDF Stream Processing: Let's React
 
Spark meetup TCHUG
Spark meetup TCHUGSpark meetup TCHUG
Spark meetup TCHUG
 
Tiny Batches, in the wine: Shiny New Bits in Spark Streaming
Tiny Batches, in the wine: Shiny New Bits in Spark StreamingTiny Batches, in the wine: Shiny New Bits in Spark Streaming
Tiny Batches, in the wine: Shiny New Bits in Spark Streaming
 
High Performance Data Analytics with Java on Large Multicore HPC Clusters
High Performance Data Analytics with Java on Large Multicore HPC ClustersHigh Performance Data Analytics with Java on Large Multicore HPC Clusters
High Performance Data Analytics with Java on Large Multicore HPC Clusters
 
Spidal Java: High Performance Data Analytics with Java on Large Multicore HPC...
Spidal Java: High Performance Data Analytics with Java on Large Multicore HPC...Spidal Java: High Performance Data Analytics with Java on Large Multicore HPC...
Spidal Java: High Performance Data Analytics with Java on Large Multicore HPC...
 
On the need for applications aware adaptive middleware in real-time RDF data ...
On the need for applications aware adaptive middleware in real-time RDF data ...On the need for applications aware adaptive middleware in real-time RDF data ...
On the need for applications aware adaptive middleware in real-time RDF data ...
 
Stream Data Processing at Big Data Landscape by Oleksandr Fedirko
Stream Data Processing at Big Data Landscape by Oleksandr Fedirko Stream Data Processing at Big Data Landscape by Oleksandr Fedirko
Stream Data Processing at Big Data Landscape by Oleksandr Fedirko
 
Decision trees in hadoop
Decision trees in hadoopDecision trees in hadoop
Decision trees in hadoop
 
Abstractions and Directives for Adapting Wavefront Algorithms to Future Archi...
Abstractions and Directives for Adapting Wavefront Algorithms to Future Archi...Abstractions and Directives for Adapting Wavefront Algorithms to Future Archi...
Abstractions and Directives for Adapting Wavefront Algorithms to Future Archi...
 
High-Performance and Scalable Designs of Programming Models for Exascale Systems
High-Performance and Scalable Designs of Programming Models for Exascale SystemsHigh-Performance and Scalable Designs of Programming Models for Exascale Systems
High-Performance and Scalable Designs of Programming Models for Exascale Systems
 
An experience on empirical research about rdf stream
An experience on empirical research about rdf streamAn experience on empirical research about rdf stream
An experience on empirical research about rdf stream
 
OpenPOWER Acceleration of HPCC Systems
OpenPOWER Acceleration of HPCC SystemsOpenPOWER Acceleration of HPCC Systems
OpenPOWER Acceleration of HPCC Systems
 
A Library for Emerging High-Performance Computing Clusters
A Library for Emerging High-Performance Computing ClustersA Library for Emerging High-Performance Computing Clusters
A Library for Emerging High-Performance Computing Clusters
 
Towards efficient processing of RDF data streams
Towards efficient processing of RDF data streamsTowards efficient processing of RDF data streams
Towards efficient processing of RDF data streams
 
Towards efficient processing of RDF data streams
Towards efficient processing of RDF data streamsTowards efficient processing of RDF data streams
Towards efficient processing of RDF data streams
 
Data Integration Solutions Created By Koneksys
Data Integration Solutions Created By KoneksysData Integration Solutions Created By Koneksys
Data Integration Solutions Created By Koneksys
 
High Performance Predictive Analytics in R and Hadoop
High Performance Predictive Analytics in R and HadoopHigh Performance Predictive Analytics in R and Hadoop
High Performance Predictive Analytics in R and Hadoop
 

Plus de Riccardo Tommasini

Towards a Benchmark for Expressive Stream Reasoning
Towards a Benchmark for Expressive Stream ReasoningTowards a Benchmark for Expressive Stream Reasoning
Towards a Benchmark for Expressive Stream ReasoningRiccardo Tommasini
 
SLD Revolution: A Cheaper, Faster yet more Accurate Streaming Linked Data Fra...
SLD Revolution: A Cheaper, Faster yet more Accurate Streaming Linked Data Fra...SLD Revolution: A Cheaper, Faster yet more Accurate Streaming Linked Data Fra...
SLD Revolution: A Cheaper, Faster yet more Accurate Streaming Linked Data Fra...Riccardo Tommasini
 
A Hierarchical approach towards Efficient and Expressive Stream Reasoning
A Hierarchical approach towards Efficient and Expressive Stream ReasoningA Hierarchical approach towards Efficient and Expressive Stream Reasoning
A Hierarchical approach towards Efficient and Expressive Stream ReasoningRiccardo Tommasini
 
Heaven: A Framework for Systematic Comparative Research Approach for RSP Engines
Heaven: A Framework for Systematic Comparative Research Approach for RSP EnginesHeaven: A Framework for Systematic Comparative Research Approach for RSP Engines
Heaven: A Framework for Systematic Comparative Research Approach for RSP EnginesRiccardo Tommasini
 
Streaming Day - an overview of Stream Reasoning
Streaming Day - an overview of Stream ReasoningStreaming Day - an overview of Stream Reasoning
Streaming Day - an overview of Stream ReasoningRiccardo Tommasini
 
Heaven: Supporting Systematic Comparative Research of RDF Stream Processing E...
Heaven: Supporting Systematic Comparative Research of RDF Stream Processing E...Heaven: Supporting Systematic Comparative Research of RDF Stream Processing E...
Heaven: Supporting Systematic Comparative Research of RDF Stream Processing E...Riccardo Tommasini
 

Plus de Riccardo Tommasini (6)

Towards a Benchmark for Expressive Stream Reasoning
Towards a Benchmark for Expressive Stream ReasoningTowards a Benchmark for Expressive Stream Reasoning
Towards a Benchmark for Expressive Stream Reasoning
 
SLD Revolution: A Cheaper, Faster yet more Accurate Streaming Linked Data Fra...
SLD Revolution: A Cheaper, Faster yet more Accurate Streaming Linked Data Fra...SLD Revolution: A Cheaper, Faster yet more Accurate Streaming Linked Data Fra...
SLD Revolution: A Cheaper, Faster yet more Accurate Streaming Linked Data Fra...
 
A Hierarchical approach towards Efficient and Expressive Stream Reasoning
A Hierarchical approach towards Efficient and Expressive Stream ReasoningA Hierarchical approach towards Efficient and Expressive Stream Reasoning
A Hierarchical approach towards Efficient and Expressive Stream Reasoning
 
Heaven: A Framework for Systematic Comparative Research Approach for RSP Engines
Heaven: A Framework for Systematic Comparative Research Approach for RSP EnginesHeaven: A Framework for Systematic Comparative Research Approach for RSP Engines
Heaven: A Framework for Systematic Comparative Research Approach for RSP Engines
 
Streaming Day - an overview of Stream Reasoning
Streaming Day - an overview of Stream ReasoningStreaming Day - an overview of Stream Reasoning
Streaming Day - an overview of Stream Reasoning
 
Heaven: Supporting Systematic Comparative Research of RDF Stream Processing E...
Heaven: Supporting Systematic Comparative Research of RDF Stream Processing E...Heaven: Supporting Systematic Comparative Research of RDF Stream Processing E...
Heaven: Supporting Systematic Comparative Research of RDF Stream Processing E...
 

Dernier

꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Call
꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Call꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Call
꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Callshivangimorya083
 
Week-01-2.ppt BBB human Computer interaction
Week-01-2.ppt BBB human Computer interactionWeek-01-2.ppt BBB human Computer interaction
Week-01-2.ppt BBB human Computer interactionfulawalesam
 
Mature dropshipping via API with DroFx.pptx
Mature dropshipping via API with DroFx.pptxMature dropshipping via API with DroFx.pptx
Mature dropshipping via API with DroFx.pptxolyaivanovalion
 
Market Analysis in the 5 Largest Economic Countries in Southeast Asia.pdf
Market Analysis in the 5 Largest Economic Countries in Southeast Asia.pdfMarket Analysis in the 5 Largest Economic Countries in Southeast Asia.pdf
Market Analysis in the 5 Largest Economic Countries in Southeast Asia.pdfRachmat Ramadhan H
 
VIP Call Girls in Amravati Aarohi 8250192130 Independent Escort Service Amravati
VIP Call Girls in Amravati Aarohi 8250192130 Independent Escort Service AmravatiVIP Call Girls in Amravati Aarohi 8250192130 Independent Escort Service Amravati
VIP Call Girls in Amravati Aarohi 8250192130 Independent Escort Service AmravatiSuhani Kapoor
 
定制英国白金汉大学毕业证(UCB毕业证书) 成绩单原版一比一
定制英国白金汉大学毕业证(UCB毕业证书)																			成绩单原版一比一定制英国白金汉大学毕业证(UCB毕业证书)																			成绩单原版一比一
定制英国白金汉大学毕业证(UCB毕业证书) 成绩单原版一比一ffjhghh
 
RA-11058_IRR-COMPRESS Do 198 series of 1998
RA-11058_IRR-COMPRESS Do 198 series of 1998RA-11058_IRR-COMPRESS Do 198 series of 1998
RA-11058_IRR-COMPRESS Do 198 series of 1998YohFuh
 
Ukraine War presentation: KNOW THE BASICS
Ukraine War presentation: KNOW THE BASICSUkraine War presentation: KNOW THE BASICS
Ukraine War presentation: KNOW THE BASICSAishani27
 
BigBuy dropshipping via API with DroFx.pptx
BigBuy dropshipping via API with DroFx.pptxBigBuy dropshipping via API with DroFx.pptx
BigBuy dropshipping via API with DroFx.pptxolyaivanovalion
 
Smarteg dropshipping via API with DroFx.pptx
Smarteg dropshipping via API with DroFx.pptxSmarteg dropshipping via API with DroFx.pptx
Smarteg dropshipping via API with DroFx.pptxolyaivanovalion
 
FESE Capital Markets Fact Sheet 2024 Q1.pdf
FESE Capital Markets Fact Sheet 2024 Q1.pdfFESE Capital Markets Fact Sheet 2024 Q1.pdf
FESE Capital Markets Fact Sheet 2024 Q1.pdfMarinCaroMartnezBerg
 
100-Concepts-of-AI by Anupama Kate .pptx
100-Concepts-of-AI by Anupama Kate .pptx100-Concepts-of-AI by Anupama Kate .pptx
100-Concepts-of-AI by Anupama Kate .pptxAnupama Kate
 
VIP High Profile Call Girls Amravati Aarushi 8250192130 Independent Escort Se...
VIP High Profile Call Girls Amravati Aarushi 8250192130 Independent Escort Se...VIP High Profile Call Girls Amravati Aarushi 8250192130 Independent Escort Se...
VIP High Profile Call Girls Amravati Aarushi 8250192130 Independent Escort Se...Suhani Kapoor
 
Invezz.com - Grow your wealth with trading signals
Invezz.com - Grow your wealth with trading signalsInvezz.com - Grow your wealth with trading signals
Invezz.com - Grow your wealth with trading signalsInvezz1
 
VIP Call Girls Service Miyapur Hyderabad Call +91-8250192130
VIP Call Girls Service Miyapur Hyderabad Call +91-8250192130VIP Call Girls Service Miyapur Hyderabad Call +91-8250192130
VIP Call Girls Service Miyapur Hyderabad Call +91-8250192130Suhani Kapoor
 
Delhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip CallDelhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Callshivangimorya083
 
VIP High Class Call Girls Jamshedpur Anushka 8250192130 Independent Escort Se...
VIP High Class Call Girls Jamshedpur Anushka 8250192130 Independent Escort Se...VIP High Class Call Girls Jamshedpur Anushka 8250192130 Independent Escort Se...
VIP High Class Call Girls Jamshedpur Anushka 8250192130 Independent Escort Se...Suhani Kapoor
 
04242024_CCC TUG_Joins and Relationships
04242024_CCC TUG_Joins and Relationships04242024_CCC TUG_Joins and Relationships
04242024_CCC TUG_Joins and Relationshipsccctableauusergroup
 
Generative AI on Enterprise Cloud with NiFi and Milvus
Generative AI on Enterprise Cloud with NiFi and MilvusGenerative AI on Enterprise Cloud with NiFi and Milvus
Generative AI on Enterprise Cloud with NiFi and MilvusTimothy Spann
 

Dernier (20)

꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Call
꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Call꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Call
꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Call
 
Week-01-2.ppt BBB human Computer interaction
Week-01-2.ppt BBB human Computer interactionWeek-01-2.ppt BBB human Computer interaction
Week-01-2.ppt BBB human Computer interaction
 
Mature dropshipping via API with DroFx.pptx
Mature dropshipping via API with DroFx.pptxMature dropshipping via API with DroFx.pptx
Mature dropshipping via API with DroFx.pptx
 
Market Analysis in the 5 Largest Economic Countries in Southeast Asia.pdf
Market Analysis in the 5 Largest Economic Countries in Southeast Asia.pdfMarket Analysis in the 5 Largest Economic Countries in Southeast Asia.pdf
Market Analysis in the 5 Largest Economic Countries in Southeast Asia.pdf
 
VIP Call Girls in Amravati Aarohi 8250192130 Independent Escort Service Amravati
VIP Call Girls in Amravati Aarohi 8250192130 Independent Escort Service AmravatiVIP Call Girls in Amravati Aarohi 8250192130 Independent Escort Service Amravati
VIP Call Girls in Amravati Aarohi 8250192130 Independent Escort Service Amravati
 
定制英国白金汉大学毕业证(UCB毕业证书) 成绩单原版一比一
定制英国白金汉大学毕业证(UCB毕业证书)																			成绩单原版一比一定制英国白金汉大学毕业证(UCB毕业证书)																			成绩单原版一比一
定制英国白金汉大学毕业证(UCB毕业证书) 成绩单原版一比一
 
RA-11058_IRR-COMPRESS Do 198 series of 1998
RA-11058_IRR-COMPRESS Do 198 series of 1998RA-11058_IRR-COMPRESS Do 198 series of 1998
RA-11058_IRR-COMPRESS Do 198 series of 1998
 
Ukraine War presentation: KNOW THE BASICS
Ukraine War presentation: KNOW THE BASICSUkraine War presentation: KNOW THE BASICS
Ukraine War presentation: KNOW THE BASICS
 
BigBuy dropshipping via API with DroFx.pptx
BigBuy dropshipping via API with DroFx.pptxBigBuy dropshipping via API with DroFx.pptx
BigBuy dropshipping via API with DroFx.pptx
 
Smarteg dropshipping via API with DroFx.pptx
Smarteg dropshipping via API with DroFx.pptxSmarteg dropshipping via API with DroFx.pptx
Smarteg dropshipping via API with DroFx.pptx
 
FESE Capital Markets Fact Sheet 2024 Q1.pdf
FESE Capital Markets Fact Sheet 2024 Q1.pdfFESE Capital Markets Fact Sheet 2024 Q1.pdf
FESE Capital Markets Fact Sheet 2024 Q1.pdf
 
100-Concepts-of-AI by Anupama Kate .pptx
100-Concepts-of-AI by Anupama Kate .pptx100-Concepts-of-AI by Anupama Kate .pptx
100-Concepts-of-AI by Anupama Kate .pptx
 
VIP High Profile Call Girls Amravati Aarushi 8250192130 Independent Escort Se...
VIP High Profile Call Girls Amravati Aarushi 8250192130 Independent Escort Se...VIP High Profile Call Girls Amravati Aarushi 8250192130 Independent Escort Se...
VIP High Profile Call Girls Amravati Aarushi 8250192130 Independent Escort Se...
 
꧁❤ Aerocity Call Girls Service Aerocity Delhi ❤꧂ 9999965857 ☎️ Hard And Sexy ...
꧁❤ Aerocity Call Girls Service Aerocity Delhi ❤꧂ 9999965857 ☎️ Hard And Sexy ...꧁❤ Aerocity Call Girls Service Aerocity Delhi ❤꧂ 9999965857 ☎️ Hard And Sexy ...
꧁❤ Aerocity Call Girls Service Aerocity Delhi ❤꧂ 9999965857 ☎️ Hard And Sexy ...
 
Invezz.com - Grow your wealth with trading signals
Invezz.com - Grow your wealth with trading signalsInvezz.com - Grow your wealth with trading signals
Invezz.com - Grow your wealth with trading signals
 
VIP Call Girls Service Miyapur Hyderabad Call +91-8250192130
VIP Call Girls Service Miyapur Hyderabad Call +91-8250192130VIP Call Girls Service Miyapur Hyderabad Call +91-8250192130
VIP Call Girls Service Miyapur Hyderabad Call +91-8250192130
 
Delhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip CallDelhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
 
VIP High Class Call Girls Jamshedpur Anushka 8250192130 Independent Escort Se...
VIP High Class Call Girls Jamshedpur Anushka 8250192130 Independent Escort Se...VIP High Class Call Girls Jamshedpur Anushka 8250192130 Independent Escort Se...
VIP High Class Call Girls Jamshedpur Anushka 8250192130 Independent Escort Se...
 
04242024_CCC TUG_Joins and Relationships
04242024_CCC TUG_Joins and Relationships04242024_CCC TUG_Joins and Relationships
04242024_CCC TUG_Joins and Relationships
 
Generative AI on Enterprise Cloud with NiFi and Milvus
Generative AI on Enterprise Cloud with NiFi and MilvusGenerative AI on Enterprise Cloud with NiFi and Milvus
Generative AI on Enterprise Cloud with NiFi and Milvus
 

RSP4J: An API for RDF Stream Processing

  • 1. 09/06/2021 RSP4J: An API for RDF Stream Processing 18th Extended Semantic Web Conference, Riccardo Tommasini (UT🇪🇪) 1
  • 2. Joint Work 2 Pieter Bonte IMEC/UGENT🇧🇪 Femke Ongenae IMEC/UGENT🇧🇪 Emanuele Della Valle POLIMI🇮🇹
  • 3. Community Work Acknowledgement to users/contributors 3
  • 4. Agenda • What is Stream Reasoning • RDF Stream Processing • Problem Statement • RSP4J (Finally) • Final Remarks There will be memes! 4
  • 5. 5
  • 6. Is it possible to make sense in real time of multiple, heterogeneous, gigantic and inevitably noisy and incomplete data streams in order to support the decision processes of extremely large numbers of concurrent users? E. Della Valle, S. Ceri, F. van Harmelen & H. Stuckenschmidt, 2010 Research question STREAM REASONING Emanuele Della Valle - http://emanueledellavalle.org - @manudellavalle 6
  • 8. Semantic Technologies Vice-Versa is also valid Oh Yes! Almost Done!! Almost!! Oh Man! Stream Processing 8 Semantic Technologies Semantic Technologies Semantic Technologies
  • 9. time What is a Stream? 9 • Streams: unbounded partially ordered sequence of data in form of object-timestamp pairs <o,t>, e.g., • o is a coloured box • t is a natural number
  • 10. Sort out all the colours in the streams What is Stream Processing? stateless order ….. ….. ….. ….. ….. ….. 10
  • 11. ( , 15) time 1 minute wide window How many boxes, grouped by color, there are in the last minute? What is Stream Processing? stateful 11
  • 12. Semantic Technologies Vice-Versa is also valid Oh Yes! Almost Done!! Almost!! Stream Processing 12 Semantic Technologies Semantic Technologies We are Here Semantic Technologies
  • 13. The CQL continuous query language Basics Arasu, Arvind, Shivnath Babu, and Jennifer Widom. "The CQL continuous query language: semantic foundations and query execution." The VLDB Journal 15.2 (2006): 121-142. Streams Relations … <s,τ> … <s1> <s2> <s3> infinite unbounded sequence finite bag Mapping: T ! R stream-to-relation relation-to-stream relation-to-relation Stream Relation R(t) Relational Algebra (Almost) *Stream operators time-based windows
  • 14. W4 W2 CQL Viz Window Tumbling R2R operator S ω t width … t0 W0 W1 W3 Wn+1 Wn … … COUNT 2 1 S2R operator (ω) 𝕎 W3 14 NOW() R2S operator RSTREAM W2 W4
  • 15. Continuous●Semantic s /kənˈtɪnjuːəs●sɪˈmæntɪks / 1.The result of a query is the set of results that would be returned if the query were executed at every instant in time. 15
  • 17. time 1 minute wide window How many colours in the last minute? From Stream Processing… 17 ( , 13),( , 8) , ( , 8)
  • 18. time How many colours in the last minute? …to Stream Processing 18 ( , 13),( , 8) , ( , 8) 1 minute wide window
  • 19. Stream Reasoning Better Questions How many cool colours in the last minute? time ( , 13),( , 8) , ( , 8) 1 minute wide window
  • 20. Which are the top-2 most frequent sentiments 
 in the last minute? love and wisdom Stream Reasoning Even Better Questions 1 minute wide window time
  • 23. ff erences • Syntaxes are not interoperable • Have di ff erent operational semantics • Not all of them integrate static knowledge • RDF Streams ok, but graphs or triples? RSP Dialects & Engines 23
  • 24. Similarities • Extend SPARQL with windows • Evaluates queries under continuous semantics • Optimise the execution for low- latency high-throughput (stream processing requirements) RSP Dialects & Engines 24
  • 25. Dell’Aglio et al. • Reference model that uniforms existing solutions • has formal semantics (denotational) • can explain operational semantics • Solutions published after 
 (e.g., YASPER 1.0, TPF-QS, Strider) align to it RSP-QL Continuous Querying:
 SPARQL Identifiers: URI Cryptography Trust Ontologies: OWL Proof Unifying Logic Rules: RIF/SWIRL Taxonomies: RDFS Data Interchange: RDF Character Set: UNICODE Syntax: XML, TTL, NT, JSON-LD User Interfaces and Applications 25
  • 26. Dell’Aglio et al. • Reference model that uniforms existing solutions • has formal semantics (denotational) • can explain operational semantics • Solutions published after 
 (e.g., YASPER 1.0, TPF-QS, Strider) align to it RSP-QL Continuous Querying:
 RSP-QL Identifiers: URI Cryptography Trust Ontologies: OWL Proof Unifying Logic Rules: RIF/SWIRL Taxonomies: RDFS Continuous Interchange: RDF Stream Character Set: UNICODE Syntax: XML, TTL, NT, JSON-LD User Interfaces and Applications ? ? ? ? 26 Continuous Querying:
 SPARQL Data Interchange: RDF
  • 28. The Stream Reasoning community needs systems and tools that can encourage re-use and foster the adoption of existing solutions for RDF Stream Processing. Tommasini, and Della Valle. "Challenges & Opportunities of RSP-QL Implementations." WSP/WOMoCoE@ ISWC. 2017. Problem Statement RSP4J 28
  • 29. Currently, the following tasks are hard to do.. Uncomfortable Truths You need to implement your RSP engine from scratch 29 • Introducing new window operators
 
 • Experiment optimisation techniques
 
 • Comparing di ff erent engines Does he bite? No, but he can hurt you in other ways!
  • 31. Requirements 1. Extensible Architecture. 2. Declarative Access 3. Programming Abstractions 4. Experimentation 5. Observability C1 C2 C3 C4 C5 C6 C7 C8 C9 C10 R1 ✓ ✓ ✓ ✓ ✓ R2 ✓ ✓ ✓ R3 ✓ ✓ ✓ R4 ✓ ✓ ✓ R5 ✓ ✓ ✓ ✓ ✓ R R R R R And their relation to the challenges 31
  • 32. RSP4J 30.000ft View: Architecture Extensible parser based on the RSP-QL Syntax Proposal (R1, R2) Abstract representing the evaluation under continuous semantics (R3,R5) Abstract Representation of A Streaming Dataset for backwards compatibility with SPARQL (R3) Con fi gurable engine capable of reproducing existing behaviours (R4,R5) Versatile Object for representing streams (non strictly RDF based) (R1) Operator Interface based on RSP-QL/CQL (R1, R3) (e) 32
  • 33. RSP4J 10.000ft View: Querying Extensible parser based on the RSP-QL Syntax Proposal Rei fi ed Object representing the running query 33
  • 34. 10.000ft View: Streams • Two main interfaces: • Web Stream (vid. Vocals) • Data Stream (generic) • Simple Approach for production and consumption • We recently added the IO package with lots of sources RSP4J 34
  • 35. 10.000ft View: Streams • Two main interfaces: • Web Stream (vid. Vocals) • Data Stream (generic) • Simple Approach for production and consumption • We recently added the IO package with lots of sources RSP4J 35
  • 36. 10.000ft View: Operators • Generalise CQL Style of operators families • Includes already canonical examples of S2R • CQELS’s Window Operator • CSPARQL’s Window Operator • Includes generic implementation of R2S • RStream, IStream, DStream RSP4J 36
  • 37. 10.000ft View: Engine • Allows controlling the engine, e.g., query registration and cancellation. • RSP4J can reproduce the execution semantics of common RSP engines • Already include some bindings, YASPER, CSPARQL 2.0, ONSPER* RSP4J RSP4J: Engine YASPER CSPARQL 2.0 Esper + Jena RDF Commons + JGraphT ONSPER Esper + Calcite + Ontop binds Runtime Interface 37
  • 38. Enables the following research directions Does the window operator X outperform window operator Y for both C-SPARQL and CQELS execution semantics? RSP4J IMPLEMENT MY RSP SOLUTION FROM SCRATCH RSP4J 38
  • 39. Enables the following research directions Does this alternative memory representation optimise CityBench’ RSP-QL queries using the Strider Engine? RSP4J IMPLEMENT MY RSP SOLUTION FROM SCRATCH RSP4J 39
  • 40. Enables the following research directions Can I apply a bunch of RSP engines to my use-case and observe which performs better? RSP4J IMPLEMENT MY RSP SOLUTION FROM SCRATCH RSP4J 40
  • 41. • June 28-July 2, 2021, Virtual Event, Italy • http://streamreasoning.org/ events/web-stream-processing- with-rsp4j • We will prototype an engine! • Big Updates: Publishing & 
 New Abstract API! DEBS 21 Tutorial (Free) Learning N di ff erent RSP Dialects N > 4 Learning RSP4J 41
  • 42. Conclusion Roadmap RSP4J is a community effort that we hope will foster further practical research on RSP/SR We plan to organise events and hackathons to foster its adoption We plan to integrate it with RSPLab and existing benchmarks like CityBench We plan to integrate more engines, provide more operators, and (hopefully) optimisations To foster data science, we plan to make it available via Jupyter Notebook with python Bindings (RSPLib) … Benchmarks Integration RSP4J RELEASE CQELS bindings 42 Python Bindings DEBS 2021 TUTORIAL RSP4J Repo Stream Reasoning Workshop 2021 Publication and Abstraction API Questions?