<?xml version="1.0" encoding="UTF-8"?>
<TEI xml:space="preserve" xmlns="http://www.tei-c.org/ns/1.0" 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
xsi:schemaLocation="http://www.tei-c.org/ns/1.0 https://raw.githubusercontent.com/kermitt2/grobid/master/grobid-home/schemas/xsd/Grobid.xsd"
 xmlns:xlink="http://www.w3.org/1999/xlink">
	<teiHeader xml:lang="en">
		<fileDesc>
			<titleStmt>
				<title level="a" type="main">An Ontology for Context-Aware Pervasive Computing Environments *</title>
			</titleStmt>
			<publicationStmt>
				<publisher/>
				<availability status="unknown"><licence/></availability>
			</publicationStmt>
			<sourceDesc>
				<biblStruct>
					<analytic>
						<author>
							<persName><forename type="first">Harry</forename><surname>Chen</surname></persName>
							<email>hchen4@cs.umbc.edu</email>
							<affiliation key="aff0">
								<orgName type="department">Department of Computer Science and Electrical Engineering</orgName>
								<orgName type="institution">University of Maryland Baltimore County</orgName>
							</affiliation>
						</author>
						<author>
							<persName><forename type="first">Tim</forename><surname>Finin</surname></persName>
							<email>finin@cs.umbc.edu</email>
							<affiliation key="aff0">
								<orgName type="department">Department of Computer Science and Electrical Engineering</orgName>
								<orgName type="institution">University of Maryland Baltimore County</orgName>
							</affiliation>
						</author>
						<author>
							<persName><forename type="first">Anupam</forename><surname>Joshi</surname></persName>
							<email>joshi@cs.umbc.edu</email>
							<affiliation key="aff0">
								<orgName type="department">Department of Computer Science and Electrical Engineering</orgName>
								<orgName type="institution">University of Maryland Baltimore County</orgName>
							</affiliation>
						</author>
						<title level="a" type="main">An Ontology for Context-Aware Pervasive Computing Environments *</title>
					</analytic>
					<monogr>
						<imprint>
							<date/>
						</imprint>
					</monogr>
					<idno type="MD5">4A891EBDFF907AB30E8B4512A11640A4</idno>
				</biblStruct>
			</sourceDesc>
		</fileDesc>
		<encodingDesc>
			<appInfo>
				<application version="0.7.2" ident="GROBID" when="2023-03-24T05:07+0000">
					<desc>GROBID - A machine learning software for extracting information from scholarly documents</desc>
					<ref target="https://github.com/kermitt2/grobid"/>
				</application>
			</appInfo>
		</encodingDesc>
		<profileDesc>
			<abstract>
<div xmlns="http://www.tei-c.org/ns/1.0"><p>Ontologies are a key component for building open and dynamic distributed pervasive computing systems in which agents and devices share contextual information. We describe our use of the Web Ontology Language OWL and other tools for building the foundation ontology for the Context Broker Architecture (CoBrA), a new context-aware pervasive computing framework. The current version of the CoBrA ontology models the basic concepts of people, agents, places, and presentation events in an intelligent meeting room environment. It provides a vocabulary of terms for classes and properties suitable for building practical systems that model context in pervasive computing environments. We also describe our ongoing research in developing an OWL inference engine using Flora-2 and in extending the present CoBrA ontology to use the DAML spatial and temporal ontologies.</p></div>
			</abstract>
		</profileDesc>
	</teiHeader>
	<text xml:lang="en">
		<body>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="1">Introduction</head><p>Computing is moving toward pervasive, ubiquitous environments in which devices, software agents, and services are all expected to seamlessly integrate and cooperate in support of human objectives -anticipating needs, negotiating for service, acting on our behalf, and delivering services in an anywhere, any-time fashion <ref type="bibr" target="#b13">[Weiser, 1991;</ref><ref type="bibr">Finin et al., 2001</ref>]. An important next step for pervasive computing is the integration of intelligent agents that employing knowledge and reasoning to understand the local context and share this information in support of intelligent applications and interfaces. We are developing a new pervasive context-aware computing infrastructure called Context Broker Architecture (CoBrA) <ref type="bibr" target="#b3">[Chen, 2003]</ref>, to support ubiquitous agents, services and devices to behave intelligently in according to their situational contexts.</p><p>Ontologies are key requirements for building contextaware pervasive computing systems for the following reasons: (i) a common ontology enables knowledge sharing in an open and dynamic distributed systems, (ii) ontologies with well defined declarative semantics provide a means for intelligent agents to reason about contextual information, and (iii) explicitly represented ontologies allow devices and agents not expressly designed to work together to interoperate, achieving "serendipitous interoperability" <ref type="bibr" target="#b8">[Heflin, 2003]</ref>.</p><p>In the past, a number of distributed systems have been developed to support pervasive computing including the Intelligent Room <ref type="bibr" target="#b4">[Coen, 1998]</ref>, <ref type="bibr">Cooltown [Kindberg and Barton, 2001]</ref>, and Context Toolkit <ref type="bibr" target="#b10">[Salber et al., 1999]</ref>. These systems have made progress in various aspects of pervasive computing but are weak in supporting knowledge sharing and context reasoning. A significant source of this weakness is their lack a common ontology with explicit semantic representation <ref type="bibr" target="#b2">[Chen et al., 2001;</ref><ref type="bibr" target="#b3">Chen, 2003</ref>]. CoBrA provides better support for knowledge sharing and context reasoning using a common ontology defined using Semantic Web languages. In this paper, we describe the use of the Web Ontology Language OWL <ref type="bibr">[van Harmelen et al., 2002]</ref> and tools for building an ontology foundation in CoBrA.</p><p>In the next section, we overview CoBrA and its design rationale. In Section 5, we describe the role of the Semantic Web and the OWL language in our architecture. Section 4 describes two components that we believe to be necessary for building an ontology foundation in pervasive context-aware systems (e.g., in CoBrA). After our discussion, in Section 5, we present our initial work in building an ontology called Co-BrA Ontology for modeling context knowledge and enabling knowledge sharing -this is the first component of the ontology foundation in CoBrA. In Section 6, we describe our on-going research work which attempts to complete the second component of the CoBrA ontology foundation, an ontology inference engine for OWL. A brief discussion of related work and our future work are given in Section 7 and Section 8, respectively. In Section 9, we summarize this document.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="2">Context Broker Architecture</head><p>CoBrA is an agent based architecture for supporting contextaware computing in intelligent spaces. Intelligent spaces are physical spaces (e.g., living rooms, vehicles, corporate offices and meeting rooms) populated with intelligent systems that provide pervasive computing services to users <ref type="bibr">[Kagal et al., 2001]</ref>. By context, we mean an understanding of a location, its environmental attributes (e.g., noise level, light intensity, temperature and motion) and the people, devices, objects and software agents it contains.</p><p>Figure <ref type="figure">1</ref>: An intelligent context broker acquires context information from devices, agents and sensors in its environment and fuses it into a coherent model, which is then shared with the devices and their agents.</p><p>Central to our architecture is the presence of an intelligent context broker (or broker for short) that maintains and manages a shared model of contexts on the behalf of a community of agents (i.e., applications running on the mobile devices that a user carries or wears, services that are provided by devices in a room, and web services that provide web presences for people, places and things in the physical world <ref type="bibr">[Kindberg and Barton, 2001]</ref>). In our system, a broker assumes the responsibility to (i) acquire contexts from heterogeneous information sources and maintain the consistency of the overall context knowledge through reasoning, (ii) help distributed agents to share context knowledge through the use of ontologies, agent communication languages and protocols, and (iii) protect the privacy of users by establishing and enforcing user defined policies while sharing sensitive personal information with agents in the community. Figure <ref type="figure">1</ref> shows a high-level design of the broker and its relationship with agents in an intelligent space.</p><p>In a large-scale intelligent space (e.g., a campus or a building), multiple brokers can form a broker federation. Individual broker in a federation is responsible for managing parts of the intelligent space (e.g., a room in a particular building). In a federation, brokers are related to each other in some organizational structure (e.g., peer-to-peer or hierarchical), and they can periodically exchange and synchronize context knowledge.</p><p>Our centralized broker design addresses two important issues that are key to realizing the potential of ubiquitous computing: supporting resource-limited mobile computing devices <ref type="bibr" target="#b6">[Dertouzos, 2001;</ref><ref type="bibr" target="#b4">Coen, 1998;</ref><ref type="bibr" target="#b1">Chen and Kotz, 2000]</ref> and addressing the concerns for user privacy and security <ref type="bibr" target="#b0">[Ackerman et al., 2001;</ref><ref type="bibr" target="#b0">Bellotti and Sellen, 1993]</ref>. With the introduction of a context broker that operates on a stationary computer, the burdens of acquiring and reasoning over context information will be shifted away from resource-limited mobile devices to agents running on resource-rich servers; the complications inherent in establishing, monitoring and enforcing security, trust, and privacy polices will be simplified in the presence of a centralized manager. Although the existence of context broker could bring about the above advantages, its centralized design could create a "bottle neck" in a distributed system, hindering the overall system performance. In our preliminary research work, we have not addressed this problem. However, according to <ref type="bibr" target="#b9">Kumar and Cohen [Kumar et al., 2000]</ref>, this "bottle neck" issue could be resolved through fault-tolerance by introducing a persistent broker team.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3">Rationales for Exploring Semantic Web</head><p>The responsibility of a context broker is to acquire, maintain and share a coherent and consistent model of the local context. Our approach to doing this is a knowledge-based one built on a declarative ontology of basic concepts for objects and relations in a pervasive environment. The ontology is further defined by axioms that provide additional constraints and meaning as well as rules and heuristics that can derive additional useful information. Somewhat surprisingly, we found that the languages developed for the Semantic Web are also well suited for our purpose. Key design requirements are common to the web and pervasive computing. Both are very open system with a high degree of dynamism in which independent and autonomous agents publish content and also search for information of interest.</p><p>Semantic Web is a vision of the next generation World Wide Web <ref type="bibr" target="#b1">[Berners-Lee et al., 2001]</ref>. Research efforts in the Semantic Web are driven by the need for a new knowledge representation framework to cope with the explosion of unstructured digital information on the existing Web. The present Semantic Web research focuses on the development of ontology languages and tools for constructing digital information that can be "understood" by computers <ref type="bibr" target="#b1">[Berners-Lee et al., 2001]</ref>.</p><p>In the past few years, ontology language developments in the Semantic Web have converged to a new W3C standard called OWL. The OWL language shares the same root as its predecessor DAML+OIL <ref type="bibr">[Connolly et al., 2001</ref>] (e.g., using RDF as the modeling language to define ontological vocabularies and using XML as the surface syntax for representing information <ref type="bibr">[van Harmelen et al., 2002]</ref>).</p><p>We have chosen the OWL language to model context ontologies for two reasons. First, it is much more expressive than RDF or RDF-S allowing us to build more knowledge into the ontology. Second, we chose to use OWL over DAML+OIL because OWL has been designed as a standard and has the backing of a well known and regarded standards organization.</p><p>Additionally, from a system design point of view, using OWL to define context ontologies underpins two important functions of a context broker. First, it provides a means for the broker to share context knowledge with agents in an associated intelligent space. Second, it provides an ontology model which can help the broker to reason about contexts and detect knowledge inconsistency.</p><p>Knowledge sharing in pervasive context-aware systems re-quires all agents to share a common ontology<ref type="foot" target="#foot_0">1</ref> . Using the OWL language, ontology concepts are defined independent from any agent implementations, and their semantics are captured using standard knowledge representation vocabularies. Taking this approach, independently developed agents can share context knowledge with the broker without pre-defined agreements on how they should interoperate. Context reasoning is a key function of the broker. Context reasoning involves deducing context knowledge from acquired situational information and detecting inconsistency in the knowledge base. To reason about contexts, the broker can exploit ontology reasoning using logic inference engines (e.g., the DAMLJessKB [Kopena and Regli, ], TRIPLE <ref type="bibr" target="#b10">[Sintek and Decker, 2002]</ref>, <ref type="bibr">FaCT [Horrocks et al., 1999]</ref>, RACER <ref type="bibr" target="#b11">[Volker Haarslev, 2001]</ref> and Bubo <ref type="bibr" target="#b12">[Volz et al., 2003]</ref>).</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="4">CoBrA Semantic Web Ontology Foundation</head><p>An ontology-driven design methodology is one way to build a distributed intelligent system (e.g., CoBrA) that can reason about contexts and can help agents to share knowledge. Using an explicit representation of the ontology, context knowledge can be reasoned over to derive additional information <ref type="bibr" target="#b2">[Chen and Tolia, 2001]</ref>, and this knowledge can also be easily share by distributed agents using standard communication languages and protocols (e.g., FIPA-ACL, KQML, and SOAP/XML-RPC). This approach requires a suitable ontological foundation on which CoBrA specific components can be built. We believe the followings are two necessary components in this foundation:</p><p>1. Context Ontology: The ontology provides a set of terms for describing context knowledge (i.e., explicit statements that describe contexts in the environment). The ontology should be developed in a language with appropriate expressive power and a well defined semantics. This ontology allows distributed agents to share a common understanding of the information that they exchange and to reason about additional information that is beyond what is already known. 2. Ontology Inference Engine: an ontology inference engine is a logic system that reasons over the semantic model of an ontology. To reason about our context ontologies in OWL, for example, an ontology inference engine should provide a set of rules for interpreting the semantic model of OWL <ref type="bibr" target="#b10">[Patel-Schneider et al., 2003]</ref> and detecting inconsistency in the knowledge base.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="5">A Walkthrough of the CoBrA Ontology</head><p>This section describes key ontology concepts in the current version of the CoBrA ontology (v0.2)<ref type="foot" target="#foot_1">2</ref> . This ontology defines a set of vocabularies for describing people, agents, places and presentation events for supporting an intelligent meeting room system on a university campus. It also defines a set of properties and relationships that are associated with these basic concepts.</p><p>Figure <ref type="figure" target="#fig_0">2</ref> shows a complete list of the names of the classes and properties in the CoBrA ontology. Version v0.2 includes 41 classes (i.e., RDF resources that are type of owl:class) and 36 properties (i.e., RDF resources that are type of either owl:ObjectProperty or owl:DatatypeProperty).</p><p>Our ontology is categorized into four distinctive but related themes: (i) concepts that define physical places and their associated special relationships (e.g., containment relationship, social and organizational properties)<ref type="foot" target="#foot_2">3</ref> , (ii) concepts that define agents (i.e., both human agents and software agents) and their associated attributes, (iii) concepts that describe the location contexts of an agent on a university campus, and (iv) concepts that describe the activity contexts of an agent, including the roles of speakers and audiences and their associated desires and intentions in a presentation event. In the rest of this section, we will discuss each of these four themes.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="5.1">Concepts Related To Places</head><p>The notion of a place in CoBrA is restricted to a set of physical locations that are typically found on a university campus. These locations include campus, building, room, hallway, stairway, restroom, and parking lot. These physical locations are all assumed have well defined spatial boundaries (e.g., all locations can be uniquely identified by geographical coordinates -longitude and latitude). In addition, all locations on a university campus have identifiable string names that are assigned to them by some official bodies (e.g., by the university administration).</p><p>When modeling physical locations, we define a class called Place which generalizes all type of locations on a campus. This abstract class defines a set of properties that are common to all concrete physical location classes, which consists of longitude, latitude and hasPrettyName.</p><p>Place classes (including subclasses) have associated containment relationships.</p><p>These relationships are defined by two related object properties<ref type="foot" target="#foot_3">4</ref> called spatially-Subsumes and isSpatiallySubsumedBy. The former describes the subject of this property spatially subsumes the object of this property (e.g., a building spatially subsumes a room in the building), and the latter describes the subject of this property is spatially subsumed by the object of this property (e.g., a room in the building is spatially subsumed by the building). In the context of the OWL language, these two properties are defined as an inverse property of each other.</p><p>Note that in the current version of the ontology, the domain and the range of both spatiallySubsumes and is-SpatiallySubsumedBy properties are of the class type Place. In other word, these two properties cannot be used to make statements about the containment of a person or an agent in a physical place. However, in Section 5.2, we will describe alternative constructs for expressing this type of statements. In addition to containment relationships, physical places may be also associated with events and activities (e.g., a meeting may be taken place in a room, or an annual festive may be taken place on a university campus). To make statements about a place that is associated with some event, we introduce an object property called hasEvent, which has domain Place and range Event. Instances of Event can be associated with time intervals. We define Event-HappeningNow, a subclass of Event, to represent a set of all events that are currently happening (details of this class is discussed in Section 5.4). To make statements about a place that is associated with some event that is currently happening now, we define an object property called hasEvent-HappeningNow.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>AtomicPlace</head><p>Some of the concrete physical locations that we have mentioned (i.e., campus, building, room, hallway, stairway, etc.) usually do not contain (spatially subsume) other physical locations. For example, hallways, stairways and rooms in a building are not usually considered to be a type of physical place that contains other places.</p><p>For this reason, we introduce an abstract class called AtomicPlace to represent the set of physical places that do not contain other physical places. This class inherits all properties from its superclass Place. However, it restricts the range of the properties spatially-Subsumes and isSpatiallySubsumedBy. In the AtomicPlace class, the cardinality of the property spatiallySubsumes is 0, indicating all instances of this class do not contain any other physical places. The range of the property isSpatiallySubsumedBy is restricted to the class CompoundPlace, which is a subclass of Place. The CompoundPlace class represents all physical places that may contain other physical places. Figure <ref type="figure" target="#fig_1">3</ref> shows partial representation of these classes in OWL/XML syntax. Some subclasses of the AtomicPlace class include Room, Hallway, Stairway, Restroom, LadiesRoom, MensRoom and ParkingLot.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>CompoundPlace</head><p>While the AtomicPlace class is introduced to represent a set of places that contains zero number of Place instances, the CompoundPlace class is defined to represent a set of places that contains at least one or more numbers of Place instances. This class is also a subclass of Place. Being a subclass of the Place class, Compound-Place inherits all properties from its parent class. In order to express all instances of the CompoundPlace class should only be spatially subsumed by instances of other CompoundPlace, the range of this class's property is-SpatiallySubsumedBy is restricted to have class type CompoundPlace. This restriction excludes all instances of the CompoundPlace class to be spatially subsumed by instances of the AtomicPlace.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="5.2">Concepts Related To Agents</head><p>The notion of an agent in CoBrA represents both humans agents and software agents. Human agents are simply users in an intelligent space. Software agents, on the other hand, All agents have associated properties that describe their contact information, which includes uniquely identifiable names, URLs to their home pages, and email addresses. In addition, agents are assumed to have certain roles in different events and activities (e.g., a person can have the speaker role in a presentation event, and device agents in the close vicinity may take on the presentation assistant role during the presentation session). Different roles may give rise to different desires and intentions of an agent.</p><p>In the CoBrA ontology, the notions of desire and intention are both associated with actions<ref type="foot" target="#foot_4">5</ref> . Specifically, the notion of desire is defined as an agent's desire for some action to be achieved by some other agents (e.g., a person with the speaker role may desire some service agents to dim the lights when his presentation starts), and the notion of intention is defined as an agent's commitment to perform some particular action (e.g., a person with the audience role may intend to download a copy of the slides after attending a presentation event).</p><p>To model ontologies for agents, we introduce a general class called Agent, which is a set of all human agents and computational agents. We define the class Person to represent human agents and the class SoftwareAgent to represent computational agents (both of which are subclasses of the Agent class and disjoints with each other). All agents in our ontology are associated with properties that describe their contact information. To generalize properties that serve as descriptions of contact information, we define an object property called hasContactInformation. From this property, we further define sub-properties of contact information, which consist of hasFullName, hasEmail, hasHome-Page and hasAgentAddress.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Role</head><p>In our ontology, the class Role represents a set of all roles that are presently associated with an agent. In other words, it is an abstract class that generalizes all possible types of agent roles. In v0.2 of the ontology, pre-defined subclasses of Role are SpeakerRole and AudienceRole.</p><p>To associate roles with an agent, the object properties fillsRole and isFilledBy are defined. These two properties are inverse property of each other -fillsRole has domain Agent and range Role, and isFilledBy has domain Role and range Agent. </p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Intentional Actions</head><p>All actions in CoBrA are defined as instances of the class IntentionalAction. Informally, intentional actions are actions that an agent performs intentionally and with certain goals in mind. In our design, we assume domain applications will extend this class to define specialized subclasses and instances. To support the construction of intelligent meeting room system, we have pre-defined a set of concrete instances of IntentionalAction that are common in presentation events (see Figure <ref type="figure" target="#fig_2">4</ref>).</p><p>All instances of the IntentionalAction class (or its subclasses) can be associated with either an instance of the Role class or the Agent class through object properties intendsToPerform or desiresSomeoneTo-Achieve. The domain of these two properties are union of the class Role and Agent (see Figure <ref type="figure" target="#fig_2">4</ref>).</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="5.3">Concepts Related to Agent's Location Context</head><p>By location context, we mean a collection of dynamic knowledge that describes the location of an agent, which is a collection of RDF statements that describes the location property of an agent. The location property of an agent is captured through the object property locatedIn. It has range Place and domain owl:Thing, indicating anything (including agents) may be located in some physical place.</p><p>Physical locations, as discussed in the previous section, are categorized into two distinctive classes: AtomicPlace (e.g., hallways and rooms) and CompoundPlace (e.g., campus and building). Following the semantics of these two classes, we can make the following reasoning: no agent can locate in two different atomic places at the same time, but an agent can be in two different compound places at the same time just in case one spatially subsumes the other. This reasoning is important for detecting inconsistent knowledge about the current location of an agent.</p><p>To capture the notion an agent can be located in an atomic and a compound place, from the locatedIn property we define two sub-properties called locatedInAtomic-Place and locatedInCompoundPlace. The former restricts its range to the AtomicPlace class, and the latter restricts its range to the CompoundPlace class. From these two properties, we define additional properties that further restricts the type of physical place an agent can be located in. For example, locatedInRoom, located-InRestroom and locatedInParkingLot are subproperties of locatedInAtomicPlace; locatedIn-Campus and locatedInBuiding are sub-properties of locatedInCompoundPlace.</p><p>For agents that are located in different places, we can categorize them in according to their location properties. For example, we define PersonInBuilding to represent a set of all people who are located in a building, and Software-AgentInBuilding to represent a set of software agents who are located in a building, respectively. The complement of these classes are PersonNotInBuilding and SoftwareAgentNotInBuilding.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="5.4">Concepts Related to Agent's Activity Context</head><p>The activity context of an agent, similar to the location context, is a collection of dynamic knowledge about certain aspects of an agent's situational condition. While location context describes the location in which the agent is situated, activity context describes activities in which the agent participates. In our ontology, the notion of an activity is restricted to represent a set of all typical group activity events in a meeting room (meeting, presentation and discussion) <ref type="foot" target="#foot_5">6</ref> .</p><p>Activity events are assumed have schedules. For presentation events, we define PresentationSchedule class to represent their schedules. Presentation schedules are defined to have startTime, endTime and location properties, and each of which respectively represents the start time of a presentation, the end time of a presentation and the location of a presentation event. Each presentation event has one or more invited speaker and expected audience. These two concepts are defined using the invitedSpeaker and expected-Audience properties. In addition to start time, end time and location, the schedule of a presentation usually includes a title and an abstract of the presentations. To model these, we introduce presentationTitle and presentation-Abstract properties.</p><p>The activity context of an agent is usually associated with activity events that are currently happening. For example, the activity context of a speaker includes the presentation event at which he/she is giving the presentation. To model this, we introduce the PresentationEventHappeningNow class. This class is a subclass of the EventHappeningNow class which models an event with the time predicate "now".</p><p>For a given presentation that is currently happening, we can specialize the type of rooms at which the event takes place. For example, a room that has an on-going presentation event is defined as RoomHasPresentationEvent-HappeningNow, which is a subclass of Room and restricts the range of its hasEventHappeningNow property to the class PresentationSchedule. To describe people have speaker and audience roles in an on-going event, we define the SpeakerOfPresentationHappeningNow class and the AudienceOfPresentationHappening-Now class.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="6">An OWL Inference Engine in Flora-2</head><p>In the last section, we have described the CoBrA ontology, which forms the first component in the ontology foundation in our system. In order for a context broker to reason about contexts, an inference engine for reasoning over OWL ontologies is required.</p><p>At the present, inference engines that can reason over the complete semantic model of the OWL language is still under development (in Section 5 we have mentioned a few of these emerging inference engines). As a part of our research, we are developing an OWL inference engine called F-OWL using the Flora-2 system in XSB. Flora-2 is a system that translates a unified language of F-logic, HiLog, and Transaction Logic into the XSB deductive engine <ref type="bibr">[Yang and Kifer, 2002]</ref>. Flora-2 has a language syntax that is similar to <ref type="bibr">TRIPLE [Sintek and Decker, 2002]</ref> and also allows ontology semantics to be defined using rules.</p><p>F-OWL is a rule-driven logic inference engine. Its implementation consists of four distinctive but related sets of rules: (i) rules that define the semantic model of the RDFS ontology language, (ii) rules that define the semantic model of the OWL ontology language, (iii) rules that draw inferences over the semantic model of RDFS, and (iv) rules that draw inferences over the semantic model of OWL. Inputs to F-OWL are collections of the N-Triple representation of some domain ontologies (e.g., context knowledge that are described using the CoBrA Ontology), and outputs from F-OWL are ontological knowledge that can be proved by the logic inferences that are defined in (iii) and (iv). To access the output ontological knowledge, Flora-2 queries can be used.</p><p>F-OWL is still in its early stage of the development. The latest version (v0.3)<ref type="foot" target="#foot_6">7</ref> of F-OWL support a full RDF-S inferences and partial OWL inferences (limited to the OWL-Lite sub-language constructs and some OWL Full constructs). We expect to complete a full inference of the OWL language in F-OWL by late June 2003.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="7">Related Work</head><p>Our work is closely related to other pervasive and contextaware computing research such as Intelligent Room <ref type="bibr" target="#b4">[Coen, 1998</ref><ref type="bibr">], Context Toolkit [Salber et al., 1999]</ref> and Cooltown <ref type="bibr">[Kindberg and Barton, 2001]</ref>, One.World <ref type="bibr" target="#b7">[Grimm et al., 2000]</ref> and <ref type="bibr">Centaurus [Kagal et al., 2001]</ref>. In comparison to the previous systems, our novel design of the context broker attempts to address challenging issues such as developing explicit ontology representations of contexts, supporting context reasoning and maintenance through logic inferences and providing user privacy protection using policies (also see discussions in Section 5).</p><p>In the previous systems, user location contexts are widely used for guiding the the decision making process of contextaware applications <ref type="bibr" target="#b10">[Salber et al., 1999;</ref><ref type="bibr" target="#b4">Coen, 1998;</ref><ref type="bibr">Kagal et al., 2001]</ref>. However, none of them have taken advantage of the semantics of spatial relations in reasoning about contexts (i.e., information that describes the whole physical space that surrounds a particular location and its relationship to other locations).</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="8">Future Work</head><p>Modeling space and time are important in CoBrA. We currently have a simple model of space and spatial relationships (see Section 5.1) and an implicit representation of time and temporal relationships (see Section 5.4). In the next version of the CoBrA ontology, we plan on using, if possible, or at least mapping to, if feasible, one of the consensus ontologies for space and time.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="8.1">Adopting Spatial Ontology</head><p>At present, there are two distinctive versions of spatial ontologies namely the spatial ontology in <ref type="bibr">SUO [Niles and Pease, 2001]</ref> and the upper Cyc ontology <ref type="bibr" target="#b5">[Cyc, 1997]</ref>. Recent discussions on the daml-spatial mailing list have initiated the work to develop a Semantic Web version of the spatial ontology based these ontologies<ref type="foot" target="#foot_7">8</ref> . The new spatial ontology will cover representations for dimension, shape, length, area, volume, latitude, longitude, elevation, political subdivisions, and topological relations (e.g., Relation Connection Calculus <ref type="bibr" target="#b10">[Randell et al., 1992]</ref>). As a short term objective, we plan to investigate the applications of Relation Connection Calculus in context reasoning (e.g., detecting inconsistency knowledge about a person locating in two places that are disconnected from each other).</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="8.2">Adopting Temporal Ontology</head><p>In addition to the spatial ontology, the DAML community is also developing temporal ontology for expressing temporal aspects of the contents of web resources and for expressing time-related properties of web services <ref type="bibr" target="#b9">[Hobbs, 2002]</ref>. In this ontology, interval algebra is used to define temporal relationship axioms <ref type="bibr">(after, before, inside, time-between, properinterval, etc.)</ref> and representations for clock and calendar units (i.e., year, month, day of week, etc.).</p><p>In a short term, we plan to investigate the use of interval algebra for reasoning over the temporal relationships between different context events. For example, the relation between the at-time(e,t) predicate and the during(e,T) predicate can be used determine if a person is attending a meeting at a given time interval <ref type="foot" target="#foot_8">9</ref> . In an intelligent meeting room, RFID sensors periodically reports the presence of a person and describe this information using the at-time predicate -e.g., at 12:57 PM, they report at-time(locatedIn(harry,room201), clock time("12:57PM")) and at 1:33 PM, they report at-time(locatedIn(harry,room201), clock time("1:33PM")).</p><p>From this knowledge, using the interval algebra, the context broker can conclude during(locatedIn(harry, room201), time interval("1:00PM-1:30PM")).</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="9">Conclusion</head><p>Ontologies are key requirements for building context-aware pervasive computing systems. In this paper, we have described the use of the OWL language and other tools for building an ontology foundation in CoBrA, a new pervasive context-aware architecture. With an explicit representation of context ontologies, CoBrA will allow independently developed devices and agents to interoperate and to help them to share and reason about contexts. As a part of our long term research plan, we are prototyping an intelligent context broker. Our goal is to create and deploy a pervasive context-aware meeting room in the newly constructed Information Technology and Engineering Building on the UMBC main campus<ref type="foot" target="#foot_9">10</ref> .</p></div><figure xmlns="http://www.tei-c.org/ns/1.0" xml:id="fig_0"><head>Figure 2 :</head><label>2</label><figDesc>Figure 2: A complete list of the names of the classes and properties in the CoBrA ontology (v0.2).</figDesc><graphic coords="4,108.00,53.99,395.97,277.81" type="bitmap" /></figure>
<figure xmlns="http://www.tei-c.org/ns/1.0" xml:id="fig_1"><head>Figure 3 :</head><label>3</label><figDesc>Figure 3: A partial definition of the AtomicPlace and CompoundPlace classes in OWL/XML syntax</figDesc><graphic coords="5,67.50,54.01,215.95,129.03" type="bitmap" /></figure>
<figure xmlns="http://www.tei-c.org/ns/1.0" xml:id="fig_2"><head>Figure 4 :</head><label>4</label><figDesc>Figure 4: This is a partial definition of the concepts related to roles, intentions and desires in an intelligent meeting room system.</figDesc><graphic coords="5,328.50,144.14,215.97,148.97" type="bitmap" /></figure>
			<note xmlns="http://www.tei-c.org/ns/1.0" place="foot" n="1" xml:id="foot_0">This sharing might, in practice, be achieved with the help of ontology translation agents.</note>
			<note xmlns="http://www.tei-c.org/ns/1.0" place="foot" n="2" xml:id="foot_1">A complete version of the ontology is available at http:// daml.umbc.edu/ontologies/cobra/0.2/cobra-ont in the OWL/XML syntax.</note>
			<note xmlns="http://www.tei-c.org/ns/1.0" place="foot" n="3" xml:id="foot_2">In v0.2, only containment relationship is defined, additional properties will be included in the next version of the ontology.</note>
			<note xmlns="http://www.tei-c.org/ns/1.0" place="foot" n="4" xml:id="foot_3">This refers to the owl:ObjectProperty property</note>
			<note xmlns="http://www.tei-c.org/ns/1.0" place="foot" n="5" xml:id="foot_4">the semantic of an action is not formal defined in the current version of the ontology. In v0.2, all instances of actions are assumed to be atomic action.</note>
			<note xmlns="http://www.tei-c.org/ns/1.0" place="foot" n="6" xml:id="foot_5">In v0.2 of the ontology, we have only included concepts related to presentation events. In the future version, we will extend the ontology to includes other activity events</note>
			<note xmlns="http://www.tei-c.org/ns/1.0" place="foot" n="7" xml:id="foot_6">http://umbc.edu/˜hchen4/fowl</note>
			<note xmlns="http://www.tei-c.org/ns/1.0" place="foot" n="8" xml:id="foot_7">http://www.daml.org/listarchive/ daml-spatial/</note>
			<note xmlns="http://www.tei-c.org/ns/1.0" place="foot" n="9" xml:id="foot_8">In this example, lower case e represents an event instance, lower case t represents a time instance and upper case T represents a time interval.</note>
			<note xmlns="http://www.tei-c.org/ns/1.0" place="foot" n="10" xml:id="foot_9">ITE building construction live feed: http://www.cs. umbc.edu/ITE/ITE.html</note>
		</body>
		<back>

			<div type="funding">
<div xmlns="http://www.tei-c.org/ns/1.0"><p>* This work was partially supported by DARPA contract F30602-97-1-0215, NSF award 9875433, NSF award 0209001, and Hewlett Packard.</p></div>
			</div>

			<div type="references">

				<listBibl>

<biblStruct xml:id="b0">
	<analytic>
		<title level="a" type="main">Privacy in context. Special Issue on Context-Aware Computing</title>
		<author>
			<persName><surname>Ackerman</surname></persName>
		</author>
	</analytic>
	<monogr>
		<title level="m">Proceedings of the Third European Conference on Computer Supported Cooperative Work (EC-SCW&apos;93)</title>
				<meeting>the Third European Conference on Computer Supported Cooperative Work (EC-SCW&apos;93)</meeting>
		<imprint>
			<publisher>Kluwer</publisher>
			<date type="published" when="1993">2001. -4. 2001. 1993. 1993</date>
			<biblScope unit="volume">16</biblScope>
			<biblScope unit="page" from="77" to="92" />
		</imprint>
	</monogr>
	<note>Design for privacy in ubiquitous computing environments</note>
</biblStruct>

<biblStruct xml:id="b1">
	<analytic>
		<title level="a" type="main">The semantic web</title>
		<author>
			<persName><surname>Berners-Lee</surname></persName>
		</author>
		<idno>TR2000-381</idno>
	</analytic>
	<monogr>
		<title level="m">A survey of context-aware mobile computing research</title>
				<editor>
			<persName><forename type="first">Harry</forename><surname>Chen</surname></persName>
		</editor>
		<editor>
			<persName><forename type="first">Sovrin</forename><surname>Tolia</surname></persName>
		</editor>
		<meeting><address><addrLine>Hanover, NH</addrLine></address></meeting>
		<imprint>
			<publisher>and Tolia</publisher>
			<date type="published" when="2000-11">2001. 2001. 2000. nov 2000. 2001. 2001</date>
		</imprint>
		<respStmt>
			<orgName>Dartmouth College, Computer Science ; Hewlett Packard Labs</orgName>
		</respStmt>
	</monogr>
	<note type="report_type">Technical report</note>
	<note>Steps towards creating a context-aware agent system</note>
</biblStruct>

<biblStruct xml:id="b2">
	<analytic>
		<title level="a" type="main">Creating context-aware software agents</title>
		<author>
			<persName><forename type="first">Chen</forename></persName>
		</author>
	</analytic>
	<monogr>
		<title level="m">Proceedings of the First GSFC/JPL Workshop on Radical Agent Concepts</title>
				<meeting>the First GSFC/JPL Workshop on Radical Agent Concepts</meeting>
		<imprint>
			<date type="published" when="2001">2001. 2001</date>
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b3">
	<monogr>
		<title level="m" type="main">An intelligent broker architecture for context-aware systems</title>
		<author>
			<persName><forename type="first">Chen</forename><forename type="middle">;</forename></persName>
		</author>
		<author>
			<persName><forename type="first">Harry</forename><surname>Chen</surname></persName>
		</author>
		<ptr target="http://users.ebiquity.org/˜hchen4/phd/hcthsisp.pdf" />
		<imprint>
			<date type="published" when="2003">2003. 2003</date>
		</imprint>
	</monogr>
	<note type="report_type">PhD. dissertation proposal</note>
</biblStruct>

<biblStruct xml:id="b4">
	<analytic>
		<title level="a" type="main">Design principles for intelligent environments</title>
		<author>
			<persName><forename type="first">Michael</forename><forename type="middle">H</forename><surname>Coen</surname></persName>
		</author>
		<author>
			<persName><surname>Coen</surname></persName>
		</author>
	</analytic>
	<monogr>
		<title level="m">AAAI/IAAI</title>
				<editor>
			<persName><forename type="first">Dan</forename><surname>Connolly</surname></persName>
		</editor>
		<editor>
			<persName><forename type="first">Frank</forename><surname>Van Harmelen</surname></persName>
		</editor>
		<editor>
			<persName><forename type="first">Ian</forename><surname>Horrocks</surname></persName>
		</editor>
		<editor>
			<persName><forename type="first">Deb</forename><surname>Mcguinness</surname></persName>
		</editor>
		<editor>
			<persName><forename type="first">Peter</forename><forename type="middle">F</forename><surname>Patel-Schneider</surname></persName>
		</editor>
		<editor>
			<persName><forename type="first">Lynn</forename><forename type="middle">Andrea</forename><surname>Stein</surname></persName>
		</editor>
		<imprint>
			<date type="published" when="1998">1998. 1998. 2001. March 2001. 2001</date>
			<biblScope unit="page" from="547" to="554" />
		</imprint>
	</monogr>
	<note>DAML+OIL. Reference Description</note>
</biblStruct>

<biblStruct xml:id="b5">
	<monogr>
		<author>
			<persName><surname>Cyc</surname></persName>
		</author>
		<ptr target="http://www.cyc.com/cyc-2-1/cover.htm" />
		<title level="m">Cyccorp Inc. The Upper Cyc Ontology</title>
				<imprint>
			<date type="published" when="1997">1997. 1997</date>
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b6">
	<analytic>
		<title level="a" type="main">nformation agents for mobile and embedded devices</title>
		<author>
			<persName><forename type="first">Michael</forename><surname>Dertouzos</surname></persName>
		</author>
		<author>
			<persName><surname>Dertouzos ; Finin</surname></persName>
		</author>
	</analytic>
	<monogr>
		<title level="m">Fifth International Workshop Cooperative Information Agents</title>
				<imprint>
			<publisher>HarperCollins Publishers</publisher>
			<date type="published" when="2001">2001. 2001. 2001. 2001</date>
		</imprint>
	</monogr>
	<note>The Unfinished Revolution</note>
</biblStruct>

<biblStruct xml:id="b7">
	<analytic>
		<title level="a" type="main">A system architecture for pervasive computing</title>
		<author>
			<persName><surname>Grimm</surname></persName>
		</author>
	</analytic>
	<monogr>
		<title level="m">Proceedings of the 9th ACM SIGOPS European Workshop</title>
				<meeting>the 9th ACM SIGOPS European Workshop</meeting>
		<imprint>
			<date type="published" when="2000">2000. 2000</date>
			<biblScope unit="page" from="177" to="182" />
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b8">
	<monogr>
		<title level="m" type="main">Web ontology language (owl) use cases and requirements</title>
		<author>
			<persName><forename type="first">Jeff</forename><surname>Heflin</surname></persName>
		</author>
		<author>
			<persName><surname>Heflin</surname></persName>
		</author>
		<imprint>
			<date type="published" when="2003">2003. 2003</date>
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b9">
	<analytic>
		<title level="a" type="main">The adaptive agent architecture: Achieving fault-tolerance using persistent broker teams</title>
		<author>
			<persName><forename type="first">Jerry</forename><forename type="middle">R</forename><surname>Hobbs</surname></persName>
		</author>
		<author>
			<persName><surname>Hobbs</surname></persName>
		</author>
		<author>
			<persName><surname>Horrocks</surname></persName>
		</author>
		<ptr target="mcs.drexel.edu/assemblies/software/damljesskb/articles/DAMLJessKB-%2002.pdf" />
	</analytic>
	<monogr>
		<title level="m">Proceedings of the 6th International Conference on Logic for Programming and Automated Reasoning (LPAR&apos;99)</title>
		<title level="s">Lecture Notes in Artificial Intelligence</title>
		<editor>
			<persName><forename type="first">Ian</forename><surname>Niles</surname></persName>
		</editor>
		<editor>
			<persName><forename type="first">Adam</forename><surname>Pease</surname></persName>
		</editor>
		<meeting>the 6th International Conference on Logic for Programming and Automated Reasoning (LPAR&apos;99)<address><addrLine>Amsterdam, Netherlands</addrLine></address></meeting>
		<imprint>
			<publisher>Niles and Pease</publisher>
			<date type="published" when="1705">2002. 2002. 1999. 1705. 1999. 2001. 2001. 2001. 1999. 2001. 2000. 2000. 2001. 2001</date>
			<biblScope unit="volume">35</biblScope>
			<biblScope unit="page" from="159" to="166" />
		</imprint>
	</monogr>
	<note>Proceedings of the 2nd International Conference on Formal Ontology in Information Systems (FOIS-2001)</note>
</biblStruct>

<biblStruct xml:id="b10">
	<analytic>
		<title level="a" type="main">The context toolkit: Aiding the development of context-enabled applications</title>
		<author>
			<persName><surname>Patel-Schneider</surname></persName>
		</author>
		<ptr target="http://www.w3.org/TR/owl-ref/" />
	</analytic>
	<monogr>
		<title level="m">3rd International Conference on Knowledge Representation and Reasoning</title>
				<editor>
			<persName><forename type="first">Jim</forename><surname>Frank Van Harmelen</surname></persName>
		</editor>
		<editor>
			<persName><forename type="first">Ian</forename><surname>Hendler</surname></persName>
		</editor>
		<editor>
			<persName><forename type="first">Deborah</forename><forename type="middle">L</forename><surname>Horrocks</surname></persName>
		</editor>
		<editor>
			<persName><forename type="first">Peter</forename><forename type="middle">F</forename><surname>Mcguinness</surname></persName>
		</editor>
		<editor>
			<persName><forename type="first">Lynn</forename><forename type="middle">Andrea</forename><surname>Patel-Schneider</surname></persName>
		</editor>
		<editor>
			<persName><surname>Stein</surname></persName>
		</editor>
		<imprint>
			<date type="published" when="1992">2003. 2003. 1992. 1992. 1999. 1999. 2002. 2002. 2003. 2003. 2002. 2002</date>
			<biblScope unit="page" from="434" to="441" />
		</imprint>
	</monogr>
	<note>Owl web ontology language reference</note>
</biblStruct>

<biblStruct xml:id="b11">
	<analytic>
		<title level="a" type="main">Description of the racer system and its applications</title>
		<author>
			<persName><forename type="first">;</forename><surname>Volker Haarslev</surname></persName>
		</author>
		<author>
			<persName><forename type="first">Mller</forename><surname>Ralf</surname></persName>
		</author>
		<author>
			<persName><forename type="first">Haarslev</forename><surname>Volker</surname></persName>
		</author>
	</analytic>
	<monogr>
		<title level="m">Proceedubgs International Workshop on Description Logics</title>
				<meeting>eedubgs International Workshop on Description Logics</meeting>
		<imprint>
			<date type="published" when="2001">2001. 2001. 2001</date>
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b12">
	<monogr>
		<title level="m" type="main">Bubo -implementing owl in rule-based systems</title>
		<author>
			<persName><surname>Volz</surname></persName>
		</author>
		<imprint>
			<date type="published" when="2003">2003. 2003</date>
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b13">
	<analytic>
		<title level="a" type="main">The computer for the 21st century</title>
		<author>
			<persName><forename type="first">Marc</forename><surname>Weiser</surname></persName>
		</author>
		<author>
			<persName><surname>Weiser</surname></persName>
		</author>
	</analytic>
	<monogr>
		<title level="m">Flora-2: User&apos;s Manual</title>
				<editor>
			<persName><forename type="first">Guizhen</forename><surname>Yang</surname></persName>
		</editor>
		<editor>
			<persName><forename type="first">Michael</forename><surname>Kifer</surname></persName>
		</editor>
		<imprint>
			<date type="published" when="1991">1991. 1991. 2002. 2002</date>
			<biblScope unit="volume">265</biblScope>
			<biblScope unit="page" from="94" to="104" />
		</imprint>
		<respStmt>
			<orgName>Department of Computer Science, Stony Brook University, Stony Brook</orgName>
		</respStmt>
	</monogr>
</biblStruct>

				</listBibl>
			</div>
		</back>
	</text>
</TEI>
