SlideShare a Scribd company logo
1 of 22
Download to read offline
© Copyright 2010 Digital Enterprise Research Institute. All rights reserved.
Digital Enterprise Research Institute www.deri.ie
SemWebbers, LODers:
What PubSubHubbub can do for you
Alexandre Passant
DERI, NUI Galway
SemTech 2011
June 09 2011, San Francisco
Digital Enterprise Research Institute www.deri.ie
Agenda
  Real-time Web and Semantics
  Push vs Pull
  PubSubHubbub (PuSH), SemWeb and Linked Data
  sparqlPuSH
  SMOB
  Twarql
  Q/A
Digital Enterprise Research Institute www.deri.ie
A *real-time* Web
  Information is no longer static
  The Social Web as an information stream (Twitter, 4sq, ...)
  New trends in ubiquitous computing
  Sensor data and the IoT
–  Even the @towerbridge is Tweeting !
  A new area for Citizen Sensing
  Earthquake detection (WWW2010 paper)
  Emergency management, reporting and monitoring
(Mumbai attacks on Flickr, Twitter, etc.)
  Opinion / trends mining (Box office prediction by HP labs)
3 of XYZ
Digital Enterprise Research Institute www.deri.ie
Semantics and the real-time Web
  Combining social stream, sensors and social data
  What’s happening right now, sport-wise, 25km around here ?
–  Geonames, Twitter, Dbpedia, etc.
  Who in my social network, whatever the website we’re
connected through, is currently in my hometown
–  FOAF, Geonames, etc.
  Any humidity issues in our server rooms in the US
–  Sensors, Geonames, Legacy Enterprise Data, etc.
  New architectures are required
  Enabling pro-active notification based on triggers
  Defining semantic triggers ? Yes, with SPARQL !
4 of XYZ
Digital Enterprise Research Institute www.deri.ie
Pull vs Push
  Pull
  Constant queries to various sources to get what’s new
  Useless HTTP calls (API/RSS), risks of being banned (TOS),
costs and maintenance
5 of XYZ
Schema by M. Dabrowski, DERI
Digital Enterprise Research Institute www.deri.ie
Pull vs Push
  Push
  Websites let me know when they have something relevant
  Wait. Receive. Consume
6 of XYZ
Schema by M. Dabrowski, DERI
Digital Enterprise Research Institute www.deri.ie
PubSubHubbub (PuSH) at a glance
  Google’s approach to enable Push on the Web
  http://code.google.com/p/pubsubhubbub
  Based on Atom / RSS
–  link rel=“hub” header for identifying Hub from a feed
  Simple registration / notification approach
–  Libraries available in various languages
–  Open source code for PuSH hub
  Broadcasting data through public hubs
–  Use Google’s one, Superfeedr, or host your own (e.g.
Enterprise distribution of content)
7 of XYZ
Digital Enterprise Research Institute www.deri.ie
PubSubHubbub, SemWeb and LOD ?
  Registrations and notifications of structured data
  Efficient broadcasting of structured content at Web scale
  sparqlPuSH
  Pro-active notifications of changes in RDF stores
  Real-time monitoring using SPARQL and PuSH
  SMOB
  Distributed microblogging
  Syncing hubs with PuSH and SPARQL 1.1 Update
  Twarql
  Twitter stream analysis
8 of XYZ
Digital Enterprise Research Institute www.deri.ie
sparqlPuSH at a glance
  sparqlPuSH
  Combining SPARQL, SPARQL Update and PubSubHubbub
for pro-active notifications of changes in RDF stores
  Can be plugged on the top of any RDF store -
http://code.google.com/p/sparqlpush/
  Based on
  SPARQL to register feeds based on query patterns
  SPARQL 1.1 Update for triggers registration and detection
  Atom and RSS to get feeds of related changes
  PubSubHubbub for broadcasting changes
9 of XYZ
Digital Enterprise Research Institute www.deri.ie
A 2-steps approach
  A two-steps approach
  Query registration
  Change notification
  A sparqlPuSH endpoint
  Plugged on top of any RDF store (implementation-agnostic)
  Registration can be done remotely, through an HTTP request
sent to the sparqlPuSH endpoing
  Notification is triggered as soon as relevant data appears in
the store, loaded with SPARQL Update through sparqlPuSH
  Clients must understand the rel=“hub” link in the feed
header, and interpret notification from PuSH hubs
10 of XYZ
Digital Enterprise Research Institute www.deri.ie
Query registration
11 of XYZ
Digital Enterprise Research Institute www.deri.ie
Example of query registration
  Identifying changes on a particular object
  Be notified when something happens to ex:FooBar
  Using the Changeset vocabulary by Talis
12 of XYZ
Digital Enterprise Research Institute www.deri.ie
Query registration
13 of XYZ
Digital Enterprise Research Institute www.deri.ie
Conventions in query registration
  Using conventions to get a well-formatted Atom /
RSS feed
  Easier to read in standard aggregators
  Mandatory elements
  ?uri - their URI of the element(s) to be retrieved
  ?date - their creation / modification date
  Can be used to retrieve named graphs if content itself is
not dated
  Optional elements
  ?label - their label
  ?author - their author
14 of XYZ
Digital Enterprise Research Institute www.deri.ie
Browsing available feeds
  The sparqlPuSH UI
  Lists available feeds, including timestamp of last update
  Ability to create feeds from the interface
15 of XYZ
Digital Enterprise Research Institute www.deri.ie
Notification
16 of XYZ
Digital Enterprise Research Institute www.deri.ie
Notification on data update
  SPARQL Update support
  HTTP-Posting data to the sparqlPuSH endpoint
–  Then loaded in the underlying RDF store
–  Allows *real-time* identification (as opposed to cron-job)
  Identifying relevant changes
  Applying all registered queries to the updated dataset
  Broadcasting changes
  Using PubSubHubbub ! (Scalability and RT delivery)
17 of XYZ
Digital Enterprise Research Institute www.deri.ie
Implementation
  Source code (PHP)
  http://code.google.com/p/sparqlpush/ (BSD license)
  Server
  Connection to any SPARQL endpoint
  Additional connector for ARC2 using the ARC2 API
  Generating RSS or Atom feeds
  Demo client
  Registering / unregistering queries to remote interfaces
  Receiving updates from registered feeds
18 of XYZ
Digital Enterprise Research Institute www.deri.ie
SMOB
  Distributed and Semantic Microblogging
  Setup your own hub, own your data, broadcast it
  Fully SemWeb based (RDF backend, RDFa, LOD, etc.)
  http://smob.me
  SMOB and PuSH ?
  Broadcasting SPARQL 1.1
Update queries (in RSS feed)
  Instant notification for your
followers
  Ability to broadcast content
deletion
19 of XYZ
HTTP POST
SPARQL/Update +
HTTP POST
Local SPARQL/Update
SMOB hub at http://apassant.net
SMOB hub at http://example.org
http://twitter.com
Digital Enterprise Research Institute www.deri.ie
SPARQL 1.1 Update + RSS + PuSH
20 of XYZ
Digital Enterprise Research Institute www.deri.ie
Twarql
  Twitter feeds through SPARQL
  Entity extraction from Twitter feeds
  Representation as Linked Data (SMOB Stack)
  SPARQL queries + PuSH for notifications
  Code and demos
  http://wiki.knoesis.org/index.php/Twarql
  http://bit.ly/twarql
21 of XYZ
Digital Enterprise Research Institute www.deri.ie
Questions ?
  Acknowledgements
  Google Research Awards
  Julie Anaya (SMOB + PuSH)
  Pablo Mendes / Pavan Kapanipathi (Twarql)
  Contact
  alexandre.passant@deri.org
  http://apassant.net
  @terraces
22 of XYZ

More Related Content

Similar to Semwebbers, LODers, what PubSubHubbub can do for you (SemTech)

CoC23_Utilizing Real-Time Transit Data for Travel Optimization
CoC23_Utilizing Real-Time Transit Data for Travel OptimizationCoC23_Utilizing Real-Time Transit Data for Travel Optimization
CoC23_Utilizing Real-Time Transit Data for Travel Optimization
Timothy Spann
 

Similar to Semwebbers, LODers, what PubSubHubbub can do for you (SemTech) (20)

sparqlPuSH: Proactive notification of data updates in RDF stores using PubSub...
sparqlPuSH: Proactive notification of data updates in RDF stores using PubSub...sparqlPuSH: Proactive notification of data updates in RDF stores using PubSub...
sparqlPuSH: Proactive notification of data updates in RDF stores using PubSub...
 
Overview of Apache Flink: the 4G of Big Data Analytics Frameworks
Overview of Apache Flink: the 4G of Big Data Analytics FrameworksOverview of Apache Flink: the 4G of Big Data Analytics Frameworks
Overview of Apache Flink: the 4G of Big Data Analytics Frameworks
 
Overview of Apache Fink: the 4 G of Big Data Analytics Frameworks
Overview of Apache Fink: the 4 G of Big Data Analytics FrameworksOverview of Apache Fink: the 4 G of Big Data Analytics Frameworks
Overview of Apache Fink: the 4 G of Big Data Analytics Frameworks
 
Overview of Apache Fink: The 4G of Big Data Analytics Frameworks
Overview of Apache Fink: The 4G of Big Data Analytics FrameworksOverview of Apache Fink: The 4G of Big Data Analytics Frameworks
Overview of Apache Fink: The 4G of Big Data Analytics Frameworks
 
Koalas: Unifying Spark and pandas APIs
Koalas: Unifying Spark and pandas APIsKoalas: Unifying Spark and pandas APIs
Koalas: Unifying Spark and pandas APIs
 
Meetup at AI NextCon 2019: In-Stream data process, Data Orchestration & More
Meetup at AI NextCon 2019: In-Stream data process, Data Orchestration & MoreMeetup at AI NextCon 2019: In-Stream data process, Data Orchestration & More
Meetup at AI NextCon 2019: In-Stream data process, Data Orchestration & More
 
Building Scalable Data Pipelines - 2016 DataPalooza Seattle
Building Scalable Data Pipelines - 2016 DataPalooza SeattleBuilding Scalable Data Pipelines - 2016 DataPalooza Seattle
Building Scalable Data Pipelines - 2016 DataPalooza Seattle
 
CoC23_Utilizing Real-Time Transit Data for Travel Optimization
CoC23_Utilizing Real-Time Transit Data for Travel OptimizationCoC23_Utilizing Real-Time Transit Data for Travel Optimization
CoC23_Utilizing Real-Time Transit Data for Travel Optimization
 
Hunk - Unlocking The Power of Big Data Breakout Session
Hunk - Unlocking The Power of Big Data Breakout SessionHunk - Unlocking The Power of Big Data Breakout Session
Hunk - Unlocking The Power of Big Data Breakout Session
 
Analysis of Major Trends in Big Data Analytics
Analysis of Major Trends in Big Data AnalyticsAnalysis of Major Trends in Big Data Analytics
Analysis of Major Trends in Big Data Analytics
 
Analysis of Major Trends in Big Data Analytics
Analysis of Major Trends in Big Data AnalyticsAnalysis of Major Trends in Big Data Analytics
Analysis of Major Trends in Big Data Analytics
 
Real time stock processing with apache nifi, apache flink and apache kafka
Real time stock processing with apache nifi, apache flink and apache kafkaReal time stock processing with apache nifi, apache flink and apache kafka
Real time stock processing with apache nifi, apache flink and apache kafka
 
Hadoop and Pig at Twitter__HadoopSummit2010
Hadoop and Pig at Twitter__HadoopSummit2010Hadoop and Pig at Twitter__HadoopSummit2010
Hadoop and Pig at Twitter__HadoopSummit2010
 
Apache NiFi Crash Course Intro
Apache NiFi Crash Course IntroApache NiFi Crash Course Intro
Apache NiFi Crash Course Intro
 
Analysis-of-Major-Trends-in-big-data-analytics-slim-baltagi-hadoop-summit
Analysis-of-Major-Trends-in-big-data-analytics-slim-baltagi-hadoop-summitAnalysis-of-Major-Trends-in-big-data-analytics-slim-baltagi-hadoop-summit
Analysis-of-Major-Trends-in-big-data-analytics-slim-baltagi-hadoop-summit
 
Big data apache spark + scala
Big data   apache spark + scalaBig data   apache spark + scala
Big data apache spark + scala
 
Hadoop/Spark Non-Technical Basics
Hadoop/Spark Non-Technical BasicsHadoop/Spark Non-Technical Basics
Hadoop/Spark Non-Technical Basics
 
2013-05-22 RedHatGov Partner Event
2013-05-22 RedHatGov Partner Event2013-05-22 RedHatGov Partner Event
2013-05-22 RedHatGov Partner Event
 
Open Source Data Orchestration for AI, Big Data, and Cloud
Open Source Data Orchestration for AI, Big Data, and CloudOpen Source Data Orchestration for AI, Big Data, and Cloud
Open Source Data Orchestration for AI, Big Data, and Cloud
 
Apache-Flink-What-How-Why-Who-Where-by-Slim-Baltagi
Apache-Flink-What-How-Why-Who-Where-by-Slim-BaltagiApache-Flink-What-How-Why-Who-Where-by-Slim-Baltagi
Apache-Flink-What-How-Why-Who-Where-by-Slim-Baltagi
 

More from Alexandre Passant

More from Alexandre Passant (20)

seevl: Cloud computing, the Semantic Web and Music Discovery
seevl: Cloud computing, the Semantic Web and Music Discoveryseevl: Cloud computing, the Semantic Web and Music Discovery
seevl: Cloud computing, the Semantic Web and Music Discovery
 
seevl: Data-driven music discovery
seevl: Data-driven music discoveryseevl: Data-driven music discovery
seevl: Data-driven music discovery
 
Seevl - SemTech lightning talk
Seevl - SemTech lightning talkSeevl - SemTech lightning talk
Seevl - SemTech lightning talk
 
SPARQL 1.1 - Quoi de neuf pour manipuler les données sur le Web
SPARQL 1.1 - Quoi de neuf pour manipuler les données sur le WebSPARQL 1.1 - Quoi de neuf pour manipuler les données sur le Web
SPARQL 1.1 - Quoi de neuf pour manipuler les données sur le Web
 
Social Web - The Next Generation
Social Web - The Next GenerationSocial Web - The Next Generation
Social Web - The Next Generation
 
Dbrec - Music recommendations using DBpedia
Dbrec - Music recommendations using DBpediaDbrec - Music recommendations using DBpedia
Dbrec - Music recommendations using DBpedia
 
i-Semantics panel
i-Semantics paneli-Semantics panel
i-Semantics panel
 
Rethinking Microblogging: Open Distributed Semantic
Rethinking Microblogging: Open Distributed SemanticRethinking Microblogging: Open Distributed Semantic
Rethinking Microblogging: Open Distributed Semantic
 
SMOB - A Framework for Semantic Microblogging
SMOB - A Framework for Semantic MicrobloggingSMOB - A Framework for Semantic Microblogging
SMOB - A Framework for Semantic Microblogging
 
A semantic framework for modelling quotes in email conversations
A semantic framework for modelling quotes in email conversationsA semantic framework for modelling quotes in email conversations
A semantic framework for modelling quotes in email conversations
 
Hey! Ho! Let’s go! Explanatory music recommendations with dbrec
Hey! Ho! Let’s go! Explanatory music recommendations with dbrecHey! Ho! Let’s go! Explanatory music recommendations with dbrec
Hey! Ho! Let’s go! Explanatory music recommendations with dbrec
 
Introduction to the Semantic Web
Introduction to the Semantic WebIntroduction to the Semantic Web
Introduction to the Semantic Web
 
Ontologies et Web 2.0 : une Expérimentation en Entreprise
Ontologies et Web 2.0 : une Expérimentation en EntrepriseOntologies et Web 2.0 : une Expérimentation en Entreprise
Ontologies et Web 2.0 : une Expérimentation en Entreprise
 
A user-friendly interface to browse and find DOAP project with doap:store
A user-friendly interface to browse and find DOAP project with doap:storeA user-friendly interface to browse and find DOAP project with doap:store
A user-friendly interface to browse and find DOAP project with doap:store
 
Folksonomies, Ontologies and Corporate Blogging
Folksonomies, Ontologies and Corporate BloggingFolksonomies, Ontologies and Corporate Blogging
Folksonomies, Ontologies and Corporate Blogging
 
Using Ontologies to Strengthen Folksonomies and Enrich Information Retrieval ...
Using Ontologies to Strengthen Folksonomies and Enrich Information Retrieval ...Using Ontologies to Strengthen Folksonomies and Enrich Information Retrieval ...
Using Ontologies to Strengthen Folksonomies and Enrich Information Retrieval ...
 
The Social Web
The Social WebThe Social Web
The Social Web
 
Using Semantics to Improve Corporate Online Communities
Using Semantics to Improve Corporate Online CommunitiesUsing Semantics to Improve Corporate Online Communities
Using Semantics to Improve Corporate Online Communities
 
Technologies du Web Sémantique pour l'Entreprise 2.0
Technologies du Web Sémantique pour l'Entreprise 2.0Technologies du Web Sémantique pour l'Entreprise 2.0
Technologies du Web Sémantique pour l'Entreprise 2.0
 
Semantic Enterprise 2.0 - Enabling Semantic Web technologies in Enterprise 2...
Semantic Enterprise 2.0 - Enabling Semantic Web technologies in Enterprise 2...Semantic Enterprise 2.0 - Enabling Semantic Web technologies in Enterprise 2...
Semantic Enterprise 2.0 - Enabling Semantic Web technologies in Enterprise 2...
 

Recently uploaded

Harnessing Passkeys in the Battle Against AI-Powered Cyber Threats.pptx
Harnessing Passkeys in the Battle Against AI-Powered Cyber Threats.pptxHarnessing Passkeys in the Battle Against AI-Powered Cyber Threats.pptx
Harnessing Passkeys in the Battle Against AI-Powered Cyber Threats.pptx
FIDO Alliance
 
Easier, Faster, and More Powerful – Alles Neu macht der Mai -Wir durchleuchte...
Easier, Faster, and More Powerful – Alles Neu macht der Mai -Wir durchleuchte...Easier, Faster, and More Powerful – Alles Neu macht der Mai -Wir durchleuchte...
Easier, Faster, and More Powerful – Alles Neu macht der Mai -Wir durchleuchte...
panagenda
 

Recently uploaded (20)

Intro in Product Management - Коротко про професію продакт менеджера
Intro in Product Management - Коротко про професію продакт менеджераIntro in Product Management - Коротко про професію продакт менеджера
Intro in Product Management - Коротко про професію продакт менеджера
 
Harnessing Passkeys in the Battle Against AI-Powered Cyber Threats.pptx
Harnessing Passkeys in the Battle Against AI-Powered Cyber Threats.pptxHarnessing Passkeys in the Battle Against AI-Powered Cyber Threats.pptx
Harnessing Passkeys in the Battle Against AI-Powered Cyber Threats.pptx
 
Top 10 CodeIgniter Development Companies
Top 10 CodeIgniter Development CompaniesTop 10 CodeIgniter Development Companies
Top 10 CodeIgniter Development Companies
 
The Metaverse: Are We There Yet?
The  Metaverse:    Are   We  There  Yet?The  Metaverse:    Are   We  There  Yet?
The Metaverse: Are We There Yet?
 
AI mind or machine power point presentation
AI mind or machine power point presentationAI mind or machine power point presentation
AI mind or machine power point presentation
 
State of the Smart Building Startup Landscape 2024!
State of the Smart Building Startup Landscape 2024!State of the Smart Building Startup Landscape 2024!
State of the Smart Building Startup Landscape 2024!
 
WebRTC and SIP not just audio and video @ OpenSIPS 2024
WebRTC and SIP not just audio and video @ OpenSIPS 2024WebRTC and SIP not just audio and video @ OpenSIPS 2024
WebRTC and SIP not just audio and video @ OpenSIPS 2024
 
The Value of Certifying Products for FDO _ Paul at FIDO Alliance.pdf
The Value of Certifying Products for FDO _ Paul at FIDO Alliance.pdfThe Value of Certifying Products for FDO _ Paul at FIDO Alliance.pdf
The Value of Certifying Products for FDO _ Paul at FIDO Alliance.pdf
 
Event-Driven Architecture Masterclass: Challenges in Stream Processing
Event-Driven Architecture Masterclass: Challenges in Stream ProcessingEvent-Driven Architecture Masterclass: Challenges in Stream Processing
Event-Driven Architecture Masterclass: Challenges in Stream Processing
 
Simplified FDO Manufacturing Flow with TPMs _ Liam at Infineon.pdf
Simplified FDO Manufacturing Flow with TPMs _ Liam at Infineon.pdfSimplified FDO Manufacturing Flow with TPMs _ Liam at Infineon.pdf
Simplified FDO Manufacturing Flow with TPMs _ Liam at Infineon.pdf
 
WebAssembly is Key to Better LLM Performance
WebAssembly is Key to Better LLM PerformanceWebAssembly is Key to Better LLM Performance
WebAssembly is Key to Better LLM Performance
 
Linux Foundation Edge _ Overview of FDO Software Components _ Randy at Intel.pdf
Linux Foundation Edge _ Overview of FDO Software Components _ Randy at Intel.pdfLinux Foundation Edge _ Overview of FDO Software Components _ Randy at Intel.pdf
Linux Foundation Edge _ Overview of FDO Software Components _ Randy at Intel.pdf
 
Long journey of Ruby Standard library at RubyKaigi 2024
Long journey of Ruby Standard library at RubyKaigi 2024Long journey of Ruby Standard library at RubyKaigi 2024
Long journey of Ruby Standard library at RubyKaigi 2024
 
Human Expert Website Manual WCAG 2.0 2.1 2.2 Audit - Digital Accessibility Au...
Human Expert Website Manual WCAG 2.0 2.1 2.2 Audit - Digital Accessibility Au...Human Expert Website Manual WCAG 2.0 2.1 2.2 Audit - Digital Accessibility Au...
Human Expert Website Manual WCAG 2.0 2.1 2.2 Audit - Digital Accessibility Au...
 
Design and Development of a Provenance Capture Platform for Data Science
Design and Development of a Provenance Capture Platform for Data ScienceDesign and Development of a Provenance Capture Platform for Data Science
Design and Development of a Provenance Capture Platform for Data Science
 
ERP Contender Series: Acumatica vs. Sage Intacct
ERP Contender Series: Acumatica vs. Sage IntacctERP Contender Series: Acumatica vs. Sage Intacct
ERP Contender Series: Acumatica vs. Sage Intacct
 
Easier, Faster, and More Powerful – Alles Neu macht der Mai -Wir durchleuchte...
Easier, Faster, and More Powerful – Alles Neu macht der Mai -Wir durchleuchte...Easier, Faster, and More Powerful – Alles Neu macht der Mai -Wir durchleuchte...
Easier, Faster, and More Powerful – Alles Neu macht der Mai -Wir durchleuchte...
 
Secure Zero Touch enabled Edge compute with Dell NativeEdge via FDO _ Brad at...
Secure Zero Touch enabled Edge compute with Dell NativeEdge via FDO _ Brad at...Secure Zero Touch enabled Edge compute with Dell NativeEdge via FDO _ Brad at...
Secure Zero Touch enabled Edge compute with Dell NativeEdge via FDO _ Brad at...
 
Event-Driven Architecture Masterclass: Engineering a Robust, High-performance...
Event-Driven Architecture Masterclass: Engineering a Robust, High-performance...Event-Driven Architecture Masterclass: Engineering a Robust, High-performance...
Event-Driven Architecture Masterclass: Engineering a Robust, High-performance...
 
Working together SRE & Platform Engineering
Working together SRE & Platform EngineeringWorking together SRE & Platform Engineering
Working together SRE & Platform Engineering
 

Semwebbers, LODers, what PubSubHubbub can do for you (SemTech)

  • 1. © Copyright 2010 Digital Enterprise Research Institute. All rights reserved. Digital Enterprise Research Institute www.deri.ie SemWebbers, LODers: What PubSubHubbub can do for you Alexandre Passant DERI, NUI Galway SemTech 2011 June 09 2011, San Francisco
  • 2. Digital Enterprise Research Institute www.deri.ie Agenda   Real-time Web and Semantics   Push vs Pull   PubSubHubbub (PuSH), SemWeb and Linked Data   sparqlPuSH   SMOB   Twarql   Q/A
  • 3. Digital Enterprise Research Institute www.deri.ie A *real-time* Web   Information is no longer static   The Social Web as an information stream (Twitter, 4sq, ...)   New trends in ubiquitous computing   Sensor data and the IoT –  Even the @towerbridge is Tweeting !   A new area for Citizen Sensing   Earthquake detection (WWW2010 paper)   Emergency management, reporting and monitoring (Mumbai attacks on Flickr, Twitter, etc.)   Opinion / trends mining (Box office prediction by HP labs) 3 of XYZ
  • 4. Digital Enterprise Research Institute www.deri.ie Semantics and the real-time Web   Combining social stream, sensors and social data   What’s happening right now, sport-wise, 25km around here ? –  Geonames, Twitter, Dbpedia, etc.   Who in my social network, whatever the website we’re connected through, is currently in my hometown –  FOAF, Geonames, etc.   Any humidity issues in our server rooms in the US –  Sensors, Geonames, Legacy Enterprise Data, etc.   New architectures are required   Enabling pro-active notification based on triggers   Defining semantic triggers ? Yes, with SPARQL ! 4 of XYZ
  • 5. Digital Enterprise Research Institute www.deri.ie Pull vs Push   Pull   Constant queries to various sources to get what’s new   Useless HTTP calls (API/RSS), risks of being banned (TOS), costs and maintenance 5 of XYZ Schema by M. Dabrowski, DERI
  • 6. Digital Enterprise Research Institute www.deri.ie Pull vs Push   Push   Websites let me know when they have something relevant   Wait. Receive. Consume 6 of XYZ Schema by M. Dabrowski, DERI
  • 7. Digital Enterprise Research Institute www.deri.ie PubSubHubbub (PuSH) at a glance   Google’s approach to enable Push on the Web   http://code.google.com/p/pubsubhubbub   Based on Atom / RSS –  link rel=“hub” header for identifying Hub from a feed   Simple registration / notification approach –  Libraries available in various languages –  Open source code for PuSH hub   Broadcasting data through public hubs –  Use Google’s one, Superfeedr, or host your own (e.g. Enterprise distribution of content) 7 of XYZ
  • 8. Digital Enterprise Research Institute www.deri.ie PubSubHubbub, SemWeb and LOD ?   Registrations and notifications of structured data   Efficient broadcasting of structured content at Web scale   sparqlPuSH   Pro-active notifications of changes in RDF stores   Real-time monitoring using SPARQL and PuSH   SMOB   Distributed microblogging   Syncing hubs with PuSH and SPARQL 1.1 Update   Twarql   Twitter stream analysis 8 of XYZ
  • 9. Digital Enterprise Research Institute www.deri.ie sparqlPuSH at a glance   sparqlPuSH   Combining SPARQL, SPARQL Update and PubSubHubbub for pro-active notifications of changes in RDF stores   Can be plugged on the top of any RDF store - http://code.google.com/p/sparqlpush/   Based on   SPARQL to register feeds based on query patterns   SPARQL 1.1 Update for triggers registration and detection   Atom and RSS to get feeds of related changes   PubSubHubbub for broadcasting changes 9 of XYZ
  • 10. Digital Enterprise Research Institute www.deri.ie A 2-steps approach   A two-steps approach   Query registration   Change notification   A sparqlPuSH endpoint   Plugged on top of any RDF store (implementation-agnostic)   Registration can be done remotely, through an HTTP request sent to the sparqlPuSH endpoing   Notification is triggered as soon as relevant data appears in the store, loaded with SPARQL Update through sparqlPuSH   Clients must understand the rel=“hub” link in the feed header, and interpret notification from PuSH hubs 10 of XYZ
  • 11. Digital Enterprise Research Institute www.deri.ie Query registration 11 of XYZ
  • 12. Digital Enterprise Research Institute www.deri.ie Example of query registration   Identifying changes on a particular object   Be notified when something happens to ex:FooBar   Using the Changeset vocabulary by Talis 12 of XYZ
  • 13. Digital Enterprise Research Institute www.deri.ie Query registration 13 of XYZ
  • 14. Digital Enterprise Research Institute www.deri.ie Conventions in query registration   Using conventions to get a well-formatted Atom / RSS feed   Easier to read in standard aggregators   Mandatory elements   ?uri - their URI of the element(s) to be retrieved   ?date - their creation / modification date   Can be used to retrieve named graphs if content itself is not dated   Optional elements   ?label - their label   ?author - their author 14 of XYZ
  • 15. Digital Enterprise Research Institute www.deri.ie Browsing available feeds   The sparqlPuSH UI   Lists available feeds, including timestamp of last update   Ability to create feeds from the interface 15 of XYZ
  • 16. Digital Enterprise Research Institute www.deri.ie Notification 16 of XYZ
  • 17. Digital Enterprise Research Institute www.deri.ie Notification on data update   SPARQL Update support   HTTP-Posting data to the sparqlPuSH endpoint –  Then loaded in the underlying RDF store –  Allows *real-time* identification (as opposed to cron-job)   Identifying relevant changes   Applying all registered queries to the updated dataset   Broadcasting changes   Using PubSubHubbub ! (Scalability and RT delivery) 17 of XYZ
  • 18. Digital Enterprise Research Institute www.deri.ie Implementation   Source code (PHP)   http://code.google.com/p/sparqlpush/ (BSD license)   Server   Connection to any SPARQL endpoint   Additional connector for ARC2 using the ARC2 API   Generating RSS or Atom feeds   Demo client   Registering / unregistering queries to remote interfaces   Receiving updates from registered feeds 18 of XYZ
  • 19. Digital Enterprise Research Institute www.deri.ie SMOB   Distributed and Semantic Microblogging   Setup your own hub, own your data, broadcast it   Fully SemWeb based (RDF backend, RDFa, LOD, etc.)   http://smob.me   SMOB and PuSH ?   Broadcasting SPARQL 1.1 Update queries (in RSS feed)   Instant notification for your followers   Ability to broadcast content deletion 19 of XYZ HTTP POST SPARQL/Update + HTTP POST Local SPARQL/Update SMOB hub at http://apassant.net SMOB hub at http://example.org http://twitter.com
  • 20. Digital Enterprise Research Institute www.deri.ie SPARQL 1.1 Update + RSS + PuSH 20 of XYZ
  • 21. Digital Enterprise Research Institute www.deri.ie Twarql   Twitter feeds through SPARQL   Entity extraction from Twitter feeds   Representation as Linked Data (SMOB Stack)   SPARQL queries + PuSH for notifications   Code and demos   http://wiki.knoesis.org/index.php/Twarql   http://bit.ly/twarql 21 of XYZ
  • 22. Digital Enterprise Research Institute www.deri.ie Questions ?   Acknowledgements   Google Research Awards   Julie Anaya (SMOB + PuSH)   Pablo Mendes / Pavan Kapanipathi (Twarql)   Contact   alexandre.passant@deri.org   http://apassant.net   @terraces 22 of XYZ