+ All Categories
Home > Education > Dynamic Semantics for Semantics for Dynamic IoT Environments

Dynamic Semantics for Semantics for Dynamic IoT Environments

Date post: 27-Jun-2015
Category:
Upload: payam-barnaghi
View: 472 times
Download: 1 times
Share this document with a friend
Description:
Keynote talk at 7th International Workshop on Semantic Sensor Network (SSN2014) at ISWC2014
Popular Tags:
51
Dynamic Semantics for Dynamic IoT Environments 1 Payam Barnaghi Institute for Communication Systems (ICS) University of Surrey Guildford, United Kingdom 7 th International Workshop on Semantic Sensor Networks (SSN2014) @ ISWC2014
Transcript
Page 1: Dynamic Semantics for Semantics for Dynamic IoT Environments

Dynamic Semantics for Dynamic IoT Environments

1

Payam Barnaghi

Institute for Communication Systems (ICS)

University of Surrey

Guildford, United Kingdom

7th International Workshop on Semantic Sensor Networks (SSN2014) @ ISWC2014

Page 2: Dynamic Semantics for Semantics for Dynamic IoT Environments

2

Things, Devices, Data, and lots of it

image courtesy: Smarter Data - I.03_C by Gwen Vanhee

Page 3: Dynamic Semantics for Semantics for Dynamic IoT Environments

Data in the IoT

− Data is collected by sensory devices and also crowd sensing sources.

− It is time and location dependent.− It can be noisy and the quality can vary. − It is often continuous - streaming data.

− There are other important issues such as:− Device/network management− Actuation and feedback (command and control)

− Service and entity descriptions are also important.

Page 4: Dynamic Semantics for Semantics for Dynamic IoT Environments

4

Key characteristics of IoT devices

−Often inexpensive sensors (and actuators) equipped with a radio transceiver for various applications, typically low data rate ~ 10-250 kbps.

−Some, such as CCTV, can have high data rates−Data rates/distribution, however, can be sporadic

−Deployed in large numbers−Often coordination between more than once source is

required to perform a task.−Sometimes in-network processing is required.−Solutions are application-dependent.

4

Page 5: Dynamic Semantics for Semantics for Dynamic IoT Environments

Internet of Things: The story so far

RFID based

solutions Wireless Sensor and

Actuator networks, solutions for

communication technologies, energy

efficiency, routing, …

Smart Devices/Web-enabled

Apps/Services, initial products,

vertical applications, early concepts and demos, …

Motion sensor

Motion sensor

ECG sensor

Physical-Cyber-Social Systems, Linked-data,

semantics, M2M, More products, more

heterogeneity, solutions for control and

monitoring, …

Future: Cloud, Big (IoT) Data Analytics, Interoperability,

Enhanced Cellular/Wireless Com. for IoT, Real-world operational

use-cases and Industry and B2B services/applications,

more Standards…

Page 6: Dynamic Semantics for Semantics for Dynamic IoT Environments

Scale of the problem

6

Things Data

Devices

2.5 quintillion bytes per day

Billions and Billions of them…

Estimated 50 Billion by 2020

Page 7: Dynamic Semantics for Semantics for Dynamic IoT Environments

Heterogeneity, multi-modality and volume are among the key issues.

We need interoperable and machine-interpretable solutions…

7

Page 8: Dynamic Semantics for Semantics for Dynamic IoT Environments

8

Page 9: Dynamic Semantics for Semantics for Dynamic IoT Environments

9

But why do we still not have fully integrated semantic solutions in the IoT?

Page 10: Dynamic Semantics for Semantics for Dynamic IoT Environments

A bit of history

− “The Semantic Web is an extension of the current web in which information is given well-defined meaning, better enabling computers and people to work in co-operation.“ (Tim Berners-Lee et al, 2001)

10

Image source: Miller 2004

Page 11: Dynamic Semantics for Semantics for Dynamic IoT Environments

Semantics & the IoT

− The Semantic Sensor (&Actuator) Web is an extension of the current Web/Internet in which information is given well-defined meaning, better enabling objects, devices and people to work in co-operation and to also enable autonomous interactions between devices and/or objects.

11

Page 12: Dynamic Semantics for Semantics for Dynamic IoT Environments

Semantic Descriptions in Semantic (Web) World

12

Page 13: Dynamic Semantics for Semantics for Dynamic IoT Environments

Semantic Web these days…

13

Page 14: Dynamic Semantics for Semantics for Dynamic IoT Environments

14

The world of IoT and Semantics

Page 15: Dynamic Semantics for Semantics for Dynamic IoT Environments

15

Some good existing models: SSN Ontology

Ontology Link: http://www.w3.org/2005/Incubator/ssn/ssnx/ssn

M. Compton et al, "The SSN Ontology of the W3C Semantic Sensor Network Incubator Group", Journal of Web Semantics, 2012.

Page 16: Dynamic Semantics for Semantics for Dynamic IoT Environments

Semantic Sensor Web

16

“The semantic sensor Web enables interoperability and advanced analytics for situation awareness and other advanced applications from heterogeneous sensors.” (Amit Sheth et al, 2008)

Page 17: Dynamic Semantics for Semantics for Dynamic IoT Environments

Several ontologies and description models

17

Page 18: Dynamic Semantics for Semantics for Dynamic IoT Environments

18

We have good models and description frameworks;

The problem is that having good models and developing ontologies is not enough.

Page 19: Dynamic Semantics for Semantics for Dynamic IoT Environments

19

Semantic descriptions are intermediary solutions, not the end product.

They should be transparent to the end-user and probably to the data producer as well.

Page 20: Dynamic Semantics for Semantics for Dynamic IoT Environments

A WoT/IoT Framework

WSNWSN

WSNWSN

WSNWSN

WSNWSN

WSNWSN

Network-enabled Devices

Network-enabled Devices

Semantically annotate data

20

GatewayCoAP

HTTP

CoAP

CoAP

HTTP

6LowPAN

Semantically annotate data

http://mynet1/snodeA23/readTemp?

WSNWSN

MQTT

MQTT

Gateway

And several other protocols and solutions…

Page 21: Dynamic Semantics for Semantics for Dynamic IoT Environments

Publishing Semantic annotations

− We need a model (ontology) – this is often the easy part for a single application.

− Interoperability between the models is a big issue. − Express-ability vs Complexity is a challenge

− How and where to add the semantics− Where to publish and store them− Semantic descriptions for data, streams, devices

(resources) and entities that are represented by the devices, and description of the services.

21

Page 22: Dynamic Semantics for Semantics for Dynamic IoT Environments

22

Simplicity can be very useful…

Page 23: Dynamic Semantics for Semantics for Dynamic IoT Environments

Hyper/CAT

23Source: Toby Jaffey, HyperCat Consortium, http://www.hypercat.io/standard.html

- Servers provide catalogues of resources toclients.

- A catalogue is an array of URIs.

- Each resource in the catalogue is annotatedwith metadata (RDF-like triples).

Page 24: Dynamic Semantics for Semantics for Dynamic IoT Environments

Hyper/CAT model

24Source: Toby Jaffey, HyperCat Consortium, http://www.hypercat.io/standard.html

Page 25: Dynamic Semantics for Semantics for Dynamic IoT Environments

25

Complex models are (sometimes) good for publishing research papers….

But they are often difficult to implement and use in real world products.

Page 26: Dynamic Semantics for Semantics for Dynamic IoT Environments

What happens afterwards is more important

− How to index and query the annotated data− How to make the publication suitable for constrained

environments and/or allow them to scale− How to query them (considering the fact that here we are

dealing with live data and often reducing the processing time and latency is crucial)

− Linking to other sources

26

Page 27: Dynamic Semantics for Semantics for Dynamic IoT Environments

The IoT is a dynamic, online and rapidly changing world

27

isPartOf

Annotation for the (Semantic) Web

Annotation for the IoT

Image sources: ABC Australia and 2dolphins.com

Page 28: Dynamic Semantics for Semantics for Dynamic IoT Environments

Make your model fairly simple and modular

28

SSNO model

Page 29: Dynamic Semantics for Semantics for Dynamic IoT Environments

Tools and APIs

29

Page 30: Dynamic Semantics for Semantics for Dynamic IoT Environments

30

Creating common vocabularies and taxonomies are also equally important e.g. event taxonomies.

Page 31: Dynamic Semantics for Semantics for Dynamic IoT Environments

31

We should accept the fact that sometimes we do not need (full) semantic descriptions.

Think of the applications and use-cases before starting to annotate the data.

Page 32: Dynamic Semantics for Semantics for Dynamic IoT Environments

An example: a discovery method in the IoT

timetime

locationlocation

typetype

Query formulatingQuery formulating

[#location | #type | time][#location | #type | time]

Discovery IDDiscovery ID

Discovery/DHT ServerDiscovery/DHT Server

Data repository(archived data)Data repository(archived data)

#location#type

#location#type

#location#type

Data hypercubeData hypercube

GatewayGateway

Core networkCore network

Network Connection

Logical Connection

Data

Page 33: Dynamic Semantics for Semantics for Dynamic IoT Environments

An example: a discovery method in the IoT

33S. A. Hoseinitabatabaei, P. Barnaghi, C. Wang, R. Tafazolli, L. Dong, "A Distributed Data Discovery Mechanism for the Internet of Things", 2014.

Page 34: Dynamic Semantics for Semantics for Dynamic IoT Environments

An example: a discovery method in the IoT

34S. A. Hoseinitabatabaei, P. Barnaghi, C. Wang, R. Tafazolli, L. Dong, "A Distributed Data Discovery Mechanism for the Internet of Things", 2014.

Page 35: Dynamic Semantics for Semantics for Dynamic IoT Environments

101 Smart City Use-case Scenarios

http://www.ict-citypulse.eu/page/content/smart-city-use-cases-and-requirements

Page 36: Dynamic Semantics for Semantics for Dynamic IoT Environments

36

Semantic descriptions can be fairly static on the Web;

In the IoT, the meaning of data and the annotations can change over time/space…

Page 37: Dynamic Semantics for Semantics for Dynamic IoT Environments

Static Semantics

37

Page 38: Dynamic Semantics for Semantics for Dynamic IoT Environments

Dynamic Semantics

<iot:measurement><iot:type> temp</iot:type><iot:unit>Celsius</iot:unit><time>12:30:23UTC</time><iot:accuracy>80%</iot:accuracy><loc:long>51.2365<loc:lat><loc:lat>0.5703</loc:lat></iot:measurment>

38

But this could be a function of time and location;

What would be the accuracy 5 seconds after

the measurement?

Page 39: Dynamic Semantics for Semantics for Dynamic IoT Environments

Dynamic annotations for data in the process chain

39S. Kolozali et al, A Knowledge-based Approach for Real-Time IoT Data Stream Annotation and Processing", iThings 2014, 2014.

Page 40: Dynamic Semantics for Semantics for Dynamic IoT Environments

Dynamic annotations for provenance data

40S. Kolozali et al, A Knowledge-based Approach for Real-Time IoT Data Stream Annotation and Processing", iThings 2014, 2014.

Page 41: Dynamic Semantics for Semantics for Dynamic IoT Environments

41

Semantic descriptions can also be learned and created automatically.

Page 42: Dynamic Semantics for Semantics for Dynamic IoT Environments

Extraction of events and semantics from social media

42

City Infrastructure

Tweets from a city

P. Anantharam, P. Barnaghi, K. Thirunarayan, A. Sheth, "Extracting city events from social streams,“, 2014.

https://osf.io/b4q2t/

Page 43: Dynamic Semantics for Semantics for Dynamic IoT Environments

Ontology learning from real world data

43

Page 44: Dynamic Semantics for Semantics for Dynamic IoT Environments

Overall, we need semantic technologies in the IoT and these play a key role in providing interoperability.

Page 45: Dynamic Semantics for Semantics for Dynamic IoT Environments

However, we should design and use the semantics carefully andconsider the constraints and dynamicity of the IoT environments.

Page 46: Dynamic Semantics for Semantics for Dynamic IoT Environments

The IoT

WSNWSN

WSNWSN

WSNWSN

WSNWSN

WSNWSN

Network-enabled DevicesNetwork-enabled Devices

Network-enabled DevicesNetwork-enabled Devices

Network services/storage and processing

units

Data/service access at application level

Data collections and processing within the

networks

Query/accessto raw data

Or Higher-level abstractions

MWMW

MWMW

MWMWData streamsData

streams

Page 47: Dynamic Semantics for Semantics for Dynamic IoT Environments

#1: Design for large-scale and provide tools and APIs.

#2: Think of who will use the semantics and how when you design your models.

#3: Provide means to update and change the semantic annotations.

47

Page 48: Dynamic Semantics for Semantics for Dynamic IoT Environments

#4: Create tools for validation and interoperability testing.

#5: Create taxonomies and vocabularies.

#6: Of course you can always create a better model, but try to re-use existing ones as much as you can.

48

Page 49: Dynamic Semantics for Semantics for Dynamic IoT Environments

#7: Link your data and descriptions to other existing resources.

#8: Define rules and/or best practices for providing the values for each attribute.

#9: Remember the widely used semantic descriptions on the Web are simple ones like FOAF.

49

Page 50: Dynamic Semantics for Semantics for Dynamic IoT Environments

#10: Semantics are only one part of the solution and often not the end-product so the focus of the design should be on creating effective methods, tools and APIs to handle and process the semantics.

Query methods, machine learning, reasoning and data analysis techniques and methods should be able to effectively use these semantics.

50

In Conclusion

Page 51: Dynamic Semantics for Semantics for Dynamic IoT Environments

Q&A

− Thank you.

− EU FP7 CityPulse Project:

http://www.ict-citypulse.eu/

@pbarnaghi

[email protected]


Recommended