<!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 Design Pattern for Activity Reasoning</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Amin Abdalla</string-name>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Yingjie Hu</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>David Carral</string-name>
          <xref ref-type="aff" rid="aff2">2</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Naicong Li</string-name>
          <xref ref-type="aff" rid="aff3">3</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Krzysztof Janowicz</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Department of Geography, University of California Santa Barbara</institution>
          ,
          <country country="US">USA</country>
        </aff>
        <aff id="aff1">
          <label>1</label>
          <institution>Institute for Geoinformatics,Vienna University of Technology</institution>
          ,
          <country country="AT">Austria</country>
        </aff>
        <aff id="aff2">
          <label>2</label>
          <institution>Kno.e.sis Center, Wright State University</institution>
          ,
          <country country="US">USA</country>
        </aff>
        <aff id="aff3">
          <label>3</label>
          <institution>University of Redlands</institution>
          ,
          <country country="US">USA</country>
        </aff>
      </contrib-group>
      <abstract>
        <p>Activity is an important concept in many fields, and a number of activity-related ontologies have been developed. While suitable for their designated use cases, these ontologies cannot be easily generalized to other applications. This paper aims at providing a generic ontology design pattern to model the common core of activities in different domains. Such a pattern can be used as a building block to construct more specific activity ontologies.</p>
      </abstract>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>1 Introduction</title>
      <p>
        Activity is an important research topic in many fields, such as artificial intelligence,
human geography, transportation research, psychology, and human-computer interaction.
As a result, there are a number of conceptual models that attempt to capture the
semantics of activities. Existing activity ontologies (e.g.,[
        <xref ref-type="bibr" rid="ref5">5</xref>
        ] and [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ]), however, are often
designed for specific use cases and cannot be easily generalized to applications in other
domains. This makes reuse difficult and raises the question whether there is a common,
domain-independent core.
      </p>
      <p>
        Two main perspectives on activity modeling can be identified from the literature: a
spatiotemporal-centric and a workflow-centric perspective. The first one treats activities
as a set of temporally-ordered entities in space and time. This perspective has often
been found in the literature on time geography [
        <xref ref-type="bibr" rid="ref8">8</xref>
        ], which attempts to capture human
activities in the form of spatiotemporal constraints. This perspective has been translated
into software systems capable of computing and analyzing spatial and temporal activity
properties. However, this perspective does not consider the logical relations between
activities, such as dependency or component relations.
      </p>
      <p>
        The second perspective treats activities as a workflow. This view is often found
in planning-related applications, in which preconditions and effects of activities are
important. Representative examples include the Planning Domain Definition Language
(PDDL), or the Process Specification Language (PSL-core) [
        <xref ref-type="bibr" rid="ref7">7</xref>
        ]. Some patterns (e.g.,
Action ODP, Planning ODP, and Event ODP) accessible via the ODP portal5, as well as
the TOVE (Toronto Virtual Enterprise) ontology [
        <xref ref-type="bibr" rid="ref5">5</xref>
        ], also share this workflow-centric
perspective, with an emphasis on activities that consume or occupy limited resources.
      </p>
      <p>
        This work aims at developing a more generic ontology design pattern (ODP) that
incorporates parts of both perspectives. Such a generic ODP can be employed as a
building block or strategy for designing more specific activity ontologies. While the
PROV ontology6 also models activities and the associated entities, it focuses on
recording the changes of entities and the representation of provenance information. Given the
5 http://ontologydesignpatterns.org
6 http://www.w3.org/TR/prov-o/
fast development of ubiquitous sensor networks and the Internet of Things, more data
about human activities are becoming available. These rich amount of data enable new
applications, such as activity-based personal information management [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ] and human
trajectory modeling [
        <xref ref-type="bibr" rid="ref9">9</xref>
        ]. Thus, a generic activity ODP can help semantically annotate
human activity data, thereby facilitating information retrieval as well as automatic
reasoning.
      </p>
      <p>
        Deriving an ontology design pattern requires a generic use case which can capture
the recurring problems in different application domains [
        <xref ref-type="bibr" rid="ref6">6</xref>
        ]. Competency questions have
been recognized as a good approach to detect and generalize the modeling requirements
from multiple domains. They are queries that a domain expert would be expected to run
against a knowledge base. For the proposed activity ODP, such competency questions
include:
– Question 1: "What are the requirements (or outcomes) of an activity?"
– Question 2: "What is the place (or deadline) of an activity?"
– Question 3: "What activities need to be completed first in order to start this activity?"
– Question 4: "What are the other activities which can be started after this activity?"
– Question 5: "What are the activities supported by this place?"
– Question 6: "What activities happen before (or in parallel, or after) this activity?"
2
      </p>
    </sec>
    <sec id="sec-2">
      <title>Pattern Description and Formalization</title>
      <p>
        This section presents the activity pattern by discussing the more interesting classes,
properties, and axioms. Description Logics (DL) notation has been used to present
the axioms. To encode the pattern, we use the logic fragment DLP9 as defined in
[
        <xref ref-type="bibr" rid="ref2">2</xref>
        ], which allows for polynomial time reasoning. The proposed activity ODP has
also been formally encoded using the Web Ontology Language (OWL). It is available
at http://descartes-core.org/ontologies/activities/1.0/Activi
tyPattern.owl . A schematic view of the pattern is shown in Figure 1 .
      </p>
      <p>Activity: In accordance with PSL, our pattern allows activities to potentially
consist of several component activities (which can yet again be associated with further
component activities). In this way, aggregation over a set of activities into higher level
activities is possible. We make use of the properties hasPart and isPartOf to formally
denote this relation. These two roles, which are inverse roles with respect to each other,
are declared both transitive and reflexive. Also, the Activity class is declared as disjoint
with the classes of Requirement and Outcome.
(1)
(2)
(3)
(4)
We make use of the following axioms to enforce these characteristics 7
hasPart ⌘ isPartOf
hasPart hasPart v hasPart</p>
      <p>&gt; v 9 hasPart.Self</p>
      <p>Requirements and Outcomes: Dependency relations are important to model
multiple activities. To capture these relations, we make use of Requirements and
Outcomes, i.e., the required inputs and resulting outputs of any given activity. In some
cases, the outcome of one activity might be a requirement of another. If this is the case,
we say the former activity precedes the latter, assuming that an outcome is only
produced after an activity was finished. Thus precedes does depict a logical relation that
requires temporal precedence. We define the properties precedes and isPrecededBy
as inverse roles, and declare them as transitive and irreflexive.</p>
      <p>hasOutcome isRequirement v precedes</p>
      <p>Agent: The class of foaf:Agent from the FOAF ontology8 has been employed
to represent an actor or an autonomous agent whose behavior is intentional. The
foaf:Agent class can also be substituted by its sub classes, such as foaf:Group or
foaf:Person, and therefore allows ontology engineers to further specify what type of
participant is involved in the activity. The hasParticipant property depicts the
involvement of an foaf:Agent in an activity.</p>
      <p>Spatiotemporal Relations: The spatiotemporal information associated to activities
is captured through the following properties.</p>
      <p>– takesPlaceAt. This property indicates the place where an activity takes place. It
can be used as a hook to align to other ODPs, e.g., the POI pattern.
– hasStart. This property indicates the time an activity starts.
– hasEnd. This property indicates the time an activity ends.
– hasDuration. This property indicates the time period that an activity lasts. The
value of duration should be equal to the difference between the start and end time
of an activity.</p>
      <p>It is worth to note that the above spatiotemporal properties can be used to
represent not only past activities (i.e., activities that have already happened) but also future
activities (i.e., activities scheduled in the future).</p>
      <p>
        The proposed activity ODP also distinguish two types of activities, namely Fixed
Activity and Flexible Activity, as defined in the time geography literature [
        <xref ref-type="bibr" rid="ref4 ref8">8,4</xref>
        ]. These
two types of activities can often be found in our daily life. Fixed activities refer to the
activities that must be completed at a particular point in space and time (e.g., attending
a meeting at the conference room at 3:30 pm). Flexible activities are activities which
can be completed at a time and space range. For example, buying grocery after work
is a flexible activity since it can be completed at any time after work and in different
7 The full axiomatization is not presented here due to lack of space. However, a complete OWL
version is available online at Descartes-Core.
8 http://xmlns.com/foaf/0.1/
stores. We define the following axioms to formally encode and automatically classify
these two types of activities.
(5)
(6)
(7)
(8)
(9)
(10)
      </p>
    </sec>
    <sec id="sec-3">
      <title>Conclusions</title>
      <p>This paper proposed a generic ODP to capture the common core of activities in
different domains. Specifically, it incorporates two perspectives towards activity modeling,
namely the spatiotemporal perspective and the workflow perspective, which can often
be found in existing work. Such a pattern can be used as a building block to design more
domain specific ontologies.</p>
    </sec>
    <sec id="sec-4">
      <title>Acknowledgement</title>
      <p>This work is supported by the NSF under award 1017255 and "La Caixa" Foundation.</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          1.
          <string-name>
            <surname>Abdalla</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Weiser</surname>
            ,
            <given-names>P.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Frank</surname>
            ,
            <given-names>A.U.</given-names>
          </string-name>
          :
          <article-title>Design principles for spatio-temporally enabled pim tools: A qualitative analysis of trip planning</article-title>
          .
          <source>In: Geographic Information Science at the Heart of Europe</source>
          , pp.
          <fpage>323</fpage>
          -
          <lpage>336</lpage>
          . Springer (
          <year>2013</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          2.
          <string-name>
            <surname>Carral</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Scheider</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Janowicz</surname>
            ,
            <given-names>K.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Vardeman</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Krisnadhi</surname>
            ,
            <given-names>A.A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Hitzler</surname>
            ,
            <given-names>P.:</given-names>
          </string-name>
          <article-title>An ontology design pattern for cartographic map scaling</article-title>
          .
          <source>In: The Semantic Web: Semantics and Big Data</source>
          , pp.
          <fpage>76</fpage>
          -
          <lpage>93</lpage>
          . Springer (
          <year>2013</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          3.
          <string-name>
            <surname>Catarci</surname>
            ,
            <given-names>T.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Habegger</surname>
            ,
            <given-names>B.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Poggi</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Dix</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Ioannidis</surname>
            ,
            <given-names>Y.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Katifori</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Lepouras</surname>
            ,
            <given-names>G.</given-names>
          </string-name>
          :
          <article-title>Intelligent user task oriented systems</article-title>
          .
          <source>In: Proceedings of the Second SIGIR Workshop on Personal Information Management (PIM)</source>
          (
          <year>2006</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          4.
          <string-name>
            <surname>Chen</surname>
            ,
            <given-names>X.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Kwan</surname>
            ,
            <given-names>M.P.</given-names>
          </string-name>
          :
          <article-title>Choice set formation with multiple flexible activities under space-time constraints</article-title>
          .
          <source>International Journal of Geographical Information Science</source>
          <volume>26</volume>
          (
          <issue>5</issue>
          ),
          <fpage>941</fpage>
          -
          <lpage>961</lpage>
          (
          <year>2012</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          5.
          <string-name>
            <surname>Fox</surname>
            ,
            <given-names>M.S.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Chionglo</surname>
            ,
            <given-names>J.F.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Fadel</surname>
            ,
            <given-names>F.G.</given-names>
          </string-name>
          :
          <article-title>A common-sense model of the enterprise</article-title>
          .
          <source>In: Proceedings of the 2nd Industrial Engineering Research Conference</source>
          . vol.
          <volume>1</volume>
          , pp.
          <fpage>425</fpage>
          -
          <lpage>429</lpage>
          (
          <year>1993</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          6.
          <string-name>
            <surname>Gangemi</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          :
          <article-title>Ontology design patterns for semantic web content</article-title>
          .
          <source>In: The Semantic WebISWC</source>
          <year>2005</year>
          , pp.
          <fpage>262</fpage>
          -
          <lpage>276</lpage>
          . Springer (
          <year>2005</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          7.
          <string-name>
            <surname>Gruninger</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Menzel</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          :
          <article-title>The process specification language (psl) theory and applications</article-title>
          .
          <source>AI</source>
          magazine
          <volume>24</volume>
          (
          <issue>3</issue>
          ),
          <volume>63</volume>
          (
          <year>2003</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          8.
          <string-name>
            <surname>Hägerstraand</surname>
            ,
            <given-names>T.</given-names>
          </string-name>
          :
          <article-title>What about people in regional science? Papers in regional science 24(1</article-title>
          ),
          <fpage>7</fpage>
          -
          <lpage>24</lpage>
          (
          <year>1970</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          9.
          <string-name>
            <surname>Hu</surname>
            ,
            <given-names>Y.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Janowicz</surname>
            ,
            <given-names>K.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Carral</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Scheider</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Kuhn</surname>
            ,
            <given-names>W.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Berg-Cross</surname>
            ,
            <given-names>G.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Hitzler</surname>
            ,
            <given-names>P.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Dean</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Kolas</surname>
            ,
            <given-names>D.:</given-names>
          </string-name>
          <article-title>A geo-ontology design pattern for semantic trajectories</article-title>
          .
          <source>In: Spatial Information Theory</source>
          , pp.
          <fpage>438</fpage>
          -
          <lpage>456</lpage>
          . Springer (
          <year>2013</year>
          )
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>