[Fiware-data] FI-WARE-data / VisionDocument / Data-Context-Eventdefinition - a proposed revision of the Event definition

fano.ramparany at orange.com fano.ramparany at orange.com
Thu Jan 5 11:13:24 CET 2012


Hi Guy,

 

Thank you for your comments. Most of my feedback are covered in the joint IoT/Data discussion.

I'd just like to bounce on your attempt to describe the boiler example using the data/context/event schema.

 

When you say "you treat temperature and pressure as attribute.... Is fine with me - but is irrelevant to the above representation", do you mean that you would handle this differently?

In which case could you elaborate?

 

Here is my proposal:

 

 

Which in the graphical notation corresponds to:

 

 

 

My point is that it seems more natural to consider the 3 "DataElementAttribute" boxes in the middle as events,  than to call the entire graph an event. In my proposal the links are bidirectional, which makes It possible to retrieve the DataElement from the DataElementAttribute.

 

Any comment or  alternative viewpoint welcome,

 

Kind regards,

 

Fano

 

 

De : Guy Sharon [mailto:GUYSH at il.ibm.com] 
Envoyé : mardi 3 janvier 2012 20:51
À : RAMPARANY Fano RD-TECH-GRE
Cc : boris.moltchanov at telecomitalia.it; carlo.licciardi at telecomitalia.it; Fiware-data at lists.fi-ware.eu; fiware-data-bounces at lists.fi-ware.eu; jhierro at tid.es
Objet : Re: [Fiware-data] FI-WARE-data / VisionDocument / Data-Context-Eventdefinition - a proposed revision of the Event definition

 

Fano, 

I think the discussion you raise brings up the aspect of the semantic meaning of an event and the representation of an event. 
In the definition of an event in our chapter we discuss the representation of an event and not the semantic meaning of an event. 
An event may represent change of and attribute value of some entity. It can also mean a change in state \ transition. 
But how do you communicate the event of an attribute change for example... 
You would provide an event which is a specific Data Element that consists of Data Element attributes that may include info on the entity for an attribute is being changed, the attribute that is being change, the old value of the attribute, the new value of the attribute, the time during which the change occurred, etc. 
Therefore the event representation - how the event is communicated between GEs for example is a specific Data Element. 
In your example there are 2 types of events - TemperatureMeasured and PressureMeasured 
TemperatureMeasured consists of tempValue, timeStamp and boilerID attributes - for example 

I think you refer more to the semantical or ontology level of the event which in my opinion is not covered by the whole Data Element discussion. 
>From that point based on the example -  we have an event associated with temperature of a boiler and another associated with the pressure of the boiler - here you treat temperature and pressure as attributes of the boiler and events associated to these attributes - which is fine with me - but is irrelevant to the above representation. 
In other words - event element attributes tempValue, boilerID of the event element TemperatureMeasured are semantically mapped to the Boiler. 
An event could carry information relevant to more than one entity you wish to model which in that case the event does not represent a change in attribute but perhaps something more abstract - a situation! 
The output of event processing is also an event - a complex event - that may not be associable to an attribute or rather is associated to multiple attributes of multiple entities. 

Regards, 

Guy Sharon 

Manager 

Event-based Middleware & Solutions Group 

________________________________

  <http://www.ibm.com/smarterplanet> 

Event-based Middleware & Solutions <http://www.haifa.il.ibm.com/dept/services/soms_ebs.html>  

	
phone : 

+972 4 8296587 

mobile : 

+972 54 6976417 

address : 

IBM R&D Labs in Israel, Haifa University Campus, Mount Carmel, Haifa, 31905, Israel 

email : 

guysh at il.ibm.com <mailto:guysh at il.ibm.com> 






From:        fano.ramparany at orange.com 
To:        boris.moltchanov at telecomitalia.it, carlo.licciardi at telecomitalia.it, jhierro at tid.es 
Cc:        Fiware-data at lists.fi-ware.eu 
Date:        03/01/2012 20:45 
Subject:        [Fiware-data] FI-WARE-data / VisionDocument / Data-Context-Event        definition - a proposed revision of the Event definition 
Sent by:        fiware-data-bounces at lists.fi-ware.eu 

________________________________




Hi, 

I wish you the best for 2012 and in particular much success to our FIWARE project and to the FI PPP program in general! 

FT is involved in adding a semantic extension to the Publish/Subscribe GE. One step required is to define a "semantic aware" data schema (*) able to capture the Data-Context-Event model that has been defined in the Vision Document. 

While revisiting this chapter (the overview chapter: https://forge.fi-ware.eu/plugins/mediawiki/wiki/fiware/index.php/Data/Context_Management#Overview <https://forge.fi-ware.eu/plugins/mediawiki/wiki/fiware/index.php/Data/Context_Management#Overview> ), I felt uncomfortable with the definition of an event, which according to the current version is "specific Data Element" with a timestamp to represent its date/time occurence. 

However, events are generally related to the creation of "element attributes" or changes in the values of "element attributes" (for example, if the temperature of the boiler has been measured 2 times and its pressure 1 times. There will be 3 events, each of them will correspond to a Context Element attribute. More precisely, 2 context attributes for the two temperature measurements and 1 context attribute for the pressure measurements. The timestamps of those 3 measurements would probably be all different because the measurements would be done at different times. The "element attribute" corresponding to the 2nd temperature measurement will supercede the one corresponding to the 1rst temperature measurement. (Note: with the approach proposed in the working document I refer to below (**), the timestamp is a meta-data associated to the "element attribute"). 

For this reason I'd like to propose a slight revision of the event definition and state that "an event is a specific Data Element attribute" (with a mandatory timestamp meta data to capture its date/time occurrence). This definition would replace this one: "an event is a specific Data Element". 

Any comment/feedback on this and on the working document which proposes a flexible ontology which aligns with our data model, is more than welcome, 

Best regards, 

Fano 

(* called an Ontology in the semantic web framework) 

(** This document proposes an Ontology for Defining Ontologies for the Pu ReleaseV0 <https://forge.fi-ware.eu/frs/shownotes.php?release_id=7> . In case the link doesn't work, the document is in FI-WARE->files->OntologyV0.pdf on the FI-WARE fusion forge web site)_______________________________________________
Fiware-data mailing list
Fiware-data at lists.fi-ware.eu
http://lists.fi-ware.eu/listinfo/fiware-data <http://lists.fi-ware.eu/listinfo/fiware-data> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.fiware.org/private/old-fiware-data/attachments/20120105/0038a1b9/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.gif
Type: image/gif
Size: 2558 bytes
Desc: image001.gif
URL: <https://lists.fiware.org/private/old-fiware-data/attachments/20120105/0038a1b9/attachment.gif>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image002.png
Type: image/png
Size: 9509 bytes
Desc: image002.png
URL: <https://lists.fiware.org/private/old-fiware-data/attachments/20120105/0038a1b9/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image004.jpg
Type: image/jpeg
Size: 11456 bytes
Desc: image004.jpg
URL: <https://lists.fiware.org/private/old-fiware-data/attachments/20120105/0038a1b9/attachment.jpg>


More information about the Old-Fiware-data mailing list

You can get more information about our cookies and privacy policies clicking on the following links: Privacy policy   Cookies policy