<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Archiving and Interchange DTD v1.0 20120330//EN" "JATS-archivearticle1.dtd">
<article xmlns:xlink="http://www.w3.org/1999/xlink">
  <front>
    <journal-meta />
    <article-meta>
      <title-group>
        <article-title>Semantic-based Smart Homes: a Multi-Agent Approach</article-title>
      </title-group>
      <contrib-group>
        <aff id="aff0">
          <label>0</label>
          <institution>Giuseppe Loseto</institution>
          ,
          <addr-line>Floriano Scioscia, Michele Ruta, Eugenio Di Sciascio DEE - Politecnico di Bari via Re David 200, I-70125, Bari</addr-line>
          ,
          <country country="IT">Italy</country>
        </aff>
      </contrib-group>
      <abstract>
        <p>-Ambient Intelligence aims at autonomic coordination domotic solutions. An enhancement to ISO/IEC 14543-3 and control of appliances and subsystems located in a given standard, a.k.a. EIB/KNX (European Installation Bus/Konnex) environment. Home and Building Automation (HBA) complies [3], has been devised. Particularly, a context-aware multitwhiethustherisapnadraadsitgamticbsuett iotfisopbearsaetdioonnalasnceenxaprliicoist. iTnhteisrapcatpioenr wpritoh- agent framework for building automation is proposed, which poses a more flexible multi-agent approach, leveraging semantic- supports semantic annotation of both user profiles and device based resource discovery and orchestration in HBA. Backward- capabilities. The integration of a semantic micro-layer within compatible enhancements to EIB/KNX domotic standard allow KNX protocol stack enables novel decision support features to support the semantic characterization of user profiles and in HBA, while preserving full backward compatibility. sdueivtiacbelefuhnocmtioensaelritviiecse,s/sfounecntiaobnlainligt:ies(i)acnceogrodtiinagtiotno iomf ptlhiceitmaonsdt Machine-understandable metadata characterize home enviexplicit user needs, (ii) device-driven interaction for adapting the ronment, appliances and user profiles and preferences. Annoenvironment to context evolution. A power management problem tations are expressed in ontological formalisms derived from in HBA is presented as a case study to better clarify the proposal Description Logics (DLs) [4]: particularly DIG [5] has been and assess its effectiveness. adopted, being a more compact equivalent of OWL-DL1. As EIBIn/KdeNxX,TeSremmsa-ntAicmWbieebn,t MIunltteil-lAiggeenncte,SyBstueimldsi.ng Automation, opposed to both static configuration approaches of standard HBA technologies and user-driven service selection of most I. INTRODUCTION ruesseera-trrcahnsppraorpenotsaalnsd, tdheevifcrea-mdreiwveonrkintwereacptrioesne.nTtohtehries aeinma,btlhees Ambient Intelligence (AmI) [1] refers to a research vision adopted multi-agent system allows requests coming from users built upon advances in sensors networks, pervasive computing and/or devices being collected by a home mediator which acts and artificial intelligence, that make a given environment as a broker between users and home appliances. Each request capable of being sensitive and responsive by recognizing user is treated as a one-to-many negotiation among sender agent needs and self-adapting accordingly. Devices communicate and various device agents. Such a complex process is divided and interact autonomously, without direct human intervention, in concurrent one-to-one negotiations between the home agent also making decisions based on multiple factors, including user and each device agent. Services/resources so selected are used presence and preferences. They are coordinated by intelligent to cover sender requirements to the best possible extent. systems acting as supervisors, devoted to manage available The remainder of the paper is organized as follows. Section resources in order to meet assigned requirements. II outlines the proposed framework architecture and enhanceHome and Building Automation (HBA) technologies should ments to KNX standard. A case study is reported in Section adhere to AmI fundamentals, but current systems are still III, while relevant related work is discussed in Section IV. far from that vision, being unable to grant such flexibility Final remarks are in Section V. and autonomy. They now basically enable a static set of operational scenarios pre-defined during implementation and II. SEMANTIC-BASED HOME AUTOMATION require explicit interaction with the user. On the contrary, an Multi-Agent Systems (MAS) are very helpful in HBA due to advanced and flexible management of information about users, their ubiquitous and distributed nature. Hereafter the reference devices and resources/services in a given ambient is needed. framework and the related infrastructure are reported. Really smart HBA infrastructures, autonomously controlling A. Knowledge-based domotic and agent framework and adapting building appliances, could be conceived borrowing frameworks and approaches from artificial intelligence As shown in Figure 1, the adopted MAS comprises a studies in pervasive computing field, also adapting theory and mediator as well as user and device agents referred to home solutions of agent-based software design [2]. appliances -including energy-providing systems (e.g., photoThis paper proposes the exploitation of Knowledge Rep- voltaic collectors). The number of connected resources and resentation (KR) technologies and automated reasoning tech- agents may vary unpredictably -a new user, device or energy niques, originally implementing the Semantic Web paradigm 1OWL Web Ontology Language, W3C Recommendation, February 10th and properly adapted, to overcome restrictions of common 2004, available at http://www.w3.org/TR/owlfeatures/</p>
      </abstract>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>-</title>
      <p>Fig. 1. Agent-based framework
!"#$%"&amp;'"()*
+ *(,-"*.*/)0$('*
+ *10234"*.*/"-,(5%!"6%0$152(*
+ *6),)76*.*8224",(*
+ *97(%52(,4$5"6*.*!"#$%":7(%52(,4$5"6;&lt;*
+ *'")/),)76=&gt;*.*8224",(*
+ *'")?0234"=&gt;*.*/"-,(5%!"6%0$152(*
+ *6"(@A"B7"6)*.*#2$@*</p>
      <p>E*</p>
      <p>EFG*
!"#$%":7(%52(,4$)C*
+ *(,-"*.*/)0$('*
+ *10234"*.*/"-,(5%!"6%0$152(*
+ *%2--,(@D,47"*.*/)0$('*
+ *'")?0234"=&gt;*.*/"-,(5%!"6%0$152(*
/-,0)!"#$%"&amp;'"()*
+ *,@@0"66*.*H?&amp;@@0"66*</p>
      <p>IJK!"#$%"H()"09,%"&amp;'"()*
+ *,@@0"66*.*IJKH(@$#$@7,4&amp;@@0"66*
+ *42,@L?!*=4(M.*IJKJ")N20MO$(M&gt;*.*/"-,(5%!"6%0$152(**</p>
      <p>IJK!"#$%":7(%52(,4$)C*
+ *97(%52(,4$)CPC1"*.*$()*
+ *,@@0"66*.*IJKL0271&amp;@@0"66*
+ *@1)*.*!?P*
+ *%2--,(@PC1"*.*/)0$('*
+ **42,@/?!*=4(M.*IJKJ")N20MO$(M&gt;*.*/"-,(5%!"6%0$152(**
source can be connected or disconnected at any time– without
redefining the communication and negotiation framework.</p>
      <p>The user agent, running on a mobile client, addresses
requests toward the home manager, describing the needs and
preferences of the user. Each device agent can expose one
or more services (i.e., functional profiles). The agent-based
architecture and EIB/KNX protocol enhancements allow also
device agents to issue requests to the home system in order to
supports automatic reconfiguration and adaptation to changing
conditions. Figure 2 refers to the agent modeling scheme.</p>
      <p>Smart Device Agents are thought to be embedded within
advanced devices (i.e., home appliances with some
computational capabilities and memory availability). They encapsulate
device status and properties in a semantic annotation to be
provided during discovery operated by other agents or to be
issued in semantic-based requests toward the home agent. Such
requests are generated after a sensor data gathering phase or
when the internal status changes. The goal is to negotiate a
home configuration better fitting a possible new situation.</p>
      <p>KNX Device Interface Agents support semantic-based
enhancements in case of legacy or elementary appliances (e.g.,
switches, lamps, and so on). In such cases, if semantic
annotations are asked, the request will be replied by the agent.
Conversely, if the home agent refers to standard KNX device
properties, the request will be simply forwarded by the agent
to the device.</p>
      <p>
        The Home (Mediator) Agent has the responsibility of
making the domotic environment a first-class abstraction that
provides the surrounding conditions for agents to exist and
that mediates both the interaction among agents and the
access to resources [
        <xref ref-type="bibr" rid="ref6">6</xref>
        ]. In particular: (i) it coordinates the
explicit characterization of available services, described w.r.t.
a reference ontology modeling conceptual knowledge for the
building automation problem domain; (ii) when a request is
received, it acts as a mediator in a negotiation round between
the sender agent and each available device agent, in order
to discover the (set of) elementary services that cover (part
of) the request, maximizing the overall utility. It employs a
logic-based bilateral negotiation protocol, originally conceived
for marketplace scenarios [
        <xref ref-type="bibr" rid="ref7">7</xref>
        ] and fully revised to apply to
HBA. There, agents are able to: (i) negotiate on available
home services; (ii) reveal conflicting information between
request and provided resources; (iii) support non-expert users
in selecting home configurations ranked w.r.t. utility. In case
of requests coming from the user, utility is the relevance of
each wanted feature, while in request originating from devices,
utility values are associated to service properties in order to
minimize or maximize a given aspect (e.g., costs, efficiency,
comfort). In the case study reported afterwards, utility is
exploited to minimize the consumption of external energy
sources (electricity, gas) favoring the usage of homemade
energy, i.e., produced by equipment installed in the household,
e.g., photovoltaic systems.
      </p>
      <p>
        Formally, a request (as well as each available home
service/resource) is expressed as a set of formulas B =
{ 1; 2; : : : ; n} (Si = { i;1; i;2; : : : ; i;m} for the i-th
service, respectively) in Description Logics. ALN (Attributive
Language with unqualified Number restrictions) was adopted
as reference language in the current system prototype and case
study. Each formula represents a preference, to which a utility
value is assigned by means of a function u : B → Q+ such
that ∑h u ( h) = 1 (u : S → Q+ s.t. ∑k u ( k) = 1,
respectively), i.e., utility values are normalized. Besides, each
agent sets a disagreement threshold t, that is the minimum
utility required to pursue a deal. The bilateral negotiation protocol
is of alternating offers with minimum concession type: if some
preferences in B and Si are in contrast, provider and requester
take turns in issuing counter-offers, each relaxing at every step
the preference with the lowest utility value. The process is
repeated until either an agreement is found (i.e., remaining
elements in B and Si are not in contrast) or the negotiation
fails because the residual utility of one of the agents has
gone below its disagreement threshold. The overall utility of
the agreement is then computed as the product of individual
! "
#
utilities. Due to space constraints, the reader is referred to
[
        <xref ref-type="bibr" rid="ref7">7</xref>
        ] for a more comprehensive discussion of the negotiation
protocol and its computational and game-theoretic properties.
The above agent-based collaborative framework leverages the
KNX knowledge-oriented evolution presented in [
        <xref ref-type="bibr" rid="ref8">8</xref>
        ], which
implements a semantic micro-layer on the top of protocol stack
as pictured in Figure 3. Novel services and functions have
been introduced while keeping a full backward-compatibility
with current protocol and devices. Semantic enhancements
allow to fully describe device features by means of annotations
expressed via logic languages such as RDF2, OWL or DIG.
The domotic knowledge domain has been conceptualized in
a shared ontological vocabulary enabling a throughout
characterization of home services and appliances. A preliminary
study of KNX standard highlighted the inadequacy of the
raw protocol to manage semantic metadata, requiring the
definition of specific application layer services. Particularly,
two service primitives have been introduced, allowing devices
to autonomously exchange semantic annotations through the
standard Application layer Protocol Data Unit (APDU):
- A SEMANTIC REQUEST: used to send a semantic
description of needed home functionalities;
- A SEMANTIC RESPONSE: contains descriptions of
selected device functionalities covering the request.
Figure 4 shows how semantic annotations are carried on by
the related KNX frame. In order to minimize sending data and
communication time, semantic annotations are compressed by
means of an algorithm specifically devoted to compact
XMLbased ontological languages [
        <xref ref-type="bibr" rid="ref9">9</xref>
        ]. Since descriptions can still
exceed the maximum APDU data field size (14 bytes), the
extended KNX frames have been used (up to 255 bytes, 249
of them reserved for data). However, if semantic annotations
result even larger than APDU maximum limits, descriptions
are split in more different APDUs including in the PDU the
2RDF (Resource Description Framework) Primer, W3C Recommendation,
10 February 2004, http://www.w3.org/TR/rdf-primer/
)
+ ,
#
      </p>
      <p>*
# $
# !%%
%</p>
      <p>!&amp; ' ("
)
total packet number.</p>
      <p>
        Two Interface Objects –data structures KNX used to set
device properties– have been defined to manage structured and
machine-understandable semantic descriptions. To maintain a
full compatibility with original protocol and applications, new
objects are compliant with structural specification in [
        <xref ref-type="bibr" rid="ref10">10</xref>
        ]. To
describe generic device features, i.e., manufacturer or model,
a Generic Profile of Device (GPD) object has been introduced
while Specific Profile of Device (SPD) objects store the
semantic annotations of device functionalities. If a device
provides different available services or operating modes, an
SPD will be defined for each one. Both introduced interface
objects adhere to the scheme reported in Figure 5.
      </p>
      <p>
        According to this classification, GPD and SPD objects are
featured by properties with following identifiers:
- PID_OBJ_TYPE = 1 (0x01h): 16-bit mandatory field
indicating the object type;
- PID_OUUID = 77 (0x4Dh): 16-bit Ontology Universally
Unique Identifier (OUUID) marking the reference ontology
the device semantic annotation refers to [
        <xref ref-type="bibr" rid="ref11">11</xref>
        ];
- PID_OUUIDs = 100 (0x64h): OUUID set, useful when
more ontologies are used to describe device functionalities.
This field is present only in GPD properties;
- PID_SEMANTIC_HEADER = 150 (0x96h): the header of
compressed semantic annotation (variable-length string);
- PID_SEMANTIC_BODY = 151 (0x97h): the body of
compressed semantic annotation (variable-length string).
Finally, a new DataPoint Type (DPT) was defined to store the
16-bit ontology OUUID.
      </p>
      <p>B. Reference architecture</p>
      <p>The communication architecture infrastructuring the above
framework integrates an EIB/KNX bus and an IP network
used as fast backbone. Nowadays IP is increasingly adopted
in automation systems and particularly in HBA. Such a hybrid
home network interconnects several KNX/IP routers and
enables the communication among different KNX lines via IP.
In this way, devices send and receive KNX group telegrams
through multicast IP frames compliant with the EIBnet/IP
routing protocol.</p>
      <p>As depicted in Figure 6, the overall framework architecture
consists of four main functional components:
- Central Unit: which represents the system core and embeds
Framework Architecture</p>
      <p>EIB/KNX BUS</p>
      <p>
        SeFmig.a6.ntPircop-oesendfhramaenwocrkeredferienncet earrchaiteccttuireon
a mobile client manager, a device manager and a micro
matchmaker (based on the one presented in [
        <xref ref-type="bibr" rid="ref12">12</xref>
        ] and exploiting
DLbased standard and non-standard inference services described
in [
        <xref ref-type="bibr" rid="ref13">13</xref>
        ]). It runs on a laptop PC equipped with Intel Core 2
Duo T7700 CPU (2.4 GHz clock frequency), 4 GB DDR2
RAM and Ubuntu 10.04 operating system with Java Virtual
Machine 1.6.0 17;
- KNX Router: which converts the EIB/KNX telegrams into
IP frames and vice-versa according to EIBnet/IP standard.
Besides, it filters telegrams to keep the bus load low;
- Semantic-based devices: i.e., KNX devices implementing the
protocol enhancements presented in the previous subsection;
- Mobile clients: i.e., mobile devices, such as notebooks,
smartphones or PDAs, able to send and receive semantic
annotations properly encapsulated in KNX PDUs. Communication
between clients and home system is based on IEEE 802.11
and Bluetooth protocols. A smartphone having a S5PC111
CPU (1 GHz clock frequency), 512MB RAM and Android
2.1 operating system has been used for the test.
      </p>
      <p>Particularly, the agent running on the central unit allows
to: (i) discover and orchestrate suitable home device
functionalities compatible with users or context requirements via
semaFntic-based inferences; (ii) rank in relevance order w.r.t.
received requests the best services/resources to be activated;
(iii) find possible inconsistencies between home current status
and selected services or resources; (iv) inform about the
matchmaking outcomes evidencing possible open issues and
negotiation options. During start-up phase, the central unit
also takes care of system configuration. It finds out all KNX
routers connected to the home LAN through a discovery
procedure defined in EIBnet/IP standard. For each router, a
new bidirectional tunneling channel is established and the
system is ready to accept further semantic requests.</p>
      <p>Figure 7 shows a typical system interaction. Along with
requests issued by a User Agent toward the Home Agent
running in the central unit, the proposed system also allows a
Device Agent to perform queries. In such case, devices exploit
the previously described novel application layer service for
conveying semantic requests in one or more KNX frames.
Routers then forward them to the central unit over the IP
׊ ׊</p>
      <p>׊ ׊
network. I׊nstead, if the request comes from a mobile client,
the centra l׊׊ unit directly receives it via Blue׊tooth/Wi-Fi and
processing׊ starts at time t2 of the diagram ׊in Figure 7. In
either cas e׊, the Home Agent aims to find a׊ set of suitable
home functionalities for performing a semantic-based covering
process. Given a request and several availa b׊le׊ services –i.e.,
home appliances– the covering allows to compose services in
order to satisfy the request to the best possible extent.</p>
      <p>
        The orchestration process can be formalized as in what
follows:
1. A FUNCTIONALITY REQUEST message is sent to KNX
Router to discover available home appliances.
2. For each on-line device, the router sends a
PROPERTY REQUEST message to retrieve compressed semantic
annotations of exposed services/resources.
3. Data received from devices are then forwarded to the central
unit, decoded and temporarily stored in local memory.
4. Algorithm 1 is applied to request and service annotations.
An early compatibility check is performed in order to find
any active service/resource in conflict with the request. They
will be deactivated subsequently. Then a Concept Abduction
Problem (CAP) [
        <xref ref-type="bibr" rid="ref13">13</xref>
        ] is solved between request and compatible
active functionalities to verify if the user request is already
completely covered without activation of further services.
Concept Abduction allows to determine what functionalities
should be hypothesized, i.e., what is missing, in order to
completely satisfy the request. If there is such an uncovered
part of the request, a Concept Covering Problem (CCoP) [
        <xref ref-type="bibr" rid="ref14">14</xref>
        ]
is solved to select one or more deactivated functionalities
whose orchestration fills needed features. Finally, the
algorithm returns a set of services to turn on or off, along with the
uncovered request, if present.
5. Selected functionalities are activated and a
A SEMANTIC RESPONSE message is sent to the device
agent originating the interaction. Instead, if the request came
from a mobile device agent, a reply is sent back to the user.
      </p>
    </sec>
    <sec id="sec-2">
      <title>III. CASE STUDY</title>
      <p>A case study referred to power management in home
automation was developed to make evident the capabilities
of the proposed agent-based framework. The home agent
exploits a bilateral negotiation process whose final aim is
to obtain a logic-based ranking of available services and
resources according to current status of user, devices and home
environment, seeking to maximize both comfort and energy
efficiency.</p>
      <p>Let us consider the following example scenarios taken from
our case study. EIB/KNX-compatible equipment in Bob’s house
includes: an air-source heat pump, an electrical heater,
photovoltaic collectors with battery accumulator and a weather
station measuring outside temperature. Bob comes home from
work and feels cold. He inputs this information to the user
agent on his smartphone, which issues a request to the home
agent in order to provide heating. The home agent collects
environmental information from device agents and associates
it to the user profile, so that the request to be satisfied
takes both user preferences and home status into account.
Weather station reports that outside temperature is 10◦C,
while photovoltaic accumulator reports that 4kW h energy
is available in scenario A and 0kW h in scenario B. The
proposed example can be formalized as follows with respect
to an HBA ontology (expressly defined for the case study and
not reported here due to lack of space).</p>
      <p>Requests in scenarios A and B, named BA and BB
respectively, are reported in Table I and Table II. They combine
the user agent requirement for a service suggested in case
of cold feeling and contextual information about temperature
and energy availability, provided by the weather station and
energy manager agents, respectively. Higher utility is assigned
to the user preference, because user satisfaction is the primary
goal of the related agent. Device agents make three service
profiles available for activation: heat pump, electrical heater
at half power, electrical heater at full power. They are named
S1, S2 and S3 and their descriptions are reported in Table III,
Table IV and Table V, respectively. Utility values in Table III
model the fact that the heat pump is more beneficial when
no self-produced electric power is available and for higher
external temperatures (due to thermodynamics, coefficient of
performance is higher when working at a lower temperature
differential). Values in Table IV model the fact that the
electrical heater is more beneficial when self-produced electric
power is available, while those in Table V model the fact that
using the heater at full power requires more electricity, but is
more efficient at lower temperatures.</p>
      <p>Let us consider scenario A. As explained in Section II, the
home agent (i) receives the functionality request from the user
agent, (ii) collects available service descriptions from device
agents, (iii) checks compatibility between active functionalities
and the request, (iv) solves the Concept Covering Problem in
order to find functionalities that are suitable to cover (part
of) the request, mediating negotiation to select the ones with
highest utility, and (v) activates selected functionalities. In our
example, no service is active at the request time, so step (iii)
has no effect. The first negotiation round occurs between user
agent with request BA and the first device agent, heat pump,
with service S1. It can be noticed that constraints A;3 and
1;3 about temperature are in conflict, as well as constraints
A;2 and 1;2 about available energy. Therefore negotiation is
carried out as in what follows:
1. User agent discards A;2 (u = 0:8; u = 1).
2. Device agent discards 1;3 (u = 0:8; u = 0:8).
No more conflicts exist and utility of both agents is above
their thresholds, so an agreement is reached with overall utility
u = u u = 0:64. Discarding environmental constraints can
appear as inappropriate, since they model matters of fact, not
modifiable preferences. This kind of situations can be taken
into account by dividing every request and service profile in
two sets of constraints, strict and a negotiable ones, with
violation of any strict constraint immediately leading to a
missed deal. In the current system prototype strict constraints
are not implemented (although it is trivial to do so, with
the framework already in place), but similar effects can be
obtained by properly setting utility values and disagreement
thresholds.</p>
      <p>Negotiation is executed in the same way in all the other
cases. Utility outcomes are summarized in Table VI. It can
be noticed that, when solar power is available (scenario A),
the heater is globally more beneficial than the heat pump,
because no external resources are consumed, even though the
heat pump is more efficient than the electrical heather from a
thermodynamic standpoint. Conversely, when no self-produced
power is available (scenario B), the heat pump is preferred.
Nevertheless, it is useful to notice that for colder outside
temperatures the utility of the heat pump would decrease and
the heater might become the best option again.</p>
      <p>The presented example is purposely simplified in order to
make presentation of the proposed approach clear and short. In
real scenarios, more articulated requests and service
descriptions can be used. Benefits of the framework (enabling
logicbased matchmaking and negotiation with support to
approximate matches and service ranking) become even larger w.r.t.
both standard home automation technologies, characterized by
static profiles, and other state-of-the-art ontology-based agent
infrastructures, which support only rule-based inferences and
exact matches.</p>
    </sec>
    <sec id="sec-3">
      <title>IV. RELATED WORK</title>
      <p>
        Ambient Intelligence aims to increase comfort of
living/working environments by efficiently exploiting available
services and resources. Flexible and adaptive discovery and
fruition of pervasive and embedded systems must be leveraged
for that. Therefore, mobile context-aware middlewares [
        <xref ref-type="bibr" rid="ref15">15</xref>
        ]
and agent systems [
        <xref ref-type="bibr" rid="ref16">16</xref>
        ], [
        <xref ref-type="bibr" rid="ref17">17</xref>
        ] are often seen as pivotal elements
of AmI [
        <xref ref-type="bibr" rid="ref18">18</xref>
        ]. Particularly, MAS are suitable to model
realworld social scenarios enabling concurrency and cooperation.
According to Agent-Oriented Software Engineering (AOSE),
agents can meaningfully represent and simulate entities (e.g.,
devices), contexts or people emphasizing social capabilities
(communication, cooperation, conflict resolution and
negotiation). Several proposals can be found in literature for modeling
HBA systems through MAS. Case studies presented in [
        <xref ref-type="bibr" rid="ref19">19</xref>
        ]
evidence that mobile agents can be fruitfully adopted to
build AmI-based systems. With specific reference to HBA,
Morganti et al. in [
        <xref ref-type="bibr" rid="ref20">20</xref>
        ] defined a Home Automation system
as composed by a collection of domotic objects and domotic
agents. Each agent in the environment declares itself, detects
–and possibly recognizes– other agents and interacts with
them to solve electrical power allocation problems in common
homes. The proposed solution also enabled the management
of conflicts between competing agents. DomoBuilder [
        <xref ref-type="bibr" rid="ref21">21</xref>
        ] was
based on a multi-agent architecture to integrate heterogeneous
devices in the same environment. Agents were used to expose
resource features toward the overall system. Furthermore, in
latest years, due to the growing interest in reducing energy
consumption, several MASs have been proposed specifically
for energy management [
        <xref ref-type="bibr" rid="ref22">22</xref>
        ], [
        <xref ref-type="bibr" rid="ref23">23</xref>
        ], [
        <xref ref-type="bibr" rid="ref24">24</xref>
        ].
      </p>
      <p>
        Unfortunately, the above agent-based solutions either
require direct user intervention or support only elementary
agent behaviors and basic interactions, lacking advanced
service/resource characterization, discovery and composition.
The exploitation of knowledge representation and reasoning
techniques and technologies is thought as a means to reach
higher levels of accuracy and controllability w.r.t. the above
approaches, resulting in an improvement of user comfort and
building efficiency. An agent system approach based on logic
reasoning was proposed in [
        <xref ref-type="bibr" rid="ref25">25</xref>
        ]. A butler mediator recognizes
the user context, based on interaction with sensor agents, in
order to infer possible user’s goals and select the most suitable
workflow among a set of available candidates. It was supported
by a communication protocol where agents automatically
discover services available in the environment and dynamically
compose them by exploiting View Design Language (VDL)
rules. Wu et al. [
        <xref ref-type="bibr" rid="ref26">26</xref>
        ] defined a service-oriented smart home
architecture where each component is designed as an agent
communicating by exchanging messages via publish/subscribe
events. In particular, when the smart home is going to perform
a service for a user, it will compare service requirements with
the environment situation to find out spaces whose status and
resources are already available for activating a given service.
Similarly, in [
        <xref ref-type="bibr" rid="ref27">27</xref>
        ] the use of intelligent agents, designed
according to the BDI (Belief-Desire-Intention) model, was
proposed to automate service composition tasks, so providing
transparency from the user standpoint, although the approach
lacks adequate expressiveness for user, device and service
profiles description. Bonino et al. [
        <xref ref-type="bibr" rid="ref28">28</xref>
        ] developed a complete
prototype for ontology-based HBA. The proposed architecture
included a reasoner exploiting rule-based inferences, whose
well-known limits make the system not completely suitable
for a widespread usage in dynamic AmI contexts: in order
to trigger a rule, the system state should fully match rule
conditions. Nevertheless full matches are quite unlikely in
reallife scenarios, where objects, subjects and events are featured
by different heterogeneous descriptions, often partially in
conflict among them. In [
        <xref ref-type="bibr" rid="ref29">29</xref>
        ] two ontologies for modeling
agent-based applications in energy systems were compared
demonstrating that the intrinsic properties of an energy system
could successfully be expressed by means of semantic-based
approaches.
      </p>
    </sec>
    <sec id="sec-4">
      <title>V. CONCLUSION</title>
      <p>The paper presented a distributed multi-agent framework
for home and building automation, based on a semantic
enhancement of EIB/KNX standard exploiting knowledge
representation and reasoning technologies. The proposed
approach allows advanced, fine-grained resource/service
discovery grounded on the formal annotation of user characteristics
and device capabilities and leveraging logic-based negotiation.
The devised framework has been realized in a prototypical
testbed in order to verify both feasibility and effectiveness.</p>
    </sec>
    <sec id="sec-5">
      <title>ACKNOWLEDGMENTS</title>
      <p>The authors acknowledge partial support of national project
ERMES (Enhance Risk Management through Extended
Sensors) - PON (2011-2014).</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          [1]
          <string-name>
            <given-names>D. J.</given-names>
            <surname>Cook</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J. C.</given-names>
            <surname>Augusto</surname>
          </string-name>
          , and
          <string-name>
            <given-names>V. R.</given-names>
            <surname>Jakkula</surname>
          </string-name>
          , “
          <article-title>Ambient intelligence: Technologies, applications</article-title>
          , and opportunities,
          <source>” Pervasive and Mobile Computing</source>
          , vol.
          <volume>5</volume>
          , no.
          <issue>4</issue>
          , pp.
          <fpage>277</fpage>
          -
          <lpage>298</lpage>
          ,
          <year>2009</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          [2]
          <string-name>
            <given-names>H.</given-names>
            <surname>Nakashima</surname>
          </string-name>
          ,
          <string-name>
            <given-names>H.</given-names>
            <surname>Aghajan</surname>
          </string-name>
          , and
          <string-name>
            <given-names>J. C.</given-names>
            <surname>Augusto</surname>
          </string-name>
          , Eds., Handbook of Ambient Intelligence and
          <string-name>
            <given-names>Smart</given-names>
            <surname>Environments</surname>
          </string-name>
          . New York: Springer,
          <year>2010</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          [3]
          <string-name>
            <given-names>Konnex</given-names>
            <surname>Association</surname>
          </string-name>
          ,
          <source>KNX Handbook for Home and Building Control</source>
          , 5th ed.,
          <year>2006</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          [4]
          <string-name>
            <given-names>F.</given-names>
            <surname>Baader</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D.</given-names>
            <surname>Calvanese</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D. Mc</given-names>
            <surname>Guinness</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D.</given-names>
            <surname>Nardi</surname>
          </string-name>
          , and P. PatelSchneider,
          <source>The Description Logic Handbook</source>
          . Cambridge University Press,
          <year>2002</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          [5]
          <string-name>
            <given-names>S.</given-names>
            <surname>Bechhofer</surname>
          </string-name>
          , R. Mo¨ller, and P. Crowther, “
          <article-title>The DIG Description Logic Interface</article-title>
          ,”
          <source>in Proceedings of the 16th Int. Workshop on Description Logics (DL'03)</source>
          <article-title>, ser</article-title>
          .
          <source>CEUR Workshop Proceedings</source>
          , vol.
          <volume>81</volume>
          , Rome, Italy,
          <year>September 2003</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          [6]
          <string-name>
            <given-names>D.</given-names>
            <surname>Weyns</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Omicini</surname>
          </string-name>
          , and
          <string-name>
            <given-names>J.</given-names>
            <surname>Odell</surname>
          </string-name>
          , “
          <article-title>Environment as a first class abstraction in multiagent systems</article-title>
          ,” Autonomous Agents and
          <string-name>
            <surname>Multi-Agent</surname>
            <given-names>Systems</given-names>
          </string-name>
          , vol.
          <volume>14</volume>
          , no.
          <issue>1</issue>
          , pp.
          <fpage>5</fpage>
          -
          <lpage>30</lpage>
          , Feb.
          <year>2007</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          [7]
          <string-name>
            <given-names>A.</given-names>
            <surname>Ragone</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Ruta</surname>
          </string-name>
          ,
          <string-name>
            <given-names>E. Di</given-names>
            <surname>Sciascio</surname>
          </string-name>
          , and
          <string-name>
            <given-names>F.</given-names>
            <surname>Donini</surname>
          </string-name>
          , “
          <article-title>Bargaining Agents in Wireless Contexts: An Alternating-Offers Protocol for Multi-issue Bilateral Negotiation in Mobile Marketplaces,” E-Commerce and Web Technologies</article-title>
          , pp.
          <fpage>14</fpage>
          -
          <lpage>25</lpage>
          ,
          <year>2009</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          [8]
          <string-name>
            <given-names>M.</given-names>
            <surname>Ruta</surname>
          </string-name>
          ,
          <string-name>
            <given-names>F.</given-names>
            <surname>Scioscia</surname>
          </string-name>
          ,
          <string-name>
            <given-names>E. Di</given-names>
            <surname>Sciascio</surname>
          </string-name>
          , and G. Loseto, “
          <article-title>Semantic-based Enhancement of ISO/IEC 14543-3 EIB/KNX Standard for Building Automation,”</article-title>
          <source>IEEE Transactions on Industrial Informatics</source>
          , vol.
          <volume>7</volume>
          , no.
          <issue>4</issue>
          , pp.
          <fpage>731</fpage>
          -
          <lpage>739</lpage>
          ,
          <year>2011</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          [9]
          <string-name>
            <given-names>M.</given-names>
            <surname>Ruta</surname>
          </string-name>
          ,
          <string-name>
            <given-names>T. Di</given-names>
            <surname>Noia</surname>
          </string-name>
          ,
          <string-name>
            <given-names>E. Di</given-names>
            <surname>Sciascio</surname>
          </string-name>
          , and
          <string-name>
            <given-names>F.</given-names>
            <surname>Scioscia</surname>
          </string-name>
          , “
          <article-title>An efficient data compression algorithm for semantic-based ubiquitous computing applications</article-title>
          ,
          <source>” in Int. Conf. on Mobile Ubiquitous Computing, Systems</source>
          , Services and
          <string-name>
            <surname>Technologies (UBICOMM07). IARIA</surname>
          </string-name>
          ,
          <year>2007</year>
          , pp.
          <fpage>177</fpage>
          -
          <lpage>182</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          [10]
          <string-name>
            <surname>Konnex</surname>
            <given-names>Association</given-names>
          </string-name>
          ,
          <article-title>Handbook for Home and Building Control: Application Interface Layer</article-title>
          , 1st ed.,
          <year>2001</year>
          , vol.
          <volume>3</volume>
          ,
          <issue>ch</issue>
          . 4.
          <issue>1</issue>
          , pp.
          <fpage>12</fpage>
          -
          <lpage>16</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref11">
        <mixed-citation>
          [11]
          <string-name>
            <given-names>M.</given-names>
            <surname>Ruta</surname>
          </string-name>
          ,
          <string-name>
            <given-names>T. Di</given-names>
            <surname>Noia</surname>
          </string-name>
          ,
          <string-name>
            <given-names>E. Di</given-names>
            <surname>Sciascio</surname>
          </string-name>
          , and
          <string-name>
            <given-names>F.</given-names>
            <surname>Donini</surname>
          </string-name>
          , “
          <string-name>
            <surname>Semantic-Enhanced Bluetooth Discovery Protocol for M-Commerce</surname>
            <given-names>Applications</given-names>
          </string-name>
          ,” Int.
          <source>Journal of Web and Grid Services</source>
          , vol.
          <volume>2</volume>
          , no.
          <issue>4</issue>
          , pp.
          <fpage>424</fpage>
          -
          <lpage>452</lpage>
          ,
          <year>2006</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref12">
        <mixed-citation>
          [12]
          <string-name>
            <given-names>M.</given-names>
            <surname>Ruta</surname>
          </string-name>
          ,
          <string-name>
            <given-names>F.</given-names>
            <surname>Scioscia</surname>
          </string-name>
          ,
          <string-name>
            <given-names>T. Di</given-names>
            <surname>Noia</surname>
          </string-name>
          , and E. Di Sciascio, “
          <article-title>Reasoning in Pervasive Environments: an Implementation of Concept Abduction with Mobile OODBMS</article-title>
          ,” in
          <source>2009 IEEE/WIC/ACM Int. Conf. on Web Intelligence. IEEE</source>
          ,
          <year>2009</year>
          , pp.
          <fpage>145</fpage>
          -
          <lpage>148</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref13">
        <mixed-citation>
          [13]
          <string-name>
            <given-names>S.</given-names>
            <surname>Colucci</surname>
          </string-name>
          ,
          <string-name>
            <given-names>T. Di</given-names>
            <surname>Noia</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Pinto</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Ragone</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Ruta</surname>
          </string-name>
          , and E. Tinelli, “
          <article-title>A non-monotonic approach to semantic matchmaking and request refinement in e-marketplaces,” Int</article-title>
          .
          <source>Journal of Electronic Commerce</source>
          , vol.
          <volume>12</volume>
          , no.
          <issue>2</issue>
          , pp.
          <fpage>127</fpage>
          -
          <lpage>154</lpage>
          ,
          <year>2007</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref14">
        <mixed-citation>
          [14]
          <string-name>
            <given-names>A.</given-names>
            <surname>Ragone</surname>
          </string-name>
          ,
          <string-name>
            <given-names>T. Di</given-names>
            <surname>Noia</surname>
          </string-name>
          ,
          <string-name>
            <given-names>E. Di</given-names>
            <surname>Sciascio</surname>
          </string-name>
          ,
          <string-name>
            <given-names>F. M.</given-names>
            <surname>Donini</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Colucci</surname>
          </string-name>
          , and
          <string-name>
            <given-names>F.</given-names>
            <surname>Colasuonno</surname>
          </string-name>
          , “
          <article-title>Fully automated web services discovery and composition through concept covering and concept abduction</article-title>
          ,
          <source>” Int. Journal of Web Services Research (JWSR)</source>
          , vol.
          <volume>4</volume>
          , no.
          <issue>3</issue>
          , pp.
          <fpage>85</fpage>
          -
          <lpage>112</lpage>
          ,
          <year>2007</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref15">
        <mixed-citation>
          [15]
          <string-name>
            <given-names>M.</given-names>
            <surname>Mamei</surname>
          </string-name>
          and
          <string-name>
            <given-names>F.</given-names>
            <surname>Zambonelli</surname>
          </string-name>
          , “
          <article-title>Programming pervasive and mobile computing applications: The TOTA approach</article-title>
          ,” ACM Trans. Softw. Eng. Methodol., vol.
          <volume>18</volume>
          , no.
          <issue>4</issue>
          , pp.
          <volume>15</volume>
          :
          <fpage>1</fpage>
          -
          <lpage>15</lpage>
          :
          <fpage>56</fpage>
          ,
          <string-name>
            <surname>Jul</surname>
          </string-name>
          .
          <year>2009</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref16">
        <mixed-citation>
          [16]
          <string-name>
            <given-names>M. P.</given-names>
            <surname>Locatelli</surname>
          </string-name>
          and G. Vizzari, “
          <article-title>Awareness in collaborative ubiquitous environments: The multilayered multi-agent situated system approach,”</article-title>
          <source>ACM Trans. Auton. Adapt. Syst.</source>
          , vol.
          <volume>2</volume>
          , no.
          <issue>4</issue>
          ,
          <string-name>
            <surname>Nov</surname>
          </string-name>
          .
          <year>2007</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref17">
        <mixed-citation>
          [17]
          <string-name>
            <given-names>K. I. K.</given-names>
            <surname>Wang</surname>
          </string-name>
          ,
          <string-name>
            <given-names>W. H.</given-names>
            <surname>Abdulla</surname>
          </string-name>
          , and
          <string-name>
            <given-names>Z.</given-names>
            <surname>Salcic</surname>
          </string-name>
          , “
          <article-title>Ambient intelligence platform using multi-agent system and mobile ubiquitous hardware,” Pervasive Mob</article-title>
          .
          <source>Comput.</source>
          , vol.
          <volume>5</volume>
          , pp.
          <fpage>558</fpage>
          -
          <lpage>573</lpage>
          ,
          <year>October 2009</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref18">
        <mixed-citation>
          [18]
          <string-name>
            <given-names>C.</given-names>
            <surname>Ramos</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J. C.</given-names>
            <surname>Augusto</surname>
          </string-name>
          , and
          <string-name>
            <given-names>D.</given-names>
            <surname>Shapiro</surname>
          </string-name>
          , “Ambient Intelligence - the
          <source>Next Step for Artificial Intelligence,” IEEE Intelligent Systems</source>
          , vol.
          <volume>23</volume>
          , pp.
          <fpage>15</fpage>
          -
          <lpage>18</lpage>
          ,
          <year>March 2008</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref19">
        <mixed-citation>
          [19]
          <string-name>
            <given-names>D.</given-names>
            <surname>Tapia</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Abraham</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Corchado</surname>
          </string-name>
          , and
          <string-name>
            <given-names>R.</given-names>
            <surname>Alonso</surname>
          </string-name>
          , “
          <article-title>Agents and ambient intelligence: case studies,”</article-title>
          <source>Journal of Ambient Intelligence and Humanized Computing</source>
          , vol.
          <volume>1</volume>
          , pp.
          <fpage>85</fpage>
          -
          <lpage>93</lpage>
          ,
          <year>2010</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref20">
        <mixed-citation>
          [20]
          <string-name>
            <given-names>G.</given-names>
            <surname>Morganti</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A. M.</given-names>
            <surname>Perdon</surname>
          </string-name>
          , G. Conte, and
          <string-name>
            <given-names>D.</given-names>
            <surname>Scaradozzi</surname>
          </string-name>
          ,
          <article-title>“Multi-agent system theory for modelling a home automation system</article-title>
          ,”
          <source>in Proceedings of the 10th Int. Work-Conference on Artificial Neural Networks: Part I: Bio-Inspired Systems: Computational and Ambient Intelligence</source>
          , ser.
          <source>IWANN '09</source>
          . Berlin, Heidelberg: Springer-Verlag,
          <year>2009</year>
          , pp.
          <fpage>585</fpage>
          -
          <lpage>593</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref21">
        <mixed-citation>
          [21]
          <string-name>
            <given-names>A.</given-names>
            <surname>Addis</surname>
          </string-name>
          and G. Armano, “
          <article-title>DomoBuilder: A MultiAgent Architecture for Home Automation</article-title>
          ,”
          <source>in Proceedings of the 11th Workshop on Objects and Agents (WOA</source>
          <year>2010</year>
          )
          <article-title>, ser</article-title>
          .
          <source>CEUR Workshop Proceedings</source>
          , vol.
          <volume>621</volume>
          ,
          <year>September 2010</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref22">
        <mixed-citation>
          [22]
          <string-name>
            <given-names>S.</given-names>
            <surname>Abras</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Pesty</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Ploix</surname>
          </string-name>
          , and
          <string-name>
            <given-names>M.</given-names>
            <surname>Jacomino</surname>
          </string-name>
          , “
          <article-title>Advantages of MAS for the Resolution of a Power Management Problem in Smart Homes,” in Advances in Practical Applications of Agents and Multiagent Systems, ser</article-title>
          .
          <source>Advances in Intelligent and Soft Computing</source>
          ,
          <string-name>
            <given-names>Y.</given-names>
            <surname>Demazeau</surname>
          </string-name>
          ,
          <string-name>
            <given-names>F.</given-names>
            <surname>Dignum</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Corchado</surname>
          </string-name>
          , and J. Prez, Eds. Springer Berlin / Heidelberg,
          <year>2010</year>
          , vol.
          <volume>70</volume>
          , pp.
          <fpage>269</fpage>
          -
          <lpage>278</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref23">
        <mixed-citation>
          [23]
          <string-name>
            <given-names>L.</given-names>
            <surname>Klein</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Kwak</surname>
          </string-name>
          ,
          <string-name>
            <given-names>G.</given-names>
            <surname>Kavulya</surname>
          </string-name>
          ,
          <string-name>
            <given-names>F.</given-names>
            <surname>Jazizadeh</surname>
          </string-name>
          ,
          <string-name>
            <given-names>B.</given-names>
            <surname>Becerik-Gerber</surname>
          </string-name>
          ,
          <string-name>
            <given-names>P.</given-names>
            <surname>Varakantham</surname>
          </string-name>
          , and
          <string-name>
            <given-names>M.</given-names>
            <surname>Tambe</surname>
          </string-name>
          , “
          <article-title>Coordinating occupant behavior for building energy and comfort management using multi-agent systems</article-title>
          ,” Automation in Construction, vol.
          <volume>22</volume>
          , pp.
          <fpage>525</fpage>
          -
          <lpage>536</lpage>
          ,
          <year>2012</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref24">
        <mixed-citation>
          [24]
          <string-name>
            <given-names>J.</given-names>
            <surname>Kwak</surname>
          </string-name>
          ,
          <string-name>
            <given-names>P.</given-names>
            <surname>Varakantham</surname>
          </string-name>
          ,
          <string-name>
            <given-names>R.</given-names>
            <surname>Maheswaran</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Tambe</surname>
          </string-name>
          ,
          <string-name>
            <given-names>F.</given-names>
            <surname>Jazizadeh</surname>
          </string-name>
          ,
          <string-name>
            <given-names>G.</given-names>
            <surname>Kavulya</surname>
          </string-name>
          ,
          <string-name>
            <given-names>L.</given-names>
            <surname>Klein</surname>
          </string-name>
          ,
          <string-name>
            <given-names>B.</given-names>
            <surname>Becerik-Gerber</surname>
          </string-name>
          ,
          <string-name>
            <given-names>T.</given-names>
            <surname>Hayes</surname>
          </string-name>
          , and W. Wood, “
          <article-title>SAVES: A Sustainable Multiagent Application to Conserve Building Energy Considering Occupants,”</article-title>
          <source>in Int. Conf. on Autonomous Agents and Multiagent Systems (AAMAS)</source>
          ,
          <year>2012</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref25">
        <mixed-citation>
          [25]
          <string-name>
            <given-names>D.</given-names>
            <surname>Cavone</surname>
          </string-name>
          , B. De Carolis,
          <string-name>
            <given-names>S.</given-names>
            <surname>Ferilli</surname>
          </string-name>
          , and
          <string-name>
            <given-names>N.</given-names>
            <surname>Novielli</surname>
          </string-name>
          , “
          <article-title>An agent-based approach for adapting the behavior of a smart home environment</article-title>
          ,”
          <source>in Proceedings of the 12th Workshop on Objects and Agents (WOA2011)</source>
          <article-title>, ser</article-title>
          .
          <source>CEUR Workshop Proceedings</source>
          , vol.
          <volume>741</volume>
          ,
          <year>2011</year>
          , pp.
          <fpage>105</fpage>
          -
          <lpage>111</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref26">
        <mixed-citation>
          [26]
          <string-name>
            <surname>C.-L. Wu</surname>
          </string-name>
          and L.
          <string-name>
            <surname>-C. Fu</surname>
          </string-name>
          , “
          <article-title>Design and Realization of a Framework for Human-System Interaction in Smart Homes,”</article-title>
          <source>Systems, Man and Cybernetics</source>
          ,
          <string-name>
            <surname>Part</surname>
            <given-names>A</given-names>
          </string-name>
          :
          <article-title>Systems and Humans</article-title>
          , IEEE Transactions on, vol.
          <volume>42</volume>
          , no.
          <issue>1</issue>
          , pp.
          <fpage>15</fpage>
          -
          <lpage>31</lpage>
          , jan.
          <year>2012</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref27">
        <mixed-citation>
          [27]
          <string-name>
            <given-names>M.</given-names>
            <surname>Santofimia</surname>
          </string-name>
          ,
          <string-name>
            <given-names>F.</given-names>
            <surname>Moya</surname>
          </string-name>
          ,
          <string-name>
            <given-names>F.</given-names>
            <surname>Villanueva</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D.</given-names>
            <surname>Villa</surname>
          </string-name>
          , and
          <string-name>
            <given-names>J.</given-names>
            <surname>Lopez</surname>
          </string-name>
          , “
          <article-title>Intelligent Agents for Automatic Service Composition in Ambient Intelligence,” in Web Intelligence</article-title>
          and
          <string-name>
            <given-names>Intelligent</given-names>
            <surname>Agents</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Z.</given-names>
            <surname>Usmani</surname>
          </string-name>
          , Ed. InTech,
          <year>2010</year>
          , pp.
          <fpage>411</fpage>
          -
          <lpage>428</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref28">
        <mixed-citation>
          [28]
          <string-name>
            <given-names>D.</given-names>
            <surname>Bonino</surname>
          </string-name>
          , E. Castellina, and
          <string-name>
            <given-names>F.</given-names>
            <surname>Corno</surname>
          </string-name>
          , “
          <article-title>The DOG gateway: enabling ontology-based intelligent domotic environments</article-title>
          ,
          <source>” IEEE Transactions on Consumer Electronics</source>
          , vol.
          <volume>54</volume>
          , no.
          <issue>4</issue>
          , pp.
          <fpage>1656</fpage>
          -
          <lpage>1664</lpage>
          , november
          <year>2008</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref29">
        <mixed-citation>
          [29]
          <string-name>
            <given-names>J.</given-names>
            <surname>Keirstead</surname>
          </string-name>
          and
          <string-name>
            <surname>K. H. van Dam</surname>
          </string-name>
          ,
          <article-title>“A comparison of two ontologies for agent-based modelling of energy systems</article-title>
          ,”
          <source>in Proceedings of the First Int. Workshop on Agent Technologies for Energy Systems (ATES 2010), 11 May</source>
          <year>2010</year>
          , pp.
          <fpage>21</fpage>
          -
          <lpage>28</lpage>
          .
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>