You are on page 1of 14

Semantic data model

Recap
Conceptual, Logical and Physical Data Model:
Before IOT project implementation/
Requirement Collection phase
Semantic Model, Information Model : During
project implementation/After Requirement
phase
Definition
• Semantics means the meaning and
interpretation of words, signs, and sentence
structure.
• Semantic data model is an abstraction that
defines how the stored symbols (the instance
data) relate to the real world.

• How the data is stored


What does Semantic Data Model mean?
• The semantic data model is a method of structuring
data in order to represent it in a specific logical way.
• It is a conceptual data model that includes semantic
information that adds a basic meaning to the data
and the relationships that lie between them.
• This approach to data modeling and data
organization allows for the easy development of
application programs and also for the easy
maintenance of data consistency when data is
updated.
Semantic model
 Semantic data model is an abstraction that defines how the stored
symbols (the instance data) relate to the real world
 It is a conceptual data model that includes the capability to express
information that enables parties to the information exchange, to
interpret meaning (semantics) from the instances, without the need
to know the meta-model. Such semantic models are fact oriented
(as opposed to object oriented). Facts are typically expressed by
binary relations between data elements, whereas higher order
relations are expressed as collections of binary relations.
 One of the main challenges of IoT data formats is mapping between
data formats and models used for constrained devices and data
formats and models used in the Web and Semantic Web, such as
eXtensible Markup Language (XML), Javascript Object Notation
(JSON), and Resource Description Framework (RDF)
 A data format should set minimal requirements for both IoT nodes and the
data consumers, which are IoT applications and services utilizing data and
supporting functionalities. ‘Minimal requirements for IoT nodes’ means that
the solution should increase resource consumption as little as possible.
‘Minimal requirements for consumers’, in turn, means that the solution
should be general, and any consumer should be able to interpret the data
with minimal effort and a priori knowledge.
 Moreover, the data format should be compatible with Semantic Web, as only
then, can the existing Semantic Web tools be used for inference, knowledge
bases, ontology alignment, and semantic queries.
 A data format fulfilling these requirements allows application developers to
easily utilize nodes implemented and deployed by others.
 Such a lightweight and easy-to-use data format could even bridge the
current gap between different IoT domains and applications.
 RDF is the most widely used data model for representing semantic data. RDF
represents data as triples in the form (subject, property, and object).

 A triple denotes that a subject has a property whose value is the object. IoT data
usually originate from devices, humans, and other entities in the physical world. It
refers to attributes of phenomena and to relations among these entities. The simplest
way of semantically representing IoT data, like a measurement made by an IoT device,
is denoting the IoT device as the subject, the measured quantity as the property, and
the measured value as the object.

 For example, ‘sensor 1’ is the subject, ‘temperature’ is the property, and ‘25’ is the
value. The unit of measurement, for example, ‘Celsius’, can be defined separately.
Similarly, when Alice is in campus, ‘Alice’ is the subject, ‘is Located’ is the property,
and ‘Campus’ is the value.

 One sensor node sends a time stamp value together with temperature, acceleration,
and magnetic field values. A second one sends location data (longitude and latitude)
RDF/XML format the first sensor data example of temperature,
acceleration, and magnetization.
<RDF>
<SENSOR 1>
<T>
<DATA>
</T>
<DATA>
</T>
</SENSOR 1>
<SENSOR 2>
;
;
</RDF>
RDF/XML format the second sensor data
about location.

A clear advantage of RDF is that the existing higher level languages RDF
Schema and Web Ontology Language provide a standard vocabulary for
defining classes and relationships among classes, which enables high-level
inference. Hence, when IoT nodes express data in RDF, these languages
facilitate realizing advanced semantic processing.
References:
1. https://www.researchgate.net/publication/259842035_Adding_Semantics_to_Interne
t_of_Things#:~:text=Adding%20Semantics%20to%20Internet%20of%20Things.%20Th
e%20development,the%20common%20Semantic%20Web%20solutions%20for%20doi
ng%20this
.
2. https://www.slideshare.net/PayamBarnaghi/semantic-technologies-for-the-internet-o
f-things?qid=673b77f6-c55b-4138-88fe-819fe022d4f9&v=&b=&from_search=2
3. https://www.slideshare.net/PayamBarnaghi/semantic-technologies-for-the-internet-o
f-things-challenges-and-opportunities?qid=673b77f6-c55b-4138-88fe-819fe022d4f9&
v=&b=&from_search=3
4. https://www.slideshare.net/PayamBarnaghi/semantic-technologies-for-the-internet-o
f-things-54443861?qid=673b77f6-c55b-4138-88fe-819fe022d4f9&v=&b=&from_searc
h=4

You might also like