SlideShare a Scribd company logo
1 of 56
Download to read offline
Under the Hood
Fighting Fires with Real-
Time Semantic Web
Technology




Bart van Leeuwen / bart@netage.nl / @semanticfire
My Fear
5
Reality
Agile
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

What's hot

NATS in action - A Real time Microservices Architecture handled by NATS
NATS in action - A Real time Microservices Architecture handled by NATSNATS in action - A Real time Microservices Architecture handled by NATS
NATS in action - A Real time Microservices Architecture handled by NATS
Raül Pérez
 
Koichi Suzuki - Postgres-XC Dynamic Cluster Management @ Postgres Open
Koichi Suzuki - Postgres-XC Dynamic Cluster  Management @ Postgres OpenKoichi Suzuki - Postgres-XC Dynamic Cluster  Management @ Postgres Open
Koichi Suzuki - Postgres-XC Dynamic Cluster Management @ Postgres Open
PostgresOpen
 
Yechielthur1100red hat-cloud-infrastructure-networking-deep-dive-140417165107...
Yechielthur1100red hat-cloud-infrastructure-networking-deep-dive-140417165107...Yechielthur1100red hat-cloud-infrastructure-networking-deep-dive-140417165107...
Yechielthur1100red hat-cloud-infrastructure-networking-deep-dive-140417165107...
Công TÔ
 
Geospatial web services using little-known GDAL features and modern Perl midd...
Geospatial web services using little-known GDAL features and modern Perl midd...Geospatial web services using little-known GDAL features and modern Perl midd...
Geospatial web services using little-known GDAL features and modern Perl midd...
Ari Jolma
 

What's hot (12)

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

Viewers also liked (7)

Carta de presentación
Carta de presentaciónCarta de presentación
Carta de presentación
 
Carta desafiliacion sindicato
Carta desafiliacion sindicatoCarta desafiliacion sindicato
Carta desafiliacion sindicato
 
Carta de renuncia
Carta de renunciaCarta de renuncia
Carta de renuncia
 
El Poder lo simple
El Poder lo simpleEl Poder lo simple
El Poder lo simple
 
Carta de renuncia
Carta de renunciaCarta de renuncia
Carta de renuncia
 
Modelo de carta de renuncia o retiro voluntario
Modelo de carta de renuncia o retiro voluntarioModelo de carta de renuncia o retiro voluntario
Modelo de carta de renuncia o retiro voluntario
 
Carta de renuncia
Carta de renunciaCarta de renuncia
Carta de renuncia
 

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

SJTU Summary report
SJTU Summary reportSJTU Summary report
SJTU Summary report
Yves Chan
 
Ent11+ +Red+Hat+Enterprise+Mrg
Ent11+ +Red+Hat+Enterprise+MrgEnt11+ +Red+Hat+Enterprise+Mrg
Ent11+ +Red+Hat+Enterprise+Mrg
abcKia
 
Ent11+ +Red+Hat+Enterprise+Mrg
Ent11+ +Red+Hat+Enterprise+MrgEnt11+ +Red+Hat+Enterprise+Mrg
Ent11+ +Red+Hat+Enterprise+Mrg
abcKia
 
Ent11+ +Red+Hat+Enterprise+Mrg
Ent11+ +Red+Hat+Enterprise+MrgEnt11+ +Red+Hat+Enterprise+Mrg
Ent11+ +Red+Hat+Enterprise+Mrg
abcKia
 

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

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

More from Bart van Leeuwen (8)

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

Recently uploaded

Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
PECB
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
heathfieldcps1
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
QucHHunhnh
 
An Overview of Mutual Funds Bcom Project.pdf
An Overview of Mutual Funds Bcom Project.pdfAn Overview of Mutual Funds Bcom Project.pdf
An Overview of Mutual Funds Bcom Project.pdf
SanaAli374401
 
Seal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxSeal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptx
negromaestrong
 
Making and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdfMaking and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdf
Chris Hunter
 
Gardella_PRCampaignConclusion Pitch Letter
Gardella_PRCampaignConclusion Pitch LetterGardella_PRCampaignConclusion Pitch Letter
Gardella_PRCampaignConclusion Pitch Letter
MateoGardella
 

Recently uploaded (20)

Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
 
Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
 
Advance Mobile Application Development class 07
Advance Mobile Application Development class 07Advance Mobile Application Development class 07
Advance Mobile Application Development class 07
 
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17
 
Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy Consulting
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impact
 
An Overview of Mutual Funds Bcom Project.pdf
An Overview of Mutual Funds Bcom Project.pdfAn Overview of Mutual Funds Bcom Project.pdf
An Overview of Mutual Funds Bcom Project.pdf
 
Seal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxSeal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptx
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
 
Making and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdfMaking and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdf
 
Unit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxUnit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptx
 
Gardella_PRCampaignConclusion Pitch Letter
Gardella_PRCampaignConclusion Pitch LetterGardella_PRCampaignConclusion Pitch Letter
Gardella_PRCampaignConclusion Pitch Letter
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot Graph
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptx
 

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
  • 2.
  • 3.
  • 5. 5
  • 6.
  • 7.
  • 9.
  • 10.
  • 11. Agile
  • 12.
  • 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