<!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>An Ontology for Collaborative Tasks in Multi-agent Systems</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Daniela Schmidt</string-name>
          <email>daniela.schmidt@acad.pucrs.br</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Rafael H. Bordini</string-name>
          <email>rafael.bordini@pucrs.br</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Felipe Meneguzzi</string-name>
          <email>felipe.meneguzzi@pucrs.br</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Renata Vieira</string-name>
          <email>renata.vieira@pucrs.br</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Postgraduate Program in Computer Science School of Informatics (FACIN) Pontifical Catholic University of Rio Grande do Sul - PUCRS</institution>
        </aff>
      </contrib-group>
      <abstract>
        <p>This paper proposes an ontology for task representation and inference. The ontology was developed to support reasoning about tasks, such as task recognition and relocation. Our proposal is formalized in OWL (Web Ontology Language) and SWRL (Semantic Web Rule Language). We show one scenario to exemplify reasoning situations based on the axioms and rules of our ontology. This knowledge-level representation of tasks can be explored to support reasoning about activities for groups of people. The knowledge asserted and inferred in the ontology is useful in multi-agent systems to enhance agent coordination and collaboration through reasoning over tasks. An evaluation of the proposed ontology is presented.</p>
      </abstract>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>1. Introduction</title>
    </sec>
    <sec id="sec-2">
      <title>2. Ontology</title>
      <p>
        Ontology was originally the philosophical study of reality to define which things exists
and what we can say about them. In computer science, ontology is defined as an “explicit
specification of a conceptualization” [
        <xref ref-type="bibr" rid="ref7">Gruber 1993</xref>
        ]. A conceptualization stands for an
abstract model of some world aspect that specifies properties of important concepts and
relationships. Therefore, ontologies are knowledge representation structures composed
of concepts, properties, individuals, relationships and axioms. A concept (or class) is a
collection of objects that share specific restrictions, similarities or common properties. A
property expresses relationships between concepts. An individual (instance, object, or
fact) represents an element of a concept; a relationship instantiates a property to relate
two individuals; and an axiom (or rule) imposes constraints on the values of concepts
or individuals normally using logic languages (which can be used to check ontological
consistency or to infer new knowledge).
      </p>
      <p>
        Nowadays there are prominent ontology languages, such as OWL (Web Ontology
Language) [
        <xref ref-type="bibr" rid="ref3">Bechhofer et al. 2004</xref>
        ], which is a semantic web standard formalism to
explicitly represent the meaning of terms and the relationships between those terms. OWL
is a language for processing web information that became a W3C recommendation in
2004 [
        <xref ref-type="bibr" rid="ref3">Bechhofer et al. 2004</xref>
        ]. Ontologies empowers the execution of semantic
reasoners, such as Pellet [
        <xref ref-type="bibr" rid="ref14">Sirin et al. 2007</xref>
        ]. Semantic reasoners provide the functionalities of
consistency checking, concept satisfiability and classification [
        <xref ref-type="bibr" rid="ref14">Sirin et al. 2007</xref>
        ]. In other
words, reasoners infer logical consequences from a set of axioms, which in the current
technology can be done, for example, through the application of the rules coded in SWRL
(Semantic Web Rule Language) [
        <xref ref-type="bibr" rid="ref10">Horrocks et al. 2004</xref>
        ].
      </p>
      <p>
        Ontologies and rules are established paradigms in knowledge modeling that can
be used together. SWRL is a rule extension of OWL that adheres to the open-world
paradigm [
        <xref ref-type="bibr" rid="ref10">Horrocks et al. 2004</xref>
        ]. SWRL adds to the OWL’s expressiveness by allowing
the modeling of certain axioms which lie outside the capability of OWL; including an
abstract syntax for Horn-like rules in ontologies. The rules are defined as an implication
between an antecedent (body) and a consequent (head). The intended meaning can be
read as: whenever the conditions specified in the antecedent hold, then the conditions
specified in the consequent must also hold (be true). A SWRL rule [
        <xref ref-type="bibr" rid="ref10">Horrocks et al. 2004</xref>
        ]
has the form of antecedent ) consequent where both antecedent and consequent are
conjunctions of atoms written as a1 ^ ::: ^ an. Variables are prefixed with a question
mark (e.g., ?x), and an atom may be unary (e.g., a class expression) or binary (e.g., an
object property), and arguments in atoms can be individuals or data values. In this syntax,
a rule asserting that the composition of parent and brother properties implies the uncle
property can be written as [
        <xref ref-type="bibr" rid="ref10">Horrocks et al. 2004</xref>
        ]: parent(?x; ?y) ^ brother(?y; ?z) )
uncle(?x; ?z).
      </p>
      <p>
        This section provided a background on ontology technologies employed in this
work. Our proposal is formalized in OWL and SWRL, and applies the semantic reasoner
Pellet [
        <xref ref-type="bibr" rid="ref14">Sirin et al. 2007</xref>
        ] for executing inferences over the modeled concepts, properties,
individuals, axioms and rules. Next, we present previous approaches to task ontologies.
      </p>
    </sec>
    <sec id="sec-3">
      <title>3. Related Work</title>
      <p>
        This section describes previous work that use ontologies for activity representation and
recognition. Activity modeling in ontologies consists in defining formal semantics for
human tasks by means of the operators in ontological languages. Then, ontological
reasoning can be used to recognize that the user is performing a certain activity starting
from some facts (e.g., sensor data, location of persons and objects, properties of actors
involved) [
        <xref ref-type="bibr" rid="ref12 ref13">Riboni and Bettini 2011</xref>
        b].
      </p>
      <p>
        <xref ref-type="bibr" rid="ref15">Smith et al. [Smith et al. 2011</xref>
        ] propose an ontology containing rules to reason
about task characteristics to enable an effective coordination of activities. To implement
such mechanism, agents need to reason and communicate about activities, resources and
their properties. The semantics for the coordination mechanisms are given by rules coded
in an ontology. The idea is to enable agents to reason about the relationships of their
activities with the activities of other agents [
        <xref ref-type="bibr" rid="ref15">Smith et al. 2011</xref>
        ].
      </p>
      <p>
        The OWL-T ontology [
        <xref ref-type="bibr" rid="ref16">Tran and Tsuji 2007</xref>
        ] was designed to allow the formal
and semantic specification of tasks using a high-level knowledge abstraction. The Task
class is the central concept in OWL-T, and can be hierarchically decomposed into simple
or complex tasks. According to
        <xref ref-type="bibr" rid="ref16">Tran and Tsuji [Tran and Tsuji 2007</xref>
        ], an example of
complex task is planning a trip, that requires the sub-tasks of book flight, book hotel and
rent car.
      </p>
      <p>
        Riboni and Bettini [
        <xref ref-type="bibr" rid="ref12 ref13">Riboni and Bettini 2011</xref>
        a] propose an ontology of activities
for task representation that combines ontological reasoning with statistical inference to
enable activity recognition. Their solution uses statistical inference on raw data retrieved
from body-worn sensors (e.g., accelerometers) to predict the most probable activities.
Then, symbolic reasoning refines the results of statistical inference by selecting the set
of possible activities performed by a user based on the context. The ActivO (ontology
for activity recognition) contains a set of activities, as well as context data that can be
useful to recognize them. The set of activities and context data defined in ActivO is
non-exhaustive, but it is claimed that it can be used to model many pervasive computing
scenarios.
      </p>
      <p>
        The work on [
        <xref ref-type="bibr" rid="ref4">Chen et al. 2012</xref>
        ] introduces a knowledge-driven approach to
activity recognition and inferencing based on multi-sensor data streams in smart homes.
The ontology represents the correlated domains of smart homes contexts and Activities
of Daily Living (ADL). For example, the task of brushing teeth normally takes place in
the bathroom twice a day and usually involves using toothpaste, toothbrush and water,
which is the context for this activity. Contextual information is obtained by sensors that
are linked to physical and conceptual entities such as objects, locations, and states. In
addition to the ontology of contexts, an ontology for activity recognition was created to
model an activity hierarchy in which each class denotes an ADL type. ADL ontologies
can be viewed as activity models that establish links between activities and contextual
information.
      </p>
      <p>
        <xref ref-type="bibr" rid="ref6">Garcia et al. [Garcia et al. 2013</xref>
        ] propose one approach based on ontologies to
solve problems related with resource sharing in pervasive environments. The ontological
model is composed by a set of ontologies that represent the elements involved in a
collaborative environment. Ontologies refers to types of managed resources (human, physical
and virtual) and other characteristics such as environment and organizational aspects. This
set of ontologies is part of RAMS architecture (Resource Availability Management
Service). According to the authors, a set of ontologies is better than one unique ontology and
these proposed ontologies can be extend by adding new concepts.
      </p>
      <p>
        <xref ref-type="bibr" rid="ref2">Bae [Bae 2014</xref>
        ] presents and approach to activities of daily living (ADL)
recognition called RADL (Recognizing Activities of Daily Living). RADL is a system that
      </p>
    </sec>
    <sec id="sec-4">
      <title>Ontology</title>
      <p>
        Coordination
ontology
[
        <xref ref-type="bibr" rid="ref15">Smith et al. 2011</xref>
        ]
OWL-T
[
        <xref ref-type="bibr" rid="ref16">Tran and Tsuji 2007</xref>
        ]
RAMS
[
        <xref ref-type="bibr" rid="ref6">Garcia et al. 2013</xref>
        ]
RADL [
        <xref ref-type="bibr" rid="ref2">Bae 2014</xref>
        ]
      </p>
    </sec>
    <sec id="sec-5">
      <title>Scope Main Concepts</title>
      <p>Tasks and their posi- Activity, interdependence
tive/negative relationships types, agent, resource,
opto enable agent coordina- erational relationship, and
tion. coordination rule.</p>
      <p>Business processes using Task (divided into simple
high-level abstraction. and composite), input,
output, pre/post conditions,
preferences, effects.</p>
      <p>Activity, artifact,
communicationRoute, person,
symbolicLocation, timeExtend.</p>
    </sec>
    <sec id="sec-6">
      <title>Activity, actor, location, re</title>
      <p>source, environment, entities,
duration, goal, effects,
conditions, time.</p>
      <p>Represent actions that Process, activity, group, role,
users can execute about calendar, time interval, human
resources. resource.</p>
      <p>Represent activities of Person, activity, location,
daily living related to device, device status, sensor,
elderly person in a smart sensor status, service, daily
home environment. life service, message service,
safety service.</p>
      <p>
        ActivO Concepts to help in
activ[
        <xref ref-type="bibr" rid="ref12 ref13">Riboni and Bettini 2011</xref>
        a] ity recognition, specially
      </p>
      <p>in the health care field.</p>
      <p>
        SH and ADL Daily-living activities in
[
        <xref ref-type="bibr" rid="ref4">Chen et al. 2012</xref>
        ] the smart home domain.
detects and monitors ADL’s standards for smart homes equipped with sensors. RADL is
exemplified in a smart home scenario where one elderly person lives alone. The
ontology proposed by the author is able to reason about ADL’s standards and provide semantic
discovery of locations, devices, activities and other relevant information. The ontology
is divided in three parts. The first represents concepts about daily life services like: air
conditioner on or off and open or closed window for instance. The second represents
safety services like: fire alarm activated. And the third part represent messages services
like: sleeping message, wake up message and so on are described.
      </p>
      <p>As we see, semantic representations of tasks through ontologies are starting to
appear as promising research directions. These representations enable agents to reason
about tasks, for example, to implement activity recognition approaches. In Table 1 we
compare the related work presented in Section 3, highlighting the main concepts of each
ontology. In our proposed ontology, we reused the most common concepts in the domain
(as highlighted in bold in Table 1). We then included new aspects to those found in
previous works, since our focus was on the representation of tasks performed collaboratively
(to be presented in the next section). No previous work was found with such orientation.
This section presents our proposed ontology, the integration of our ontology in the
multiagent system and its application. The goal is to represent the knowledge of where and
when the tasks might occur, who is responsible for them and what are the tasks
particularities. Based on this ontology representation, we may use logical rules and apply semantic
reasoners to infer new knowledge about tasks that may be useful for agent programmers
willing to implement task reasoning mechanisms, such as techniques of task recognition,
task negotiation and task relocation.</p>
      <p>The Task is the main concept in the ontology; it represents an activity that is
executed by one or more people. We can also say that the execution of a Task may happen
in a particular location and time, and normally involves an object. Therefore, the main
and most generic concepts of the proposed task ontology are: Task, Person, Location,
Object, TimeInterval and TaskPurpose (see Figure 1 a)).</p>
      <p>is-at
occurs-in
has-object</p>
      <p>Location
s-lcatin
o
o
a
h
Object
b)</p>
    </sec>
    <sec id="sec-7">
      <title>4. Proposed Task Ontology</title>
      <p>Person
c--ttsckxaaeeenu yb-detucexe-eb-nac</p>
      <p>Task
Legend:</p>
      <p>Concepts
Properties</p>
      <p>TimeInterval
Collaborative tasks may have restrictions as to who can execute them, when and
where they occur. Then, to address these issues our ontology specialized the task concept
(according to Figure 1 b)). In our ontology, the concepts were defined based on
restrictions and other logical characteristics related to collaborative tasks. For example, the
CompositeTask concept is equivalent to a task that has sub-task. This concept definition
used the existential quantifier, as follows:</p>
      <sec id="sec-7-1">
        <title>CompositeT ask</title>
        <sec id="sec-7-1-1">
          <title>9has-subtask.T ask</title>
          <p>The RestrictedTask concept is subdivided in three kinds of restrictions that are
presented bellow:</p>
          <p>RestrictedAgent: in this case, the concepts can be used to define features that
agents or people may to perform certain tasks. In our ontology there are three concepts
to specify restrictions regarding agents. They are: (i) the concept AdultTask restricts the
tasks that may be performed only by adults, like driving a car, for instance. (ii) the
concept CarerTask restricts the tasks that may be performed only by carers, (iii) the concept
FamilyMemberTask that represents tasks that can only be performed by family members.
The setting of restrictions on concepts specified above is as follows:</p>
        </sec>
      </sec>
      <sec id="sec-7-2">
        <title>AdultT ask</title>
      </sec>
      <sec id="sec-7-3">
        <title>CarerT ask</title>
        <sec id="sec-7-3-1">
          <title>8can-be-executed-by.Adult</title>
        </sec>
        <sec id="sec-7-3-2">
          <title>8can-be-executed-by.Carer</title>
        </sec>
      </sec>
      <sec id="sec-7-4">
        <title>F amilyM emberT ask</title>
        <sec id="sec-7-4-1">
          <title>8can-be-executed-by.F amilyM ember</title>
          <p>Note that the restrictions regarding agent may vary according to the application,
in the case of our application carer and family members are types of agents, but in other
applications these types may differ. More details on the application is described in the
sequence.</p>
          <p>RestrictedLocation: a task can be classified according to the location where it
occurs. To represent these restrictions the concepts RestrictedStartingLocation and
RestrictedEndingLocation were included. One task instance belongs to any of these concepts if it
has the property possible-starting-location or possible-ending-location respectively. This
definition is specified as follows:</p>
        </sec>
      </sec>
      <sec id="sec-7-5">
        <title>RestrictedStartingLocation</title>
      </sec>
      <sec id="sec-7-6">
        <title>RestrictedEndingLocation</title>
        <sec id="sec-7-6-1">
          <title>9possible-starting-location.Location</title>
        </sec>
        <sec id="sec-7-6-2">
          <title>9possible-ending-location.Location</title>
          <p>RestrictedTime: similar to the location constraints, a task can have time
restrictions. The concepts RestrictedStartingTime and RestrictedEndingTime are used when a
task has restrictions regarding the start or end time of it execution (a physiotherapy
session, for instance). A task instance is classified as RestrictedTime if it has any restrictions
through the properties has-beginning or has-end respectively.</p>
          <p>In addition to the specializations and restrictions, our task ontology allows agents
to negotiate about relocation of tasks. To provide this information, the concept Task has
the sub-concept RelocatableTask whose function is to describe the possibilities of
relocation in terms of time and responsible for the execution of a task.</p>
          <p>RelocatableTask: this concept describes the relocation task possibilities. It is
divided in two sub-concepts called RelocatableResponsible and RelocatableTime. The first
refers to a task instance which has the property can-be-relocated-to. Rules in SWRL
were created to define who is able to perform each task. For instance, some tasks can
be executed only by adults. Already, the temporal relocation can occurs when one task
instance is not RestrictedTime. The following we define the concept
RelocatableResponsible and the rules in SWRL that allow inferences instances of people for that a task can
be relocated.</p>
        </sec>
      </sec>
      <sec id="sec-7-7">
        <title>RelocatableResponsible</title>
        <sec id="sec-7-7-1">
          <title>9can-be-relocated-to.P erson</title>
        </sec>
        <sec id="sec-7-7-2">
          <title>T ask(?x) ^ P erson(?y) ) can-be-relocated-to(?x; ?y)</title>
        </sec>
        <sec id="sec-7-7-3">
          <title>AdultT ask(?x) ^ Adult(?y) ) can-be-relocated-to(?x; ?y)</title>
          <p>Furthermore, a Task may contain restrictions based on locations where it can
happen, what objects are related, and so on (see Figure 1). These aspects are addressed below.</p>
          <p>The Location concept represents physical places where Task instances happens.
Location has two sub-concepts to differentiate between internal and external locations.
The relationship of the task concept and location is given by the property occurs-in.</p>
          <p>The Person concept represents the group of people.The relationship between Task
and Person occurs through the property can-be-executed-by. In order to specialize the
ontology according to the application, the person concept has two sub-concepts called
CarerGroup and Patient. The first is divided into Carer and FamilyMember. Instances of
carer group are responsible to take care of patient instances. To provide this relationship,
we create the object property has-carer (see following).</p>
        </sec>
      </sec>
      <sec id="sec-7-8">
        <title>P atient</title>
        <sec id="sec-7-8-1">
          <title>9has-carer.CarerGroup</title>
          <p>The Object concept represents the objects involved in the task execution. The
TaskPurpose concept represents the specialization of tasks (e.g. entertainment, hygiene,
etc.). The relationship between this concept and the Task concept occurs through the
property has-task-purpose.</p>
          <p>The TimeInterval concept includes information about temporal restrictions. This
concept is related to task concept through of the property is-schedule-to. TimeInterval has
three sub-concepts called ClosedInterval, LeftClosedInterval and RightClosedInterval. A
task instance is classified with restricted time according to follow rules.</p>
        </sec>
      </sec>
      <sec id="sec-7-9">
        <title>ClosedInterval</title>
        <sec id="sec-7-9-1">
          <title>9has-beginning.string ^ 9has-end.string</title>
        </sec>
      </sec>
      <sec id="sec-7-10">
        <title>Lef tClosedInterval</title>
      </sec>
      <sec id="sec-7-11">
        <title>RightClosedInterval</title>
        <sec id="sec-7-11-1">
          <title>9has-beginning.string</title>
        </sec>
        <sec id="sec-7-11-2">
          <title>9has-end.string</title>
          <p>The relationship between the concepts occurs through of properties. In Table 2 we
present the main properties of our proposed ontology.</p>
        </sec>
      </sec>
    </sec>
    <sec id="sec-8">
      <title>4.1. Ontology Integration in the Multi-agent System</title>
      <p>
        The task ontology is part of a multi-agent framework and allows queries and inferences
about tasks in a multi-agent environment. It provides knowledge to plan recognitions
and task negotiation and relocation. Figure 2 shows a view of the application of our
ontology in the multi-agent framework
        <xref ref-type="bibr" rid="ref11 ref5">(more details about the framework and the
artifact which allows agents to interact with ontologies can be found in our other papers
[Freitas et al. 2015], [Panisson et al. 2015])</xref>
        .
      </p>
      <p>The Plan Library (1) can be created by instances and restrictions of tasks modeling
in the ontology. Consider a plan called prepare-meal. In the ontology, there is a instance
of CompositeTask called prepare-meal. This instance is classified as a top-level plan in
the plan library and is decomposed with the sub-tasks instances like: prepare-breakfast,
prepare-lunch and so on. The hierarchy between the top-level plan and the sub tasks
occurs through the has-subtask property that allows differentiate between sequence or
decomposition. In Figure 3 we show a plan makes by ontology instances.</p>
      <p>
        The Plan Recognition (2) module is responsible to recognize the agent plans.
For this, we used a plan recognizer developed by Avrahami-Zilberbrand and Kaminka
[
        <xref ref-type="bibr" rid="ref1">Avrahami-Zilberbrand and Kaminka 2005</xref>
        ]. The plans are based on the structure
specified in the plan library that was generated from the ontology. In this context, ontology’s
role is to provide subsidies for the construction of plans and a set of features that help the
plan recognizer to identify what task is running, if it will fail or if the plan needs to start
a process of negotiation.
      </p>
      <p>The Negotiation (3) module performs queries in the ontology to verify two types
of information. (i) when agents need to know if a task is relocatable temporally and (ii)
when agents need to know if a task can be relocated to another member of the group. In
the first case, it is checked if the task instance belongs to the concept RelocatableTime,
if the answer is positive, the task can be relocated temporarily. In the second case, the
agent asks the ontology if one task instance has the property can-be-relocated-to. This
property relates a task instance that can be relocated to other group members who are able
to execute it. In this case, the application proceeds to relocation between the members
related to the task. The existence of this property takes into account constraints such as
tasks that can be performed only by adults, for example.</p>
    </sec>
    <sec id="sec-9">
      <title>4.2. Task Ontology Application</title>
      <p>
        According to
        <xref ref-type="bibr" rid="ref2">Bae [Bae 2014</xref>
        ], recognition and monitoring of daily activities can provide
important opportunities for applications whose focus is the care of the elderly. Moreover,
according to the author, the correct way to represent knowledge in household, including
behavioral rules systems, is through concepts and information modeled in ontologies. In
the other words, ontologies provide readable and understandable knowledge for machine
and perform an important role in knowledge representation, sharing and data
management, information retrieval, among others. Computational agent-based systems are used
to support distributed computing, dynamic information retrieval, automated discovery of
services, etc. Therefore, ontologies and agent-based systems are two different but
complementary technologies where the ontology is responsible for providing knowledge to the
system while the agents provide dynamism that the system needs [
        <xref ref-type="bibr" rid="ref8 ref9">Hadzic et al. 2009</xref>
        b].
      </p>
      <p>Our application corresponds to a family group with an elderly man living alone
called Joao. He has health problems and needs constant monitoring to perform their daily
tasks. Joao has two children called Paulo and Stefano. Paulo lives next door with his wife
Jane and their two children (Pedro 12 years old and Maria 14 years old). Stefano lives in
the same city, but about 10 kms away from Joao’s house. To help with daily tasks, Joao
has two professional carers that help him (one for the day and another at night). Joao has
a routine of activities that includes walk in the park, physiotherapy, stimulation activities
(memory games, for instance), as well as feeding and medicines at specific time. The
group’s tasks are related with the care of the elderly. Whereas the elderly needs to follow
up full-time, then, the group established a routine tasks that starts when the elderly wakes
up and extend across the rest of the day. Thus the ontology is designed to represent all
aspects of the tasks of daily living (ADL) of elderly and its relationship with the other
members of the group.</p>
      <p>Each application will require a specific instantiation, we instantiate a health care
group. In Figure 4 it is possible to see one instance of task concept and their inferences.
This instance is the same demonstrated in the plan library (Figure 3). In this example,
you can see the specialization of the Task concept, as the relationship that it has with
the concepts Person (through the property can-be-executed-by) and Location
(occursin). One of inferences refers to the type CompositeTask that occurs because the concept
CompositeTask is equivalent to a task that has sub-tasks (the explanation about why the
reasoner infers the CompositeTask concept can be visualized in Figure 4).</p>
    </sec>
    <sec id="sec-10">
      <title>5. Task Ontology Evaluation</title>
      <p>We evaluated the task ontology with the group of people that used the ontology as a
resource for the Multi-Agent application development. Our goal was to identify if the
ontology was considered suitable for their needs in the development. The subjects were:
two phd candidates, two masters candidates and one developer. The evaluation consisted
of a set of open and closed questions. The closed questions are based on the Likert
scale of five points, regarding the following points: Q1: Do you consider the concepts
represented in the ontology relevant for the collaborative multi-agent application?; Q2:
Do you consider the terminology adequate?; Q3: Do you consider that the ontology
provides subsidies for the negotiation process?; Q4: Do you consider that the ontology
representation is adequate for the plan library generation?. Table 3 presents the answers.
All participants considered it relevant and the terminology was evaluated as adequated.
Similarly, the ontology was considered efficient to provide information for negotiation
and to the plan library modelling.</p>
      <p>In the open questions, the participants could suggest changes in the task concepts
(Q5), none was suggested. The next questions (Q6 and Q7), ask about advantages and
disadvantages of using ontologies in multi-agent systems. Regarding the advantages they
mentioned: (i) possibility of knowledge reuse; (ii) applications development become
independent of the domain which may vary according to the ontology and; (iii) inferences
of new knowledge. Regarding the disadvantages they mentioned: (i) performance of the
application and (ii) the developer needs to know about ontologies.</p>
      <p>Strongly Agree
Agree
Undecided
Disagree
Strongly Disagree</p>
      <p>According to the answers, we consider our ontology adequate for the
representation of collaborative tasks in multi-agent systems. Issues regarding performance still must
be investigated.</p>
    </sec>
    <sec id="sec-11">
      <title>6. Final Remarks</title>
      <p>This paper presented a new task ontology, based on an extensive literature review of how
ontologies are being used as semantic models for task representation and reasoning. We
explained how the concepts, properties, and rules were defined in our ontology, and then
we exemplified the kind of inference processes that it allows. We have shown how the
model allows for knowledge inference about tasks that may be used in the coordination
of activities in groups of agents.</p>
      <p>The full version of our ontology consists of 34 concepts, 31 object properties, 4
date properties and 73 instances. It allows for different inferences as (i) classification
tasks into simple and composite, (ii) classification tasks that can be performed only by
adults, (iii) relocation responsible, (iv) time constraints, (v) classify people as adults or
not, among others.</p>
      <p>
        This work is part of a greater research project involving various AI techniques
such as MAS development, plan recognition, negotiation, among others. Our focus is the
representation of collaborative tasks to provide the required knowledge to other modules
developed in the project
        <xref ref-type="bibr" rid="ref11 ref5">(more details about the project can be found in our other papers
[Freitas et al. 2015], [Panisson et al. 2015])</xref>
        . The ontology was modeled with a level of
abstraction that allows it to be reused by other applications whose focus is the
representation of collaborative tasks.
      </p>
      <p>The ontology was instantiated allowing reasoning and querying. After we
evaluated the ontology by means of a questionnaire that was answered by developers that used
the ontology as a source of knowledge for their modules. As future work, we intend to
expand the instantiation of tasks to new scenarios of family care and reuse the ontology
in the development of other group applications.</p>
    </sec>
    <sec id="sec-12">
      <title>Acknowledgment</title>
      <p>Part of the results presented in this paper were obtained through research on a project titled
“Semantic and Multi-Agent Technologies for Group Interaction”, sponsored by Samsung
Eletr oˆnica da Amaz oˆnia Ltda. under the terms of Brazilian federal law No. 8.248/91.</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          <string-name>
            <surname>Avrahami-Zilberbrand</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          and
          <string-name>
            <surname>Kaminka</surname>
            ,
            <given-names>G. A.</given-names>
          </string-name>
          (
          <year>2005</year>
          ).
          <article-title>Fast and complete symbolic plan recognition</article-title>
          .
          <source>In IJCAI-05</source>
          , pages
          <fpage>653</fpage>
          -
          <lpage>658</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          <string-name>
            <surname>Bae</surname>
            ,
            <given-names>I.-H.</given-names>
          </string-name>
          (
          <year>2014</year>
          ).
          <article-title>An ontology-based approach to adl recognition in smart homes</article-title>
          .
          <source>Future Gener. Comput. Syst.</source>
          ,
          <volume>33</volume>
          :
          <fpage>32</fpage>
          -
          <lpage>41</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          <string-name>
            <surname>Bechhofer</surname>
          </string-name>
          , S., van
          <string-name>
            <surname>Harmelen</surname>
            ,
            <given-names>F.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Hendler</surname>
            ,
            <given-names>J.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Horrocks</surname>
            ,
            <given-names>I.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>McGuinness</surname>
            ,
            <given-names>D. L.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>PatelSchneider</surname>
            ,
            <given-names>P. F.</given-names>
          </string-name>
          , and
          <string-name>
            <surname>Stein</surname>
            ,
            <given-names>L. A.</given-names>
          </string-name>
          (
          <year>2004</year>
          ).
          <article-title>OWL Web Ontology Language Reference</article-title>
          .
          <source>Technical report, W3C</source>
          , http://www.w3.org/TR/owl-ref/.
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          <string-name>
            <surname>Chen</surname>
            ,
            <given-names>L.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Nugent</surname>
            ,
            <given-names>C. D.</given-names>
          </string-name>
          , and 0001,
          <string-name>
            <surname>H. W.</surname>
          </string-name>
          (
          <year>2012</year>
          ).
          <article-title>A knowledge-driven approach to activity recognition in smart homes</article-title>
          .
          <source>IEEE Trans. Knowl</source>
          . Data Eng.,
          <volume>24</volume>
          (
          <issue>6</issue>
          ):
          <fpage>961</fpage>
          -
          <lpage>974</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          <string-name>
            <surname>Freitas</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Panisson</surname>
            ,
            <given-names>A. R.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Hilgert</surname>
            ,
            <given-names>L.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Meneguzzi</surname>
            ,
            <given-names>F.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Vieira</surname>
            ,
            <given-names>R.</given-names>
          </string-name>
          , and
          <string-name>
            <surname>Bordini</surname>
            ,
            <given-names>R. H.</given-names>
          </string-name>
          (
          <year>2015</year>
          ).
          <article-title>Integrating ontologies with multi-agent systems through CArtAgO artifacts</article-title>
          .
          <source>In 2015 IEEE/WIC/ACM International Conference on Intelligent Agent Technology, IAT.</source>
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          <string-name>
            <surname>Garcia</surname>
            ,
            <given-names>K.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Kirsch-Pinheiro</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Mendoza</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          , and
          <string-name>
            <surname>Decouchant</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          (
          <year>2013</year>
          ).
          <article-title>An Ontological Model for Resource Sharing in Pervasive Environments</article-title>
          .
          <source>In Procedings of International Conference on Web Intelligence (WI) and Intelligent Agent Technology (IAT)</source>
          ,
          <source>IEEE/WIC/ACM</source>
          , pages
          <fpage>179</fpage>
          -
          <lpage>184</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          <string-name>
            <surname>Gruber</surname>
            ,
            <given-names>T. R.</given-names>
          </string-name>
          (
          <year>1993</year>
          ).
          <article-title>Toward principles for the design of ontologies used for knowledge sharing</article-title>
          . In
          <source>International Journal of Human-Computer Studies</source>
          , pages
          <fpage>907</fpage>
          -
          <lpage>928</lpage>
          . Kluwer Academic Publishers.
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          <string-name>
            <surname>Hadzic</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Wongthongtham</surname>
            ,
            <given-names>P.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Dillon</surname>
            ,
            <given-names>T.</given-names>
          </string-name>
          ,
          <article-title>and</article-title>
          <string-name>
            <surname>Chang</surname>
            ,
            <given-names>E.</given-names>
          </string-name>
          (
          <year>2009a</year>
          ).
          <article-title>Ontology-based Multi-Agent Systems</article-title>
          . Springer, Berlin Heidelberg, Germany, 1st edition.
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          <string-name>
            <surname>Hadzic</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Wongthongtham</surname>
            ,
            <given-names>P.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Dillon</surname>
            ,
            <given-names>T.</given-names>
          </string-name>
          ,
          <article-title>and</article-title>
          <string-name>
            <surname>Chang</surname>
            ,
            <given-names>E.</given-names>
          </string-name>
          (
          <year>2009b</year>
          ).
          <article-title>Significance of ontologies, agents and their integration</article-title>
          .
          <source>In Ontology-Based Multi-Agent Systems</source>
          , volume
          <volume>219</volume>
          <source>of Studies in Computational Intelligence</source>
          , pages
          <fpage>93</fpage>
          -
          <lpage>110</lpage>
          . Springer Berlin Heidelberg.
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          <string-name>
            <surname>Horrocks</surname>
            ,
            <given-names>I.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Patel-Schneider</surname>
            ,
            <given-names>P. F.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Boley</surname>
            ,
            <given-names>H.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Tabet</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Grosof</surname>
            ,
            <given-names>B.</given-names>
          </string-name>
          , and
          <string-name>
            <surname>Dean</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          (
          <year>2004</year>
          ).
          <article-title>SWRL: A Semantic Web Rule Language combining OWL and RuleML. W3c member submission</article-title>
          ,
          <source>World Wide Web Consortium.</source>
        </mixed-citation>
      </ref>
      <ref id="ref11">
        <mixed-citation>
          <string-name>
            <surname>Panisson</surname>
            ,
            <given-names>A. R.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Freitas</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Schmidt</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Hilgert</surname>
            ,
            <given-names>L.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Meneguzzi</surname>
            ,
            <given-names>F.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Vieira</surname>
            ,
            <given-names>R.</given-names>
          </string-name>
          , and
          <string-name>
            <surname>Bordini</surname>
            ,
            <given-names>R. H.</given-names>
          </string-name>
          (
          <year>2015</year>
          ).
          <article-title>Arguing about task reallocation using ontological information in multi-agent systems</article-title>
          .
          <source>In 12th International Workshop on Argumentation in Multiagent Systems (ArgMAS).</source>
        </mixed-citation>
      </ref>
      <ref id="ref12">
        <mixed-citation>
          <string-name>
            <surname>Riboni</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          and
          <string-name>
            <surname>Bettini</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          (
          <year>2011a</year>
          ).
          <article-title>Cosar: Hybrid reasoning for context-aware activity recognition</article-title>
          .
          <source>Personal Ubiquitous Comput.</source>
          ,
          <volume>15</volume>
          (
          <issue>3</issue>
          ):
          <fpage>271</fpage>
          -
          <lpage>289</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref13">
        <mixed-citation>
          <string-name>
            <surname>Riboni</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          and
          <string-name>
            <surname>Bettini</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          (
          <year>2011b</year>
          ).
          <article-title>OWL 2 modeling and reasoning with complex human activities</article-title>
          .
          <source>Pervasive Mob. Comput.</source>
          ,
          <volume>7</volume>
          (
          <issue>3</issue>
          ):
          <fpage>379</fpage>
          -
          <lpage>395</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref14">
        <mixed-citation>
          <string-name>
            <surname>Sirin</surname>
            ,
            <given-names>E.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Parsia</surname>
            ,
            <given-names>B.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Grau</surname>
            ,
            <given-names>B. C.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Kalyanpur</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          , and
          <string-name>
            <surname>Katz</surname>
            ,
            <given-names>Y.</given-names>
          </string-name>
          (
          <year>2007</year>
          ).
          <article-title>Pellet: a practical OWL-DL reasoner</article-title>
          . Web Semant.,
          <volume>5</volume>
          (
          <issue>2</issue>
          ):
          <fpage>51</fpage>
          -
          <lpage>53</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref15">
        <mixed-citation>
          <string-name>
            <surname>Smith</surname>
            ,
            <given-names>B. L.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Tamma</surname>
            ,
            <given-names>V. A. M.</given-names>
          </string-name>
          , and
          <string-name>
            <surname>Wooldridge</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          (
          <year>2011</year>
          ).
          <article-title>An ontology for coordination</article-title>
          .
          <source>Applied Artificial Intelligence</source>
          ,
          <volume>25</volume>
          (
          <issue>3</issue>
          ):
          <fpage>235</fpage>
          -
          <lpage>265</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref16">
        <mixed-citation>
          <string-name>
            <surname>Tran</surname>
            ,
            <given-names>V. X.</given-names>
          </string-name>
          and
          <string-name>
            <surname>Tsuji</surname>
            ,
            <given-names>H.</given-names>
          </string-name>
          (
          <year>2007</year>
          ).
          <article-title>OWL-T: A Task Ontology Language for Automatic Service Composition</article-title>
          .
          <source>In ICWS</source>
          , pages
          <fpage>1164</fpage>
          -
          <lpage>1167</lpage>
          . IEEE Computer Society.
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>