Dog Ont

22
DOGONT Ontology Modeling for Intelligent Domotic Environments Dario Bonino Politecnico di Torino, e-Lite research group http://elite.polito.it

description

Introduction to the DogOnt ontology and short overview on its applications in the intelligent domotic environments domain

Transcript of Dog Ont

Page 1: Dog Ont

DOGONT

Ontology Modeling for Intelligent Domotic EnvironmentsDario BoninoPolitecnico di Torino, e-Lite research grouphttp://elite.polito.it

Page 2: Dog Ont

DogOnt: Ontology Modeling for Intelligent Domotic Environments

2

OUTLINE

Domotics Intelligent Domotic Environments DogOnt Examples Conclusions

4/30/2010

Page 3: Dog Ont

DogOnt: Ontology Modeling for Intelligent Domotic Environments

3

DOMOTIC ENVIRONMENTS

DOMus infOrmaTICS– (domus is the Latin for home).– Remote lighting and appliance control

have been used for years (see X10, etc.),– Nowadays domotics is another term for the

digital home, including: the networks and devices that add comfort and convenience as well as security;

– Controlling heating, air conditioning, food preparation, TVs, stereos, lights, appliances, entrance gates and security systems

4/30/2010

Page 4: Dog Ont

DogOnt: Ontology Modeling for Intelligent Domotic Environments

4

ISSUES

Many vendors on the market, each with separate, not compatible, solutions

Different technologies (bus, powerline, wireless)

Different protocols (KNX, MyOpen, X10, LonWorks)

Different device features Different sophistication of device

firmware (from simple relay to full software-based operation)

4/30/2010

Page 5: Dog Ont

DogOnt: Ontology Modeling for Intelligent Domotic Environments

5

ISSUES

Only simple automation is supported– Simple scenarios– Fixed, programmed behaviors– Simple comfort, security and energy saving

policies No support for more complex interactions– Adaptation to user preferences– Context detection– Structural verification– Static and dynamic reasoning on the house

state

4/30/2010

Page 6: Dog Ont

DogOnt: Ontology Modeling for Intelligent Domotic Environments

6

INTELLIGENT DOMOTIC ENVIRONMENTS

4/30/2010

“Environments where commercial domotic systems are extended with a low cost device (embedded PC) allowing integration and interoperation with other appliances, and supporting more sophisticated automation scenarios”

Page 7: Dog Ont

DogOnt: Ontology Modeling for Intelligent Domotic Environments

7

INTELLIGENT DOMOTIC ENVIRONMENTS allowing integration and

interoperation with other appliances, and supporting more sophisticated automation scenarios”–Modeling environments in a

semantic-rich, technology independent way

– Providing suitable querying and reasoning mechanism over the environment model

4/30/2010

Page 8: Dog Ont

DogOnt: Ontology Modeling for Intelligent Domotic Environments

8

DOGONT

DogOnt [ISWC08] Ontology-based formal modeling of

domotic environments (OWL)– Technology independent device

modeling– Operation semantics for DOG [TCE08]– Interoperation semantics through

relations [AMI09]– Automatic generation of inter-

operation rules [TCE09]

4/30/2010

Page 9: Dog Ont

DogOnt: Ontology Modeling for Intelligent Domotic Environments

9

DOGONT

4/30/2010

Page 10: Dog Ont

DogOnt: Ontology Modeling for Intelligent Domotic Environments

10

DOGONT

5 main facets– Building

Environment– Building Thing– Functionality– State– Network

Component

4/30/2010

Page 11: Dog Ont

DogOnt: Ontology Modeling for Intelligent Domotic Environments

11

DIFFERENT ASPECTS IN THE SAME MODEL A Lamp is– A thing (BuildingThing)– It is controllable (Controllable) • (On/Off) (OnOffFunctionality)

– It can be either Lit or not Lit (OnOffState)

– It is located in a Room (isIn Room)– It is connected to a domotic plant

(isA DomoticNetworkComponent)

4/30/2010

Page 12: Dog Ont

DogOnt: Ontology Modeling for Intelligent Domotic Environments

12

DIFFERENT ASPECTS IN THE SAME MODEL

4/30/2010

Lamp

House Plant

Electric

System

Controllable

Building

Thing Building Environme

nt

Building Apartment

Room

IsIn / contains

OnOffFunctionalit

y

ControlFunctionali

ty

Functionality

hasFunctionality

Discrete

State

OnOffState

State

hasState

Page 13: Dog Ont

DogOnt: Ontology Modeling for Intelligent Domotic Environments

13

IN PRACTICE (PROTÉGÉ & OWL)

4/30/2010

<owl:Class rdf:about="#SimpleLamp"> <rdfs:comment rdf:datatype="http://www.w3.org/2001/XMLSchema#string" >Simple lamp that can be just turn on or turn off</rdfs:comment> <owl:disjointWith> <owl:Class rdf:about="#DimmerLamp"/> </owl:disjointWith> <rdfs:label rdf:datatype="http://www.w3.org/2001/XMLSchema#string" >SimpleLamp</rdfs:label> <rdfs:subClassOf> <owl:Restriction> <owl:someValuesFrom rdf:resource="#QueryFunctionality"/> <owl:onProperty> <owl:ObjectProperty rdf:about="#hasFunctionality"/> </owl:onProperty> </owl:Restriction> </rdfs:subClassOf> <rdfs:subClassOf rdf:resource="#Lamp"/> </owl:Class>

Page 14: Dog Ont

DogOnt: Ontology Modeling for Intelligent Domotic Environments

14

SAMPLE ROOM MODEL IN DOGONT

4/30/2010

Sample Room

Lamp

Switch

OnOffFunctionality

OnNotification

OffCommand

OnOffNotification

Functionality

OffNotification

OnOffState

OnOffState

hasState

OnCommand

hasFunctionality

hasCommandhasCommand

isInisIn

hasState

hasFunctionality

hasNotification

hasNotification

generatesCmd

generatesCmd

Page 15: Dog Ont

DogOnt: Ontology Modeling for Intelligent Domotic Environments

15

DOGONT AND IDES

DogOnt supports several critical features of IDEs– Device Modeling– Allows to define a central point of

configuration for real devices– Abstracts from network-specific issues,

exposing systems and objects as a uniform set of devices, states and functionalities

– Enables syntactic and semantic check of commands received from external applications/devices

4/30/2010

Page 16: Dog Ont

DogOnt: Ontology Modeling for Intelligent Domotic Environments

16

DOGONT AND IDES

Features (continued…)– Transitive closure and Classification

Reasoning allow to decouple evolution of the model and domotic systems developments

– Supports the definition of top-down inter-plant scenarios (e.g. scenarios activated by external applications which involve devices in more than one plant)

– Provides the basis for interoperation between plants (e.g. allowing a BTicino button to control a KNX light)• Frequent issue in Hospitals, Universities, Factories

4/30/2010

Page 17: Dog Ont

DogOnt: Ontology Modeling for Intelligent Domotic Environments

17

RULE-BASED REASONING

4/30/2010

Page 18: Dog Ont

DogOnt: Ontology Modeling for Intelligent Domotic Environments

18

Dimmer Lamp

LightRegulation Functionality

OnOff Functionalit

y

Set Command Off

Command

has Functionalityhas Functionality

has Command has Command

Dimmer Lamp

LightRegulation Functionality

OnOff Functionalit

y

Set Command Off

Command

has Functionalityhas Functionality

has Command has Command

INTEROPERATION

4/30/2010

controlledObject

generatesCommandgeneratesCommand

Set(50%)

On

Off

Off

OnOff Switch

OnOffNotification

Functionality

OnNotification OffNotification

has Functionality

has Notificationhas Notification

Page 19: Dog Ont

DogOnt: Ontology Modeling for Intelligent Domotic Environments

19

SIMULATION

4/30/2010

SampleLamp1

OnOffFunctionality

OffCommand

OnOffStateLamp1

hasState

OnCommand

hasFunctionality

hasCommandhasCommand

&id;OffState

&id;OnState

Lamp Machine Template

&id;lampOn

&id;lampOff

OffStateValueLamp1

OnStateValueLamp1

hasStateValuehasStateValue

Lamp isA

Page 20: Dog Ont

DogOnt: Ontology Modeling for Intelligent Domotic Environments

20

SIMULATION – BANK DOOR

4/30/2010

Page 21: Dog Ont

DogOnt: Ontology Modeling for Intelligent Domotic Environments

21

CURRENTLY WORKING ON…

Integrating Location information Integrating Energy information

(Faisal) Integrating Privacy Issues (Faisal) ….

4/30/2010

Page 22: Dog Ont

QUESTIONS?

Dario [email protected]