SlideShare a Scribd company logo
Under the Hood
Fighting Fires with Real-
Time Semantic Web
Technology




Bart van Leeuwen / bart@netage.nl / @semanticfire
Under the hood, fighting fires with realtime semantic web technology
Under the hood, fighting fires with realtime semantic web technology
My Fear
5
Under the hood, fighting fires with realtime semantic web technology
Under the hood, fighting fires with realtime semantic web technology
Reality
Under the hood, fighting fires with realtime semantic web technology
Under the hood, fighting fires with realtime semantic web technology
Agile
Under the hood, fighting fires with realtime semantic web technology
14
Where it hurts most
Where it hurts most
●   Shift in personnel origin     ●   Tools that just do not do it
    –   Less 'native' Amsterdam       –   Answers to Questions we
                                          didn't ask
    –   Deprived of local
        knowledge                     –   Navigation system tells me
                                          next step, not the target adres
    –   Depend a lot on new
        technology                    –   Needs interaction
Navigation
Messages
Hands on!
Requirements
●   Non interactive              ●   Overview
    –   Always on                    –   Station location
    –   No keyboard or mouse         –   Incident location


●   Outside fire truck           ●   Non abbreviated text
    –   10 seconds of relative       –   Expand to full text
        tranquility so limited
        information
Proof of Concept
●   Over the air P2000     ●   PHP Script
    Messages                   –   Extract address
    –   RS-232 connected       –   GeoCode with
        receiver                   GoogleMaps API
●   Build URI Encoded      ●   Google Maps on web
    URL of message             page
●   Web Browser in Kiosk
    Mode
POC - Conclusion
●   'Great can you show             ●   'I Work on another
    information X as well?'             station can we get this
    –   Data model needs to be          as well?'
        extensible                      –   Deployable software
                                        –   Distributed infrastructure


●   'After a Windows
    update the maps looks
    wierd'
    –   Client software should be
        under stricter control
The first version
Data Model
Why RDF?
●   No clear overall picture   ●   Open data ready
    –   Flexible model             –   Multiple serializations
    –   Agile development


●   Point to external data     ●   Web technology
    –   Linked by definition       –   W3C Recommendation
Vocabularies – Reuse!
●   Events & relations         ●   Addresses
    –   VU SEM Simple Event        –   Vcard [4]
        Model [1]
●   Geo Locations              ●   Definitions
    –   W3C WGS84 Geo              –   SKOS [5]
        vocabulary [2]
●   Metadata                   ●   Only 6 domain specific
    –   OWMS/Dublin Core [3]       properties! [6]
Distribution
Apache ActiveMQ
  ●   JMS Broker [7]
      –   Opensource Java
  ●   Multi protocol
  ●   Scalable
      –   Single instance +10k queues
  ●   Message Persistence
  ●   Web based configuration / monitoring
Queue Interaction
  ●   P2000 message listener
      –   REST Interface
  ●   P2000 message decoder
      –   Handled by php script
  ●   Message distribution
      –   1 queue per attached monitor
      –   Based on P2000 address code
Server software
  ●   PHP Daemonized & REST
      –   Quick prototyping
      –   In house knowledge
  ●   Semsol ARC2 [8]
      –   Triple store
      –   Multiple serializations
      –   Maintained and Documented
  ●   Stomp [9]
      –   Standard messaging protocol
      –   Supported by ActiveMQ
User Interface
Mozilla XULRunner
  ●   Multi platform Gecko Engine ( Firefox ) [10]
  ●   Package HTML + Javascript apps
      –   low level extras
           ●   Certificate control
           ●   Multi threading
           ●   Window dressing
  ●   No Cross domain policy issues !
      –   Mainstream JS libraries work perfectly
The Application
  ●   Queue listener over HTTP
      –   Fetches Incident URI
  ●   Rdfstorejs [11]
      –   Extract property values
  ●   HTML OpenLayers web page [12]
      –   Show overview
      –   Zoom view if needed
  ●   Auto restart on connection loss
  ●   Software update-able
Overview

P2000 Windows        ActiveMQ             PHP Decoder
   Decoder       P2000 input Queue        Queue Listener




                                     Thin lines
                     ActiveMQ        are RDF
                   monitor Queue
 XULRunner App

                                          ARC2 Triple Store
Current monitor
37
Let's make a
  product
Publications
Product
  ●   Interest outside Amsterdam
  ●   Installable
  ●   Local requirements
  ●   Less control
  ●   Portable clients
New Features
●   Distribute SPARQL               ●   Introduce Agent
    1.1[13] updates                     structure
    –   More fine grained control       –   Fetch external data
●   Use WebID [14] for              ●   Move to another Triple
    monitors                            store
    –   Single Sign On                  –   Scalability
●   Enterprise paterns              ●   Multiple interfaces
    –   J2EE Container                  –   a.o. mobile
Distribution
Distribution
  ●   IBM WebSphere Application Server CE [15]
      –   J2EE Container
           ●   Includes ActiveMQ
  ●   Triplestore
      –   Jena TDB [16]
      –   IBM DB2 v10 Graph store [17]
  ●   RESC.Info components
      –   Jena Based [18]
           ●   Servlets
           ●   Message driven beans
External Data
External Data
●   Agents fetch external           ●   Traditional data sets
    Data                                –   CSV / SQL Databases
    –   Convert and insert linked            ●   D2RQ mapping [19]
        data
                                    ●   Linked Data sets
●   Sources
                                        –   Sparql endpoint
    –   Linked data
                                        –   Dereferencing
         ●   Historic Museum
    –   Traditional datasets
                                    ●   Insert copy of data in
                                        incident graph
User Interface
User Interface
●   Visualization is never a   ●   Technologies
    goal                           –   Enyojs [20]
    –   User demand rules          –   HTML5
●   Multiplatform              ●   Beware of information
    –   Desktop                    overload
    –   Mobile                 ●   WebID for authorization
●   Data driven
Overview

  GMS                   Agent             Agent               Building
                                                              Address
                                                            Administration


 Inicident Initiator                         Incident Dispatcher
                       Incident Manager

J2EE Container

Thin lines are                                       XULRunner
                              Jena
SPARQL 1.1 Updates                            XULRunner App
                          Triple Store
                                                 App
Updated station monitor
Tablet Application
Larger Context
Onward!
The Buzz
  ●   Linked Data Fire Engine
      –   Linked data bus on new fire engine
  ●   'Open Data' resonates
      –   Organization
      –   Nation wide advisory groups
My Fear
@Semanticfire
Under the Hood
Fighting Fires with Real-
Time Semantic Web
Technology




Bart van Leeuwen / bart@netage.nl / @semanticfire
Reference
●   [1] http://semanticweb.cs.vu.nl/2009/11/sem/
●   [2] http://www.w3.org/2003/01/geo/wgs84_pos
●   [3] http://standaarden.overheid.nl/owms/4.0/doc
●   [4] http://www.w3.org/2006/vcard/ns-2006.html
●   [5] http://www.w3.org/TR/skos-reference/
●   [6] http://vocab.resc.info
●   [7] http://activemq.apache.org/
●   [8] https://github.com/semsol/arc2/wiki
●   [9] http://stomp.github.com/stomp-specification-1.1.html
●   [10] https://developer.mozilla.org/en-US/docs/XULRunner
Reference
●   [11] https://github.com/antoniogarrote/rdfstore-js
●   [12] http://www.openlayers.org
●   [13] http://www.w3.org/TR/sparql11-query/
●   [14] http://www.w3.org/wiki/WebID
●   [15] http://www-01.ibm.com/software/webservers/appserv/community/
●   [16] http://jena.apache.org/documentation/tdb/index.html
●   [17] http://www.ibm.com/developerworks/downloads/im/udbexp/
●   [18] http://jena.apache.org/index.html
●   [19] http://d2rq.org/
●   [20] http://www.enyojs.com

More Related Content

PDF
Postgres-XC Write Scalable PostgreSQL Cluster
PDF
Postgres-XC as a Key Value Store Compared To MongoDB
PDF
Commit Conf 2018 - Hotelbeds' journey to a microservice cloud-based architecture
PDF
Where is my cache architectural patterns for caching microservices by example
PDF
5 Levels of High Availability: From Multi-instance to Hybrid Cloud
PDF
Grid Job Management
PPTX
Dynomite @ RedisConf 2017
PDF
FIWARE Wednesday Webinars - Strategies for Context Data Persistence
Postgres-XC Write Scalable PostgreSQL Cluster
Postgres-XC as a Key Value Store Compared To MongoDB
Commit Conf 2018 - Hotelbeds' journey to a microservice cloud-based architecture
Where is my cache architectural patterns for caching microservices by example
5 Levels of High Availability: From Multi-instance to Hybrid Cloud
Grid Job Management
Dynomite @ RedisConf 2017
FIWARE Wednesday Webinars - Strategies for Context Data Persistence

What's hot (12)

PDF
PXC 5.5 to MariaDB 10.4 Galera Cluster Migration Workshop
PDF
Introduction to Postrges-XC
PDF
NATS in action - A Real time Microservices Architecture handled by NATS
ODP
The Internet of Things ... Babel
PPTX
G rpc talk with intel (3)
PDF
Upleveling Brownfield Integration
PDF
Red Hat Gluster Storage - Direction, Roadmap and Use-Cases
PDF
Bn 1016 demo postgre sql-online-training
PDF
Koichi Suzuki - Postgres-XC Dynamic Cluster Management @ Postgres Open
PDF
Yechielthur1100red hat-cloud-infrastructure-networking-deep-dive-140417165107...
PPTX
Overview of some popular distributed databases
ODP
Geospatial web services using little-known GDAL features and modern Perl midd...
PXC 5.5 to MariaDB 10.4 Galera Cluster Migration Workshop
Introduction to Postrges-XC
NATS in action - A Real time Microservices Architecture handled by NATS
The Internet of Things ... Babel
G rpc talk with intel (3)
Upleveling Brownfield Integration
Red Hat Gluster Storage - Direction, Roadmap and Use-Cases
Bn 1016 demo postgre sql-online-training
Koichi Suzuki - Postgres-XC Dynamic Cluster Management @ Postgres Open
Yechielthur1100red hat-cloud-infrastructure-networking-deep-dive-140417165107...
Overview of some popular distributed databases
Geospatial web services using little-known GDAL features and modern Perl midd...
Ad

Viewers also liked (6)

PDF
Carta de presentación
PDF
Carta desafiliacion sindicato
DOCX
Carta de renuncia
DOCX
Carta de renuncia
DOC
Modelo de carta de renuncia o retiro voluntario
DOCX
Carta de renuncia
Carta de presentación
Carta desafiliacion sindicato
Carta de renuncia
Carta de renuncia
Modelo de carta de renuncia o retiro voluntario
Carta de renuncia
Ad

Similar to Under the hood, fighting fires with realtime semantic web technology (20)

ODP
Bazillion New Technologies
PDF
Blackray @ SAPO CodeBits 2009
PDF
BlackRay - The open Source Data Engine
PPTX
RedisConf17 - Dynomite - Making Non-distributed Databases Distributed
PDF
SJTU Summary report
PDF
Begining Android Development
PDF
Ent11+ +Red+Hat+Enterprise+Mrg
PDF
Ent11+ +Red+Hat+Enterprise+Mrg
PDF
Ent11+ +Red+Hat+Enterprise+Mrg
PDF
Full stack development
PDF
Pivotal Real Time Data Stream Analytics
PDF
Low TCO, high Impact: Innovative Government Services at Manatee County
ODP
Deploying Perl apps on dotCloud
PPTX
5G Cellular D2D RDMA Clusters
PPTX
Instruments to play microservice
PDF
Webinar: Applying REST to Network Management – An Implementor’s View
PDF
OSGi Cloud Ecosystems (EclipseCon 2013)
PDF
Automated Deployment and Management of Edge Clouds
PDF
FRED: A Hosted Data Flow Platform for the IoT
PDF
OSGi Cloud Ecosystems
Bazillion New Technologies
Blackray @ SAPO CodeBits 2009
BlackRay - The open Source Data Engine
RedisConf17 - Dynomite - Making Non-distributed Databases Distributed
SJTU Summary report
Begining Android Development
Ent11+ +Red+Hat+Enterprise+Mrg
Ent11+ +Red+Hat+Enterprise+Mrg
Ent11+ +Red+Hat+Enterprise+Mrg
Full stack development
Pivotal Real Time Data Stream Analytics
Low TCO, high Impact: Innovative Government Services at Manatee County
Deploying Perl apps on dotCloud
5G Cellular D2D RDMA Clusters
Instruments to play microservice
Webinar: Applying REST to Network Management – An Implementor’s View
OSGi Cloud Ecosystems (EclipseCon 2013)
Automated Deployment and Management of Edge Clouds
FRED: A Hosted Data Flow Platform for the IoT
OSGi Cloud Ecosystems

More from Bart van Leeuwen (8)

PDF
Action 85
PDF
SAFE2015 workshop at ISCRAM2015
PDF
Using interface encapsulation to listen to linked data predicates
PDF
Semantic Web Technology The case of Amsterdam-Amstelland Fire Engines
PDF
SMERST 2013
PDF
Bartvanleeuwen pilod
PDF
Semtechbiz 2012 Fighting Fires using realtime semantic web technology
PDF
Semtechbizuk2011
Action 85
SAFE2015 workshop at ISCRAM2015
Using interface encapsulation to listen to linked data predicates
Semantic Web Technology The case of Amsterdam-Amstelland Fire Engines
SMERST 2013
Bartvanleeuwen pilod
Semtechbiz 2012 Fighting Fires using realtime semantic web technology
Semtechbizuk2011

Recently uploaded (20)

PPTX
BOWEL ELIMINATION FACTORS AFFECTING AND TYPES
PDF
ANTIBIOTICS.pptx.pdf………………… xxxxxxxxxxxxx
PDF
Classroom Observation Tools for Teachers
PDF
VCE English Exam - Section C Student Revision Booklet
PDF
BÀI TẬP BỔ TRỢ 4 KỸ NĂNG TIẾNG ANH 9 GLOBAL SUCCESS - CẢ NĂM - BÁM SÁT FORM Đ...
PPTX
PPH.pptx obstetrics and gynecology in nursing
PDF
Business Ethics Teaching Materials for college
PDF
Saundersa Comprehensive Review for the NCLEX-RN Examination.pdf
PDF
3rd Neelam Sanjeevareddy Memorial Lecture.pdf
PDF
102 student loan defaulters named and shamed – Is someone you know on the list?
PPTX
Pharma ospi slides which help in ospi learning
PPTX
Microbial diseases, their pathogenesis and prophylaxis
PDF
01-Introduction-to-Information-Management.pdf
PPTX
Institutional Correction lecture only . . .
PPTX
Introduction_to_Human_Anatomy_and_Physiology_for_B.Pharm.pptx
PDF
Pre independence Education in Inndia.pdf
PDF
FourierSeries-QuestionsWithAnswers(Part-A).pdf
PDF
Mark Klimek Lecture Notes_240423 revision books _173037.pdf
PPTX
PPT- ENG7_QUARTER1_LESSON1_WEEK1. IMAGERY -DESCRIPTIONS pptx.pptx
PPTX
master seminar digital applications in india
BOWEL ELIMINATION FACTORS AFFECTING AND TYPES
ANTIBIOTICS.pptx.pdf………………… xxxxxxxxxxxxx
Classroom Observation Tools for Teachers
VCE English Exam - Section C Student Revision Booklet
BÀI TẬP BỔ TRỢ 4 KỸ NĂNG TIẾNG ANH 9 GLOBAL SUCCESS - CẢ NĂM - BÁM SÁT FORM Đ...
PPH.pptx obstetrics and gynecology in nursing
Business Ethics Teaching Materials for college
Saundersa Comprehensive Review for the NCLEX-RN Examination.pdf
3rd Neelam Sanjeevareddy Memorial Lecture.pdf
102 student loan defaulters named and shamed – Is someone you know on the list?
Pharma ospi slides which help in ospi learning
Microbial diseases, their pathogenesis and prophylaxis
01-Introduction-to-Information-Management.pdf
Institutional Correction lecture only . . .
Introduction_to_Human_Anatomy_and_Physiology_for_B.Pharm.pptx
Pre independence Education in Inndia.pdf
FourierSeries-QuestionsWithAnswers(Part-A).pdf
Mark Klimek Lecture Notes_240423 revision books _173037.pdf
PPT- ENG7_QUARTER1_LESSON1_WEEK1. IMAGERY -DESCRIPTIONS pptx.pptx
master seminar digital applications in india

Under the hood, fighting fires with realtime semantic web technology

  • 1. Under the Hood Fighting Fires with Real- Time Semantic Web Technology Bart van Leeuwen / bart@netage.nl / @semanticfire
  • 5. 5
  • 11. Agile
  • 13. 14
  • 15. Where it hurts most ● Shift in personnel origin ● Tools that just do not do it – Less 'native' Amsterdam – Answers to Questions we didn't ask – Deprived of local knowledge – Navigation system tells me next step, not the target adres – Depend a lot on new technology – Needs interaction
  • 19. Requirements ● Non interactive ● Overview – Always on – Station location – No keyboard or mouse – Incident location ● Outside fire truck ● Non abbreviated text – 10 seconds of relative – Expand to full text tranquility so limited information
  • 20. Proof of Concept ● Over the air P2000 ● PHP Script Messages – Extract address – RS-232 connected – GeoCode with receiver GoogleMaps API ● Build URI Encoded ● Google Maps on web URL of message page ● Web Browser in Kiosk Mode
  • 21. POC - Conclusion ● 'Great can you show ● 'I Work on another information X as well?' station can we get this – Data model needs to be as well?' extensible – Deployable software – Distributed infrastructure ● 'After a Windows update the maps looks wierd' – Client software should be under stricter control
  • 24. Why RDF? ● No clear overall picture ● Open data ready – Flexible model – Multiple serializations – Agile development ● Point to external data ● Web technology – Linked by definition – W3C Recommendation
  • 25. Vocabularies – Reuse! ● Events & relations ● Addresses – VU SEM Simple Event – Vcard [4] Model [1] ● Geo Locations ● Definitions – W3C WGS84 Geo – SKOS [5] vocabulary [2] ● Metadata ● Only 6 domain specific – OWMS/Dublin Core [3] properties! [6]
  • 27. Apache ActiveMQ ● JMS Broker [7] – Opensource Java ● Multi protocol ● Scalable – Single instance +10k queues ● Message Persistence ● Web based configuration / monitoring
  • 28. Queue Interaction ● P2000 message listener – REST Interface ● P2000 message decoder – Handled by php script ● Message distribution – 1 queue per attached monitor – Based on P2000 address code
  • 29. Server software ● PHP Daemonized & REST – Quick prototyping – In house knowledge ● Semsol ARC2 [8] – Triple store – Multiple serializations – Maintained and Documented ● Stomp [9] – Standard messaging protocol – Supported by ActiveMQ
  • 31. Mozilla XULRunner ● Multi platform Gecko Engine ( Firefox ) [10] ● Package HTML + Javascript apps – low level extras ● Certificate control ● Multi threading ● Window dressing ● No Cross domain policy issues ! – Mainstream JS libraries work perfectly
  • 32. The Application ● Queue listener over HTTP – Fetches Incident URI ● Rdfstorejs [11] – Extract property values ● HTML OpenLayers web page [12] – Show overview – Zoom view if needed ● Auto restart on connection loss ● Software update-able
  • 33. Overview P2000 Windows ActiveMQ PHP Decoder Decoder P2000 input Queue Queue Listener Thin lines ActiveMQ are RDF monitor Queue XULRunner App ARC2 Triple Store
  • 35. 37
  • 36. Let's make a product
  • 38. Product ● Interest outside Amsterdam ● Installable ● Local requirements ● Less control ● Portable clients
  • 39. New Features ● Distribute SPARQL ● Introduce Agent 1.1[13] updates structure – More fine grained control – Fetch external data ● Use WebID [14] for ● Move to another Triple monitors store – Single Sign On – Scalability ● Enterprise paterns ● Multiple interfaces – J2EE Container – a.o. mobile
  • 41. Distribution ● IBM WebSphere Application Server CE [15] – J2EE Container ● Includes ActiveMQ ● Triplestore – Jena TDB [16] – IBM DB2 v10 Graph store [17] ● RESC.Info components – Jena Based [18] ● Servlets ● Message driven beans
  • 43. External Data ● Agents fetch external ● Traditional data sets Data – CSV / SQL Databases – Convert and insert linked ● D2RQ mapping [19] data ● Linked Data sets ● Sources – Sparql endpoint – Linked data – Dereferencing ● Historic Museum – Traditional datasets ● Insert copy of data in incident graph
  • 45. User Interface ● Visualization is never a ● Technologies goal – Enyojs [20] – User demand rules – HTML5 ● Multiplatform ● Beware of information – Desktop overload – Mobile ● WebID for authorization ● Data driven
  • 46. Overview GMS Agent Agent Building Address Administration Inicident Initiator Incident Dispatcher Incident Manager J2EE Container Thin lines are XULRunner Jena SPARQL 1.1 Updates XULRunner App Triple Store App
  • 51. The Buzz ● Linked Data Fire Engine – Linked data bus on new fire engine ● 'Open Data' resonates – Organization – Nation wide advisory groups
  • 54. Under the Hood Fighting Fires with Real- Time Semantic Web Technology Bart van Leeuwen / bart@netage.nl / @semanticfire
  • 55. Reference ● [1] http://semanticweb.cs.vu.nl/2009/11/sem/ ● [2] http://www.w3.org/2003/01/geo/wgs84_pos ● [3] http://standaarden.overheid.nl/owms/4.0/doc ● [4] http://www.w3.org/2006/vcard/ns-2006.html ● [5] http://www.w3.org/TR/skos-reference/ ● [6] http://vocab.resc.info ● [7] http://activemq.apache.org/ ● [8] https://github.com/semsol/arc2/wiki ● [9] http://stomp.github.com/stomp-specification-1.1.html ● [10] https://developer.mozilla.org/en-US/docs/XULRunner
  • 56. Reference ● [11] https://github.com/antoniogarrote/rdfstore-js ● [12] http://www.openlayers.org ● [13] http://www.w3.org/TR/sparql11-query/ ● [14] http://www.w3.org/wiki/WebID ● [15] http://www-01.ibm.com/software/webservers/appserv/community/ ● [16] http://jena.apache.org/documentation/tdb/index.html ● [17] http://www.ibm.com/developerworks/downloads/im/udbexp/ ● [18] http://jena.apache.org/index.html ● [19] http://d2rq.org/ ● [20] http://www.enyojs.com