Scenario implementing a Personal IoT Repository Smart Home Dashboard Personal IoT Repository Environmental Sensors Energy Meters Data Stream Energy Saving Analytics Stream & Historical Queries Motion Sensors Data ownership Own and store your data at home ↓PUBLIC Cloud ENCRYPTION BETTER PERFORMANCE SPECIFIC POLICIES/CONTROL ONLINE/OFFLINE, TRUST, ACCESS CONTROL
the space between the “Ground” and “Cloud” Irrigation Application Soil Moisture Analytics Lightweight Computer Hub Data Stream Environmental Sensors GROUND National Disaster Monitoring Application Weather Data City Inclement Weather Planning Application CLOUD Distributed Queries
Things is currently beset by product silos.” W3C Web of Things Interest Group CURRENT STATE OF THE INTERNET OF THINGS DATA SILOS: we don’t agree on standards EMERGING IDEAS like FOG COMPUTING PERFORMANCE of APPLICATIONS & ANALYTICS
FOR INTEROPERABILITY Ontologies AND DATA MODELS Establish common data structures & References http://thing.io/1 is a http://ont/weather_sensor CLASS produces http://thing.io/obs/1 http://ont/temp_observation is a 13.0 has value CLASS ℃ unit ENABLES RICH METADATA what, where, WHEN, HOW of DATA located at http://thing.io/loc/1 latitude longitude -1.41 50.9 PERFORMANCE CHALLENGES STORES DON’T SCALE & PERFORM WELL ON WEB YET Buil-Aranda, C., Hogan, A.: SPARQL Web-Querying Infrastructure: Ready for Action? ISWC 2013
OBS WIND SPEED OBS 13.0 2016-01-01 06:00:00 CELCIUS 93.0 2016-01-01 06:00:00 PERCENT 10.5 2016-01-01 06:00:00 MPH LOCATION produces produces located produces has value unit time GRAPH MODEL Siow, E., Tiropanis, T. and Hall, W. (2016) Interoperable & Efficient: Linked Data for the Internet of Things. INSCI2016: The 3rd Internet Science Conference
OBS WIND SPEED OBS 13.0 LOCATION produces produces located produces has value THING THING THING TEMPERATURE OBS time TEMPERATURE OBS 2016-01-01 06:00:00 unit TEMPERATURE OBS celcius 93.0 has value HUMIDITY OBS time HUMIDITY OBS 2016-01-01 06:00:00 unit HUMIDITY OBS PERCENT 10.5 has value WIND SPEED OBS time WIND SPEED OBS 2016-01-01 06:00:00 unit WIND SPEED OBS MPH RDF TRIPLES Siow, E., Tiropanis, T. and Hall, W. (2016) Interoperable & Efficient: Linked Data for the Internet of Things. INSCI2016: The 3rd Internet Science Conference INTEROPERABILITY WITH A RICH DATA MODEL
SPEED OBS CELCIUS PERCENT MPH LOCATION produces located HUMIDITY OBS unit TEMPERATURE HUMIDITY WIND SPEED 13.0 93.0 10.5 TIME 2016-01-01 06:00:00 OBSERVATION METADATA Siow, E., Tiropanis, T. and Hall, W. (2016) Interoperable & Efficient: Linked Data for the Internet of Things. INSCI2016: The 3rd Internet Science Conference INTEROPERABILITY WITH A RICH DATA MODEL
PERCENT MPH LOCATION produces located HUMIDITY OBS unit TEMPERATURE HUMIDITY WINDSPEED 13.0 93.0 10.5 TIME 2016-01-01 06:00:00 Table1 TABLE1.TEMPERATURE has value has value TABLE1.HUMIDITY has value TABLE1.WINDSPEED Siow, E., Tiropanis, T. and Hall, W. (2016) Interoperable & Efficient: Linked Data for the Internet of Things. INSCI2016: The 3rd Internet Science Conference
produces located HUMIDITY OBS unit TEMPERATURE HUMIDITY WINDSPEED 13.0 93.0 10.5 TIME 2016-01-01 06:00:00 Table1 TABLE1.TEMPERATURE has value has value TABLE1.HUMIDITY has value TABLE1.WINDSPEED EFFICIENT QUERYING: MAP-MATCH-OPERATE Siow, E., Tiropanis, T. and Hall, W. (2016) Interoperable & Efficient: Linked Data for the Internet of Things. INSCI2016: The 3rd Internet Science Conference
TEMPERATURE HUMID 13.0 93.0 TIME 2016-01-01 06:00:00 TABLE1.TEMPERATURE has value has va TABLE1.H MAX( ) ?TEMPERATURE SELECT ?OBS TEMPERATURE OBS a has value ?OBS ?TEMPERATURE has unit ?OBS ?uom { } SELECT MAX( ) ?TEMPERATURE ?OBS TEMPERATURE OBS a has value ?OBS ?TEMPERATURE has unit ?OBS ?uom EFFICIENT QUERYING: MAP-MATCH-OPERATE Siow, E., Tiropanis, T. and Hall, W. (2016) Interoperable & Efficient: Linked Data for the Internet of Things. INSCI2016: The 3rd Internet Science Conference
?TEMPERATURE SELECT ?OBS TEMPERATURE OBS a has value ?OBS ?TEMPERATURE has unit ?OBS ?uom { } SELECT MAX( ) ?TEMPERATURE ?OBS TEMPERATURE OBS a has value ?OBS ?TEMPERATURE has unit ?OBS ?uom Siow, E., Tiropanis, T. and Hall, W. (2016) Interoperable & Efficient: Linked Data for the Internet of Things. INSCI2016: The 3rd Internet Science Conference EFFICIENT QUERYING: MAP-MATCH-OPERATE
?OBS ?TEMPERATURE has unit ?OBS ?uom { } SELECT MAX( ) ?TEMPERATURE ?OBS TEMPERATURE OBS a has value ?OBS ?TEMPERATURE has unit ?OBS ?uom SELECT MAX( ) ?TEMPERATURE ?OBS ?TEMPERATURE ?uom TABLE1.TEMPERATURE CELCIUS NODE_TEMP EFFICIENT QUERYING: MAP-MATCH-OPERATE Siow, E., Tiropanis, T. and Hall, W. (2016) Interoperable & Efficient: Linked Data for the Internet of Things. INSCI2016: The 3rd Internet Science Conference
3 to 69 Siow, E., Tiropanis, T. and Hall, W. (2016) SPARQL-to-SQL on internet of things databases and streams. ISWC2016: The 15th International Semantic Web Conference 300K TRIPLES 3ok TRIPLES GraphDB (OWLIM) Ontop Our Approach (S2S) TDB G Morph O S M T Raspberry Pi 2 Model B+ 1GB RAM, 900MHz Quad Core ARM Cortex A7, Class 10 SD Cards
9 10 SRBENCH 294 261 306 277k 3243k 5245 426 280k 98 Le-Phuoc, D., et al. (2011) "A native and adaptive approach for unified processing of linked streams and linked data.” The 10th International Semantic Web Conference. CQELS Performance Improvement For IoT Data Over 196 2 1 167 xImprovement Query SMART HOME Siow, E., Tiropanis, T. and Hall, W. (2016) SPARQL-to-SQL on internet of things databases and streams. ISWC2016: The 15th International Semantic Web Conference
to 1000 rows/ms VOLUME 33.5million rows, projected ~2.5 billion triples! <1ms 10-100ms 1 2 5 10 100 1000 99% 100% Rate in rows/ms Percentage Latency in ms Bands Siow, E., Tiropanis, T. and Hall, W. (2016) SPARQL-to-SQL on internet of things databases and streams. ISWC2016: The 15th International Semantic Web Conference
(2016) PIOTRe: Personal Internet of Things Repository: The 15th International Semantic Web Conference P&D github.com/eugenesiow/piotre PIOTRE Apps sparql2stream sparql2sql Metadata
and Hall, W. (2016) Eywa: An Interoperable Fog Computing Infrastructure with RDF Stream Processing. INSCI2017: The 4th Internet Science Conference Sensors Node Data Stream Broker Subscribe(URI_1) Client Publish ([Query_p1,Q_p2]) Push (Select_Stream), Access Control, Bandwidth Control Inverted pub-sub Query Broadcast, Nodes manage distributed processing WORKLOAD DISTRIBUTION No single point of failure. Any RPi can serve as a broker. ‘Best effort’ for source nodes ResultSet
T. and Hall, W. (2017) A Decentralised Social Web of Things. PRIMARY APPLICATION AND INFRASTRUCTURE TETIARY APPLICATIONS SECONDARY APPLICATIONS APPS COLLABORATIVE WORK DECENTRALSATION SOCIAL GRAPH WOT IOT LD hubber.space
Social Web of Things. HANDLING VOLUME MACHINE-TRANSITION HUMAN-DRIVEN MACHINE-AUTOMATED Chatbots Messaging Client Neural Representation Messaging Friend/Follow Trustless Networks Edge Prediction Policy Game Theory Social Graph Crowd Sourcing Collaborative Editing Collaboration Web 2.0/Mobile Strong AI Algorithmic Rule-based Learned Interaction