Stream Reasoning with Linked Data Open Data Open Day 2013 Sina Samangooei, Nick Gibbins 26 June 2013.

Slides:



Advertisements
Similar presentations
Dr. Leo Obrst MITRE Information Semantics Information Discovery & Understanding Command & Control Center February 6, 2014February 6, 2014February 6, 2014.
Advertisements

International Technology Alliance In Network & Information Sciences International Technology Alliance In Network & Information Sciences Paul Smart, Ali.
Copyright 2009 Digital Enterprise Research Institute. All rights reserved. Digital Enterprise Research Institute Uniasdsd Dynamic querying.
Chapter 10: Designing Databases
Schema Matching and Query Rewriting in Ontology-based Data Integration Zdeňka Linková ICS AS CR Advisor: Július Štuller.
Twarql Tapping Into the Wisdom of the Crowd Pablo N. Mendes, Pavan Kapanipathi, Alexandre Passant I-SEMANTICS Graz, Austria September 2 nd, 2010.
The Design and Implementation of Minimal RDFS Backward Reasoning in 4store Manuel Salvadores, Gianluca Correndo, Steve Harris, Nick Gibbins, and Nigel.
CSCI 572 Project Presentation Mohsen Taheriyan Semantic Search on FOAF profiles.
Incremental Materialization of RDF Graph Closures for Stream Reasoning Alexandre Mello Ferreira (PhD student) 22/11/2010.
An Abstract Semantics and Concrete Language for Continuous Queries over Streams and Relations Presenter: Liyan Zhang Presentation of ICS
COMP 6703 eScience Project Semantic Web for Museums Student : Lei Junran Client/Technical Supervisor : Tom Worthington Academic Supervisor : Peter Strazdins.
Understanding Metamodels. Outline Understanding metamodels Applying reference models Fundamental metamodel for describing software components Content.
1 PODS 2002 Motivation. 2 PODS 2002 Data Streams data sets Traditional DBMS – data stored in finite, persistent data sets data streams New Applications.
Event Processing Course Event processing networks (relates to chapter 6)
Event Processing Course Producers and consumers (relates to chapters 4 + 5)
Audumbar Chormale Advisor: Dr. Anupam Joshi M.S. Thesis Defense
Semantic Web Andrejs Lesovskis. Publishing on the Web Making information available without knowing the eventual use; reuse, collaboration; reproduction.
1/18 Hypertwitter Collaborative Knowledge Engineering via Twitter Messages Зорана Васиљевић 09/3256
SPARQL All slides are adapted from the W3C Recommendation SPARQL Query Language for RDF Web link:
The Live Social Semantics. Goals Enhance the social experience of an event – Social networking Integrate – Data from social networking systems – Semantic.
The SADI plug-in to the IO Informatics’ Knowledge Explorer...a quick explanation of how we “boot-strap” semantics...
Semantic Publishing Update Second TUC meeting Munich 22/23 April 2013 Barry Bishop, Ontotext.
Knowledge based Learning Experience Management on the Semantic Web Feng (Barry) TAO, Hugh Davis Learning Society Lab University of Southampton.
PLATFORM INDEPENDENT SOFTWARE DEVELOPMENT MONITORING Mária Bieliková, Karol Rástočný, Eduard Kuric, et. al.
SAWA: An Assistant for Higher-Level Fusion and Situation Awareness Christopher J. Matheus, Mieczyslaw M. Kokar, Kenneth Baclawski, Jerzy A. Letkowski,
Chapter 3 Querying RDF stores with SPARQL. Why an RDF Query Language? Why not use an XML query language? XML at a lower level of abstraction than RDF.
Copyright 2002 Prentice-Hall, Inc. Modern Systems Analysis and Design Third Edition Jeffrey A. Hoffer Joey F. George Joseph S. Valacich Chapter 20 Object-Oriented.
SPARQL W3C Simple Protocol And RDF Query Language
Pete Bohman Adam Kunk. What is real-time search? What do you think as a class?
Ontology Summit 2015 Track C Report-back Summit Synthesis Session 1, 19 Feb 2015.
Conceptual Modelling – Behaviour
Streaming Knowledge Bases Onkar Walavalkar, Anupam Joshi Tim Finin and Yelena Yesha University of Maryland, Baltimore County 27 October 2008.
Author: Abhishek Das Google Inc., USA Ankit Jain Google Inc., USA Presented By: Anamika Mukherji 13/26/2013Indexing The World Wide Web.
SPARQL Query Graph Model (How to improve query evaluation?) Ralf Heese and Olaf Hartig Humboldt-Universität zu Berlin.
Page 1 Alliver™ Page 2 Scenario Users Contents Properties Contexts Tags Users Context Listener Set of contents Service Reasoner GPS Navigator.
MyActivity: A Cloud-Hosted Ontology-Based Framework for Human Activity Querying Amin BakhshandehAbkear Supervisor:
Rapid Prototyping of Semantic Mash-Ups through Semantic Web Pipes Danh Le-Phuoc, Axel Polleres, Manfred Hauswirth, Giovanni Tummarello 1, Christian Morbidoni.
Semantic Web Programming in Python an Introduction Biju B Jaganath G.
Data Stream Management Systems
Aum Sai Ram Security for Stream Data Modified from slides created by Sujan Pakala.
INNOV-10 Progress® Event Engine™ Technical Overview Prashant Thumma Principal Software Engineer.
Network Computing Laboratory A programming framework for Stream Synthesizing Service.
Dr. Lowell Vizenor Ontology and Semantic Technology Practice Lead Alion Science and Technology Semantic Technology: A Basic Introduction.
05/01/2016 SPARQL SPARQL Protocol and RDF Query Language S. Garlatti.
Conclusions Presenter: Manolis Koubarakis Extended Semantic Web Conference 2012.
THE SEMANTIC WEB By Conrad Williams. Contents  What is the Semantic Web?  Technologies  XML  RDF  OWL  Implementations  Social Networking  Scholarly.
Speaker: SSG4Env WP4 Semantic Integrator Proposal & WP2 Collaboration.
A Portrait of the Semantic Web in Action Jeff Heflin and James Hendler IEEE Intelligent Systems December 6, 2010 Hyewon Lim.
Semantic sewer pipe failure detection: Linked data approaches for discovering events Jonathan Yu | Research software engineer Environmental Information.
The Development of a search engine & Comparison according to algorithms Sung-soo Kim The final report.
Versatile Information Systems, Inc International Semantic Web Conference An Application of Semantic Web Technologies to Situation.
Ontology Technology applied to Catalogues Paul Kopp.
Week 1 Reference (chapter 1 in text book (1)) Dr. Fadi Fayez Jaber Updated By: Ola A.Younis Decision Support System.
Chapter 1 Overview of Databases and Transaction Processing.
Streaming Semantic Data COMP6215 Semantic Web Technologies Dr Nicholas Gibbins –
Indexing The World Wide Web: The Journey So Far Abhishek Das, Ankit Jain 2011 Paper Presentation : Abhishek Rangnekar 1.
ISC321 Database Systems I Chapter 2: Overview of Database Languages and Architectures Fall 2015 Dr. Abdullah Almutairi.
Semantic Web Application Patterns: Pipelines, Versioning and Validation David Booth, Ph.D. (Consultant) W3C Linked Enterprise Data Patterns Workshop 7-Dec-2011.
Efficient Evaluation of XQuery over Streaming Data
Semantic Event-based Service Oriented Architecture
Yaşar Tonta & Orçun Madran [yasartonta, Hacettepe University
SPARQL SPARQL Protocol and RDF Query Language
Middleware independent Information Service
Web Ontology Language for Service (OWL-S)
Adam Kučera, Tomáš Pitner
Chapter 20 Object-Oriented Analysis and Design
Technical Capabilities
LOD reference architecture
ONTOMERGE Ontology translations by merging ontologies Paper: Ontology Translation on the Semantic Web by Dejing Dou, Drew McDermott and Peishen Qi 2003.
Linked Data 101 Things, URIs, RDF, Triples, Turtle, Ontologies, Vocabularies and SPARQL Linked Data is our Implementation choice for FAIR.
Presentation transcript:

Stream Reasoning with Linked Data Open Data Open Day 2013 Sina Samangooei, Nick Gibbins 26 June 2013

Overview What is streaming data? Data Stream Management Systems Stream Reasoning Example System (if we have time!) Questions!

Streaming Data

Southampton Open Data Examples Organisation Academic Programmes Events iSolutions Workstations Bus Information static volatile

Streaming data Sensor networks –Smart energy –Traffic management –Environmental sensing Social networking and microblogging –Twitter, Facebook Telecommunication monitoring management –PRISM, TEMPORA (not all currently open, but progress in this direction )

Example: MIDAS 6

Example: Twitter Twitter provides a streaming API –Connect to stream and be pushed new tweets as they arrive Potential for real-time queries and analytics: –What are the hottest topics under discussion on Twitter? –Which topics have my close friends discussed in the last hour? –Who is discussing about Italian food in northern Italy right now? –Which movie is my friend likely to watch next? –Which Tuscany red wine should I recommend to one of my friends?

Data Stream Management Systems

From DBMS to DSMS Traditional DBMS: –“store now, query later” –Large static mainly unchanging data –Queried multiple times depending on application Traditional databases aren’t good for highly volatile data –Optimisation based on amortised effort (indexes to improve queries)

Database Management System (DBMS) 11 query processor stored data on disk query results

Data Stream Management Systems Deal with data streams! Formally! “Data streams are unbounded sequences of time-varying data elements” Less Formally! –An (almost) “continuous” flow of information –With more recent information being “more relevant” because it describes the current state of things

Data Stream Management Systems In a DSMS –Knowledge is dynamic –There are real time (real fast?) constraints Querying works on a push rather than pull mode –i.e. queries constructed and fed data Other considerations –Parallelization/Distribution –Windowing –Static data

Data Stream Management System (DSMS) 14 query processor continuous query stream of results data streams data streams

Stream Reasoning

Linked Open Data builds on the Semantic Web –Ontologies, inference, etc –(even if most people ignore it ) Stream Reasoning combines –stream processing –… and inference

Stream Reasoning – Input Raw data stream Think:  traffic updates  weather reports  tweets  other reasoners (could be triples)

Stream Reasoning – Query The query is registered The stream flows through it

Stream Reasoning – Query Results When the query is satisfied another stream of bindings is created

Stream Reasoning – Rules Equivalent to a query, rules are registered

Stream Reasoning – Entailments Entailments produced

Stream Reasoning – Output 1 Query bindings might be stored in an external store and queried

Stream Reasoning – Output 2 … or in a store which is itself windowed, showing a slice of query outputs

Example: Twitter Language Monitoring

Example: Live Twitter monitoring Raw twitter API consumed

Example: Live Twitter monitoring Raw tweets pre-processed and transformed to RDF

Example: Live Twitter monitoring RDF stream passed through registered queries

Live Twitter Monitoring – Example Query REGISTER QUERY Query1 AS PREFIX foaf: … select ?language (count(?post) as ?postCounts) FROM STREAM [RANGE 1s STEP 100ms] Where{ ?post tma:langid ?langid. ?langid tma:langid_language ?language. } GROUP BY ?language

Example: Live Twitter monitoring Graphs updated in real time

Conclusion Current open data is largely dealt with statically (even when it’s volatile) Traditional DBMS approach is problematic for highly volatile data DSMSes bridge this gap by applying queries directly to streams Stream reasoning combines linked data (and the Semantic Web) with DSMS

Example System

Example System: C-SPARQL C-SPARQL is a extension to SPARQL which supports streams Extensions supporting: –Query registration –Stream definition and windowing –Logical windows (time, window overlap etc.) –Physical windows (number of triples) –Custom aggregation primitives

An Simple Example of C-SPARQL Query ESWC 2010, Heraklion, Greece, May 31st, 2010 REGISTER QUERY WhatMyFriendsVisitedInTheLastHour AS PREFIX sioc: PREFIX foaf: PREFIX glue: SELECT DISTINCT ?friend ?topic FROM FROM STREAM [ RANGE 60m STEP 5m ] WHERE { glue:id1 foaf:knows ?friend. ?post sioc:has_creator ?friend. ?post rdf:type sioc:Post. ?post sioc:topic ?topic. }

An Simple Example of C-SPARQL Query ESWC 2010, Heraklion, Greece, May 31st, 2010 REGISTER QUERY WhatMyFriendsVisitedInTheLastHour AS PREFIX sioc: PREFIX foaf: PREFIX glue: SELECT DISTINCT ?friend ?topic FROM FROM STREAM [ RANGE 60m STEP 5m ] WHERE { glue:id1 foaf:knows ?friend. ?post sioc:has_creator ?friend. ?post rdf:type sioc:Post. ?post sioc:topic ?topic. } Query registration (for continuous execution)

An Simple Example of C-SPARQL Query ESWC 2010, Heraklion, Greece, May 31st, 2010 REGISTER QUERY WhatMyFriendsVisitedInTheLastHour AS PREFIX sioc: PREFIX foaf: PREFIX glue: SELECT DISTINCT ?friend ?topic FROM FROM STREAM [ RANGE 60m STEP 5m ] WHERE { glue:id1 foaf:knows ?friend. ?post sioc:has_creator ?friend. ?post rdf:type sioc:Post. ?post sioc:topic ?topic. } FROM static data clause

An Simple Example of C-SPARQL Query ESWC 2010, Heraklion, Greece, May 31st, 2010 REGISTER QUERY WhatMyFriendsVisitedInTheLastHour AS PREFIX sioc: PREFIX foaf: PREFIX glue: SELECT DISTINCT ?friend ?topic FROM FROM STREAM [ RANGE 60m STEP 5m ] WHERE { glue:id1 foaf:knows ?friend. ?post sioc:has_creator ?friend. ?post rdf:type sioc:Post. ?post sioc:topic ?topic. } FROM STREAM clause

An Simple Example of C-SPARQL Query ESWC 2010, Heraklion, Greece, May 31st, 2010 REGISTER QUERY WhatMyFriendsVisitedInTheLastHour AS PREFIX sioc: PREFIX foaf: PREFIX glue: SELECT DISTINCT ?friend ?topic FROM FROM STREAM [ RANGE 60m STEP 5m ] WHERE { glue:id1 foaf:knows ?friend. ?post sioc:has_creator ?friend. ?post rdf:type sioc:Post. ?post sioc:topic ?topic. } WINDOW

An Simple Example of C-SPARQL Query ESWC 2010, Heraklion, Greece, May 31st, 2010 REGISTER QUERY WhatMyFriendsVisitedInTheLastHour AS PREFIX sioc: PREFIX foaf: PREFIX glue: SELECT DISTINCT ?friend ?topic FROM FROM STREAM [ RANGE 60m STEP 5m ] WHERE { glue:id1 foaf:knows ?friend. ?post sioc:has_creator ?friend. ?post rdf:type sioc:Post. ?post sioc:topic ?topic. } Triples from a graph

An Simple Example of C-SPARQL Query ESWC 2010, Heraklion, Greece, May 31st, 2010 REGISTER QUERY WhatMyFriendsVisitedInTheLastHour AS PREFIX sioc: PREFIX foaf: PREFIX glue: SELECT DISTINCT ?friend ?topic FROM FROM STREAM [ RANGE 60m STEP 5m ] WHERE { glue:id1 foaf:knows ?friend. ?post sioc:has_creator ?friend. ?post rdf:type sioc:Post. ?post sioc:topic ?topic. } Combined with triples from a stream