A Dataflow Platform for In-silico Experiments Based on...
Transcript of A Dataflow Platform for In-silico Experiments Based on...
A Dataflow Platform for In-silico ExperimentsBased on Linked Data
Paolo Bottoni Miguel Ceriani
Computer Science Department"Sapienza", University of Rome - Italy
Databases in Networked Information SystemsDNIS 2014
Bottoni, Ceriani (Univ. of Rome) Dataflow Platf. for Exp.s on Linked Data DNIS 2014 1 / 38
Motivation
Outline
1 Motivation
2 Background: Linked Data
3 Our Solution: SWOWSMain IdeasDataflow LanguageSemanticsPlatformExample Application
4 Conclusions
Bottoni, Ceriani (Univ. of Rome) Dataflow Platf. for Exp.s on Linked Data DNIS 2014 2 / 38
Motivation
Researching Online Databases
Bottoni, Ceriani (Univ. of Rome) Dataflow Platf. for Exp.s on Linked Data DNIS 2014 3 / 38
Motivation
Data Analysis and Visualizations
Bottoni, Ceriani (Univ. of Rome) Dataflow Platf. for Exp.s on Linked Data DNIS 2014 4 / 38
Motivation
Linked (Open) Data can help
Bottoni, Ceriani (Univ. of Rome) Dataflow Platf. for Exp.s on Linked Data DNIS 2014 5 / 38
Motivation
How to build an Open Data application?
Bottoni, Ceriani (Univ. of Rome) Dataflow Platf. for Exp.s on Linked Data DNIS 2014 6 / 38
Motivation
High Level, Expressive Design
Bottoni, Ceriani (Univ. of Rome) Dataflow Platf. for Exp.s on Linked Data DNIS 2014 7 / 38
Background: Linked Data
Outline
1 Motivation
2 Background: Linked Data
3 Our Solution: SWOWSMain IdeasDataflow LanguageSemanticsPlatformExample Application
4 Conclusions
Bottoni, Ceriani (Univ. of Rome) Dataflow Platf. for Exp.s on Linked Data DNIS 2014 8 / 38
Background: Linked Data
Linked Open Data
Bottoni, Ceriani (Univ. of Rome) Dataflow Platf. for Exp.s on Linked Data DNIS 2014 9 / 38
Background: Linked Data
RDF (1): the model
Bottoni, Ceriani (Univ. of Rome) Dataflow Platf. for Exp.s on Linked Data DNIS 2014 10 / 38
Background: Linked Data
RDF (2): IRIs
Bottoni, Ceriani (Univ. of Rome) Dataflow Platf. for Exp.s on Linked Data DNIS 2014 11 / 38
Background: Linked Data
SPARQL (1)
PREFIX foaf: <http://xmlns.com/foaf/0.1/>
SELECT ?name ?mbox
WHERE
{ ?x foaf:name ?name .
?x foaf:mbox ?mbox }
Bottoni, Ceriani (Univ. of Rome) Dataflow Platf. for Exp.s on Linked Data DNIS 2014 12 / 38
Background: Linked Data
SPARQL (2): CONSTRUCT
PREFIX foaf: <http://xmlns.com/foaf/0.1/>
PREFIX org: <http://example.com/ns#>
CONSTRUCT { ?x foaf:name ?name }
WHERE { ?x org:employeeName ?name }
Bottoni, Ceriani (Univ. of Rome) Dataflow Platf. for Exp.s on Linked Data DNIS 2014 13 / 38
Background: Linked Data
SPARQL (3): UPDATE
PREFIX foaf: <http://xmlns.com/foaf/0.1/>
WITH <http://example/addresses>
DELETE { ?person foaf:givenName ’Bill’ }
INSERT { ?person foaf:givenName ’William’ }
WHERE
{ ?person foaf:givenName ’Bill’
}
Bottoni, Ceriani (Univ. of Rome) Dataflow Platf. for Exp.s on Linked Data DNIS 2014 14 / 38
Our Solution: SWOWS
Outline
1 Motivation
2 Background: Linked Data
3 Our Solution: SWOWSMain IdeasDataflow LanguageSemanticsPlatformExample Application
4 Conclusions
Bottoni, Ceriani (Univ. of Rome) Dataflow Platf. for Exp.s on Linked Data DNIS 2014 15 / 38
Our Solution: SWOWS Main Ideas
Outline
1 Motivation
2 Background: Linked Data
3 Our Solution: SWOWSMain IdeasDataflow LanguageSemanticsPlatformExample Application
4 Conclusions
Bottoni, Ceriani (Univ. of Rome) Dataflow Platf. for Exp.s on Linked Data DNIS 2014 16 / 38
Our Solution: SWOWS Main Ideas
Open Computing
Transparent Boxes vs Black Boxes
Bottoni, Ceriani (Univ. of Rome) Dataflow Platf. for Exp.s on Linked Data DNIS 2014 17 / 38
Our Solution: SWOWS Main Ideas
Linked Programs
Bottoni, Ceriani (Univ. of Rome) Dataflow Platf. for Exp.s on Linked Data DNIS 2014 18 / 38
Our Solution: SWOWS Main Ideas
Dataflow Paradigm
Side-Effects Free Operators
Bottoni, Ceriani (Univ. of Rome) Dataflow Platf. for Exp.s on Linked Data DNIS 2014 19 / 38
Our Solution: SWOWS Main Ideas
Based on Established Standards
Web StandardsXML, XML DOM, XML DOM EventsScalable Vector Graphics
Semantic Web StandardsRDFSPARQL 1.1
Bottoni, Ceriani (Univ. of Rome) Dataflow Platf. for Exp.s on Linked Data DNIS 2014 20 / 38
Our Solution: SWOWS Dataflow Language
Outline
1 Motivation
2 Background: Linked Data
3 Our Solution: SWOWSMain IdeasDataflow LanguageSemanticsPlatformExample Application
4 Conclusions
Bottoni, Ceriani (Univ. of Rome) Dataflow Platf. for Exp.s on Linked Data DNIS 2014 21 / 38
Our Solution: SWOWS Dataflow Language
Construct Graph Operator
Bottoni, Ceriani (Univ. of Rome) Dataflow Platf. for Exp.s on Linked Data DNIS 2014 22 / 38
Our Solution: SWOWS Dataflow Language
Updatable Graph Operator
Bottoni, Ceriani (Univ. of Rome) Dataflow Platf. for Exp.s on Linked Data DNIS 2014 23 / 38
Our Solution: SWOWS Semantics
Outline
1 Motivation
2 Background: Linked Data
3 Our Solution: SWOWSMain IdeasDataflow LanguageSemanticsPlatformExample Application
4 Conclusions
Bottoni, Ceriani (Univ. of Rome) Dataflow Platf. for Exp.s on Linked Data DNIS 2014 24 / 38
Our Solution: SWOWS Semantics
Events and (Implicit) Time
Temporal RDF Graphs (snapshots)RDF Streams (descr. of events)
Bottoni, Ceriani (Univ. of Rome) Dataflow Platf. for Exp.s on Linked Data DNIS 2014 25 / 38
Our Solution: SWOWS Semantics
Fixpoint Operator
Bottoni, Ceriani (Univ. of Rome) Dataflow Platf. for Exp.s on Linked Data DNIS 2014 26 / 38
Our Solution: SWOWS Semantics
Fixpoint Operator
Bottoni, Ceriani (Univ. of Rome) Dataflow Platf. for Exp.s on Linked Data DNIS 2014 26 / 38
Our Solution: SWOWS Semantics
Update Semantics
Bottoni, Ceriani (Univ. of Rome) Dataflow Platf. for Exp.s on Linked Data DNIS 2014 27 / 38
Our Solution: SWOWS Semantics
Update Semantics
Bottoni, Ceriani (Univ. of Rome) Dataflow Platf. for Exp.s on Linked Data DNIS 2014 27 / 38
Our Solution: SWOWS Platform
Outline
1 Motivation
2 Background: Linked Data
3 Our Solution: SWOWSMain IdeasDataflow LanguageSemanticsPlatformExample Application
4 Conclusions
Bottoni, Ceriani (Univ. of Rome) Dataflow Platf. for Exp.s on Linked Data DNIS 2014 28 / 38
Our Solution: SWOWS Platform
Platform Overview
Bottoni, Ceriani (Univ. of Rome) Dataflow Platf. for Exp.s on Linked Data DNIS 2014 29 / 38
Our Solution: SWOWS Platform
Platform Overview
Bottoni, Ceriani (Univ. of Rome) Dataflow Platf. for Exp.s on Linked Data DNIS 2014 29 / 38
Our Solution: SWOWS Platform
Platform Overview
Bottoni, Ceriani (Univ. of Rome) Dataflow Platf. for Exp.s on Linked Data DNIS 2014 29 / 38
Our Solution: SWOWS Platform
Platform Overview
Bottoni, Ceriani (Univ. of Rome) Dataflow Platf. for Exp.s on Linked Data DNIS 2014 29 / 38
Our Solution: SWOWS Example Application
Outline
1 Motivation
2 Background: Linked Data
3 Our Solution: SWOWSMain IdeasDataflow LanguageSemanticsPlatformExample Application
4 Conclusions
Bottoni, Ceriani (Univ. of Rome) Dataflow Platf. for Exp.s on Linked Data DNIS 2014 30 / 38
Our Solution: SWOWS Example Application
An example
Data usedFAO geopolitical ontologyWorld Map with country borders from Wikipedia
OutputCountries colored on the map by derived geopolitical indexes
InteractionRadio buttons, to choose one of three different geopolitical indexes
Bottoni, Ceriani (Univ. of Rome) Dataflow Platf. for Exp.s on Linked Data DNIS 2014 31 / 38
Our Solution: SWOWS Example Application
A screenshot
Bottoni, Ceriani (Univ. of Rome) Dataflow Platf. for Exp.s on Linked Data DNIS 2014 32 / 38
Our Solution: SWOWS Example Application
The dataflow
Bottoni, Ceriani (Univ. of Rome) Dataflow Platf. for Exp.s on Linked Data DNIS 2014 33 / 38
Conclusions
Outline
1 Motivation
2 Background: Linked Data
3 Our Solution: SWOWSMain IdeasDataflow LanguageSemanticsPlatformExample Application
4 Conclusions
Bottoni, Ceriani (Univ. of Rome) Dataflow Platf. for Exp.s on Linked Data DNIS 2014 34 / 38
Conclusions
Results
Model for Linked Data Interactive Appspipeline languagehandling of eventsRDF representation of UI
Web-based Dev Platform based on this Modelvisual pipeline editorthin-client pipeline engineRDF representation of pipelines
Bottoni, Ceriani (Univ. of Rome) Dataflow Platf. for Exp.s on Linked Data DNIS 2014 35 / 38
Conclusions
Future Work
Higher Level Development EnvironmentsUser Interface AdaptationMulti-Device InteractionParallel/Pipeline Processing
Bottoni, Ceriani (Univ. of Rome) Dataflow Platf. for Exp.s on Linked Data DNIS 2014 36 / 38
Conclusions
Acknowledgements
Sapienza, University of RomeDipartimento di Informatica (Computer Science Department)
Regione Lazio
Bottoni, Ceriani (Univ. of Rome) Dataflow Platf. for Exp.s on Linked Data DNIS 2014 37 / 38
Conclusions
Thank you!
swows.org
Bottoni, Ceriani (Univ. of Rome) Dataflow Platf. for Exp.s on Linked Data DNIS 2014 38 / 38