Stream Reasoning For Linked Data
J-P Calbimonte, D. Dell'Aglio,
- E. Della Valle, M.I. Ali and A. Mileo
http://streamreasoning.org/events/sr4ld2015
Other Stream Reasoning Approaches Jean-Paul Calbimonte, Oscar - - PowerPoint PPT Presentation
Stream Reasoning For Linked Data J-P Calbimonte, D. Dell'Aglio, E. Della Valle, M.I. Ali and A. Mileo http://streamreasoning.org/events/sr4ld2015 Other Stream Reasoning Approaches Jean-Paul Calbimonte, Oscar Corcho, Daniele Dell'Aglio,
http://streamreasoning.org/events/sr4ld2015
http://streamreasoning.org/events/sr4ld2015
– These slides are partially based on “Streaming Reasoning for Linked Data 2015” by J-P Calbimonte, D. Dell'Aglio, E. Della Valle, M. I. Ali and A. Mileo http://streamreasoning.org/sr4ld2015
2
http://streamreasoning.org/events/sr4ld2015
– done in the previous section
– done in the previous sessions
– done in the previous section
3
http://streamreasoning.org/events/sr4ld2015
– done in the previous section
– done in the previous sessions
– done in the previous section
4
http://streamreasoning.org/events/sr4ld2015
5
http://streamreasoning.org/events/sr4ld2015
Sparkwave
– (?x a b) ^ (?x c ?y) ^ (?y m n)
– One node created for each constant in the triple pattern, so as to filter incoming triples (e.g., five nodes in our sample query)
– Partial matches are stored in the network as tokens.
6
http://streamreasoning.org/events/sr4ld2015
Sparkwave
7
http://streamreasoning.org/events/sr4ld2015
Sparkwave
8
http://streamreasoning.org/events/sr4ld2015
Sparkwave
9
http://streamreasoning.org/events/sr4ld2015
Sparkwave
10
http://streamreasoning.org/events/sr4ld2015
Sparkwave
11
http://streamreasoning.org/events/sr4ld2015
– done in the previous section
– done in the previous sessions
– done in the previous section
12
http://streamreasoning.org/events/sr4ld2015
Dynamite
13
http://streamreasoning.org/events/sr4ld2015
Dynamite
14
http://streamreasoning.org/events/sr4ld2015
Dynamite
15
Maintain the KB when there are updates.
http://streamreasoning.org/events/sr4ld2015
Dynamite
16
Divide in 3 types of rules Parallelize: 1 thread per rule Divide in schema and generic triples
http://streamreasoning.org/events/sr4ld2015
Dynamite
17
remove 1 reduce count remove
http://streamreasoning.org/events/sr4ld2015
Dynamite
18
1 triple 16k triples 1,2 universities 8k triples ~Input size
http://streamreasoning.org/events/sr4ld2015
Dynamite
19
http://streamreasoning.org/events/sr4ld2015
– done in the previous section
– done in the previous sessions
– done in the previous section
20
http://streamreasoning.org/events/sr4ld2015
21
http://streamreasoning.org/events/sr4ld2015
– {τ:[0,+∞]| τ ∈KB} ∪ {τ:[t’,t’+w]|(τ,t’) ∈S and t’<t}
22
http://streamreasoning.org/events/sr4ld2015
– Remove expired triples (out of the window) – Compression of RDF stream – Parallel Execution of Rules
23
http://streamreasoning.org/events/sr4ld2015
– Opposed to previous similar work assuming changes on
24
http://streamreasoning.org/events/sr4ld2015
– done in the previous section
– done in the previous sessions
– done in the previous section
25
http://streamreasoning.org/events/sr4ld2015
26
http://streamreasoning.org/events/sr4ld2015
27
Initial ontology Ontologies over time
http://streamreasoning.org/events/sr4ld2015
Ontology Stream Reasoning with TMS
28
http://streamreasoning.org/events/sr4ld2015
Ontology Stream Reasoning with TMS
29
http://streamreasoning.org/events/sr4ld2015
Ontology Stream Reasoning with TMS
30
http://streamreasoning.org/events/sr4ld2015
Ontology Stream Reasoning with TMS
31
http://streamreasoning.org/events/sr4ld2015
Ontology Stream Reasoning with TMS
32
http://streamreasoning.org/events/sr4ld2015
Ontology Stream Reasoning with TMS
33
http://streamreasoning.org/events/sr4ld2015
Ontology Stream Reasoning with TMS
34
http://streamreasoning.org/events/sr4ld2015
– done in the previous section
– done in the previous sessions
– done in the previous section
35
http://streamreasoning.org/events/sr4ld2015
reasoning in Prolog
complex event processing in ETALIS. Semantic Web 3(4): 397-407 (2012)
language for event processing and stream reasoning. WWW 2011: 635-644
36
http://streamreasoning.org/events/sr4ld2015
37
Event Sources Pattern Definitions Detected Situations
CEP
ETALIS
http://streamreasoning.org/events/sr4ld2015
ETALIS
http://streamreasoning.org/events/sr4ld2015
ETALIS
http://streamreasoning.org/events/sr4ld2015
ETALIS
http://streamreasoning.org/events/sr4ld2015
ETALIS
http://streamreasoning.org/events/sr4ld2015
EP-SPARQL
– Be careful with the management of timestamps (see next) – E.g.,
42
http://streamreasoning.org/events/sr4ld2015
EP-SPARQL
e1 e2 e3 e4
3 6 9 1
Prolog engine
EP-SPARQL query continuous results
translator
http://streamreasoning.org/events/sr4ld2015
44
EP-SPARQL
http://streamreasoning.org/events/sr4ld2015
– done in the previous section
– done in the previous sessions
– done in the previous section
45
http://streamreasoning.org/events/sr4ld2015
46
http://streamreasoning.org/events/sr4ld2015
LARS
http://streamreasoning.org/events/sr4ld2015
LARS
xα is used to set the scope (substream) on
x is a reference to a window function (identified by i) that,
60 ◇ ⊞i 5 α
60 and ⊞i 5 are two time-based sliding windows of 60
48
http://streamreasoning.org/events/sr4ld2015
LARS
49
http://streamreasoning.org/events/sr4ld2015
LARS
50
http://streamreasoning.org/events/sr4ld2015
LARS
– Flexible window operator (first class citizen) – Time reference/time abstraction – Rule-based language for generating intensional data – Relationship with other languages (CQL, ETALIS, …)
51
http://streamreasoning.org/events/sr4ld2015
LARS
– Flexible window operator (first class citizen) – Time reference/time abstraction – Rule-based language for generating intensional data – Relationship with other languages (CQL, ETALIS, …)
52
http://streamreasoning.org/events/sr4ld2015
LARS
– Flexible window operator (first class citizen) – Time reference/time abstraction – Rule-based language for generating intensional data – Relationship with other languages (CQL, ETALIS, …)
53
http://streamreasoning.org/events/sr4ld2015
– done in the previous section
– done in the previous sessions
– done in the previous section
54
http://streamreasoning.org/events/sr4ld2015
55
http://streamreasoning.org/events/sr4ld2015
STARQL
minutes
http://streamreasoning.org/events/sr4ld2015
STARQL
http://streamreasoning.org/events/sr4ld2015
STARQL
st and streaming ABoxes Si
st,…,Ak st,T0,…,Tl
http://streamreasoning.org/events/sr4ld2015
STARQL
http://streamreasoning.org/events/sr4ld2015
STARQL
60
http://streamreasoning.org/events/sr4ld2015