<!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>Compass Event, Client, and Service Ontology: A Design Pattern for Social Services</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Bart Gajderowicz</string-name>
          <email>bartg@mie.utoronto.ca</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Daniela Rosu</string-name>
          <email>drosu@mie.utoronto.ca</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Mark S. Fox</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Department of Mechanical &amp; Industrial Engineering, University of Toronto</institution>
          ,
          <addr-line>5 King's College Road, Toronto, Ontario, M5S 3G8</addr-line>
          ,
          <country country="CA">Canada</country>
        </aff>
      </contrib-group>
      <abstract>
        <p>This paper introduces the Compass ontology and proposes a design pattern aimed at supporting the formal representation of information about clients, services, and events in a social service setting. The framework captures entities required to represent the interaction between clients and services and events that track progress through changes exhibited by these stakeholders. The Compass ontology is an extension of the Common Impact Data Standard. It introduces classes and properties that allow it to answer a set of competency questions posed by subject matter experts in the area of social service provisioning. We evaluate the ontology using sample competency questions implemented in SPARQL.</p>
      </abstract>
      <kwd-group>
        <kwd>eol&gt;ontology</kwd>
        <kwd>semantics and reasoning</kwd>
        <kwd>data model</kwd>
        <kwd>decision support systems</kwd>
        <kwd>health services</kwd>
        <kwd>social services</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>1. Introduction</title>
      <p>
        As cities grow in size and complexity, it becomes increasingly difficult to identify whether
the right city services are being provided to the right citizens and at the right time. This
paper introduces the Compass ontology and its design pattern aimed at supporting a formal
representation of information about clients, services, and events in a social service setting. Our
methodology behind design decisions is application agnostic while allowing the representation
of a variety of service providers and their clients, and accommodating different levels of
information, from simple text descriptions and enumerated vocabularies to a rich representation
of concepts and their relationships. Conceptual analysis is provided in Fox et al. [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ].
      </p>
      <p>
        Organizations delivering social services are referred to as social purpose organizations (SPO)
and are made up of charities, non-profits, and other social-purpose businesses [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ]. Each
organization is responsible for provisioning a myriad of services to clients across a spectrum of
demographics and levels of need. For example, in Canada, there are over 170,000 such
organizations, while the United States has over 1.54 million. In such activity networks, complementary
stakeholders are related by a shared outcome, playing the role of a beneficiary or a contributor.
In complex societies, services are categorized along many dimensions, such as housing and
education, as well as their contributions toward shared outcomes. Clients are differentiated
across dimensions such as age, gender, and medical conditions.
      </p>
      <p>
        Recently, there have been efforts to define how to measure the impact of SPOs [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ], including
the Impact Management Project1 that defines impact across five dimensions: what, who, how
much, contributions, and risk. The Common Impact Data Standard (CIDS) extends this work
with the sixth dimension how, to capture the process by which services deliver outcomes to
stakeholders [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ]. However, the broad categories used for social service provisioning are no
longer sufficient [
        <xref ref-type="bibr" rid="ref4">4</xref>
        ]. A deeper representation of stakeholder characteristics, their needs, and
the impact services have on stakeholders is required. This paper defines such a representation
as an extension to CIDS, namely the Compass ontology2.
      </p>
      <p>
        An ontological representation of service impact has long been a topic of interest for service
providers, clients, and contributors like funding organizations. Over the years, various impact
models have been developed for this purpose, including Logic Models, Theory of Change,
Outcome Map, Outcome Chains, and Impact Map, each one having a different representation of
how to model SPO impact [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ]. Many ontological artifacts focus on the needs of clients [
        <xref ref-type="bibr" rid="ref5 ref6">5, 6</xref>
        ],
social services [
        <xref ref-type="bibr" rid="ref7 ref8">7, 8</xref>
        ], and other city-level services such as transportation and hydro [
        <xref ref-type="bibr" rid="ref9">9</xref>
        ]. In
addition, a foundational evaluation of related artifacts exists, including organizations [
        <xref ref-type="bibr" rid="ref10 ref11">10, 11</xref>
        ],
their services [
        <xref ref-type="bibr" rid="ref12 ref13">12, 13</xref>
        ], as well as abstractions like business processes [
        <xref ref-type="bibr" rid="ref14">14</xref>
        ] and activities [
        <xref ref-type="bibr" rid="ref15 ref16">15, 16</xref>
        ].
      </p>
      <p>
        The Compass ontology, presented here, extends the Common Impact Data Standard (CIDS)
[
        <xref ref-type="bibr" rid="ref17 ref2">17, 2</xref>
        ], which provides classes and properties for representing impact models. For example,
a ‘‘poverty reduction program’’ can be made up of services such as ‘‘mobile services’’ that
provide food and clothing to those experiencing homelessness or a training service that provides
employment skills. In previous work [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ], we introduced a set of competency questions and
use cases compiled by subject matter experts3 and defined the scope for the Compass ontology
presented here. Sections 2, 3, and 4 define three of the main Compass classes that extend the
CIDS ontology, namely event, client, and service. The complete need pattern referenced here is
provided in [
        <xref ref-type="bibr" rid="ref18">18</xref>
        ]. In section 5 we evaluate the extension by showing sample SPARQL queries
and results generated from a knowledge graph built using the Compass ontology4. In section 6
we conclude by evaluating the results and discussing the state of the ontology and future work.
      </p>
    </sec>
    <sec id="sec-2">
      <title>2. Event Pattern</title>
      <p>An Event describes something that occurs to a stakeholder as an ‘‘event’’ in their life,
identifying the location and time at which it occurred. It can describe the client as being the subject
of an action or a change of state. The Compass Event class extends the 5078-1:Activity class
1Impact Management Project: https://impactmanagementproject.com
2The Compass ontology was developed with, and is being used by HelpSeeker: https://helpseeker.co.
3Subject matter expert requirements and use-cases were collected by HelpSeeker: https://helpseeker.org.
4Code available at https://github.com/csse-uoft/jowo-2022.</p>
      <p>State
(enabling)</p>
      <p>Event
(previous)
enabledBy</p>
      <p>Activity
Event
subClassOf
causes
nextEvent</p>
      <p>
        State
(caused)
Event
(next)
defined in the 5078-1 ISO Standard [
        <xref ref-type="bibr" rid="ref19">19</xref>
        ]. The Activity class describes something that occurs
in the domain and changes one state to another. It identifies an ‘‘enabling state,’’ defined as
what state must be true of the ‘‘world’’ for the Activity to be performed and the ‘‘caused state,’’
defined as what must be true of the ‘‘world’’ once the Activity is completed. The Activity
class also defines properties for preconditions and post-conditions to allow for automatically
inferring a sequence of activities. The basic Compass Event class extends the activity class with
the following properties:
• hasName: a unique name/identifier for the event
• hasDescription: descriptions of the event
• occursAt: time interval during which the event occurs
• hasLocation: placename where the event occurred
• previousEvent: link to previous related event, if any
• nextEvent: link to next related event, if any
DL 1 (Compass Event Class).
      </p>
      <p>⊑ 5087-1:
⊓ =1 ℎ .:
⊓ =1 .:
⊓ =1 .</p>
    </sec>
    <sec id="sec-3">
      <title>3. Client Pattern</title>
      <p>
        ⊓ ∀ ℎ.:
⊓ =1 ℎ.72: 
⊓ =1 .
(DL-1)
The Client class represents a person who uses services and, potentially, benefits from their
outcomes. The class inherits all properties of 5087-2:Person and satisfies the needs related to
cids:Stakeholder class, categorized by the stakeholder’s characteristics, as shown in Figure 2.
A stakeholder, where Stakeholder ⊑ (Organization or Person), can be related to a number of
concepts, such as outcomes and locations, which characteristics cannot. At the same time, a
client can be characterized along multiple dimensions, such as age and gender and a specific set
of needs, such as addiction and homelessness. A specific service can be interested in a subset
of those characteristics, such as a minimum age requirement for a homeless shelter. Hence, a
client can be matched with services at the stakeholder rather than characteristic level. This
allows for more flexibility in associating clients and services with stakeholders, and in turn,
outcomes and location. Please refer to the CIDS manual for further details [
        <xref ref-type="bibr" rid="ref17">17</xref>
        ].
DL 2 (Compass Client Class).
 ⊑ 5087-2: 
⊓ ∀  ℎ.:ℎ ⊓ =1ℎ.-
⊓ ∀ ℎ:. ⊓ ∀ ℎℎ.-ℎ
⊓ ∀ ℎ.5087-2:  ⊓ ∀ ℎ.-
⊓ ∀  .--
The Client class extends the 5087-2:Person class with the following properties:
Stakeholder
rdfs:subClassOf
Contributing
Stakeholder
      </p>
      <p>Beneficiary
Stakeholder
performs</p>
      <p>I72:
located_in
i72:Feature
hasCharacteristic</p>
      <p>Characteristic
oep:
partOf ImpactModel
knowsLanguage
hasServiceEvent
hasEducationEvent
hasEmploymentEvent
hasImmigrationEvent
hasMedicalEvent
hasJusticeSystemEvent
Language</p>
      <p>Ability</p>
      <p>Service
Event</p>
      <p>Education</p>
      <p>Event</p>
      <p>Employment</p>
      <p>Event</p>
      <p>Immigration</p>
      <p>Event</p>
      <p>Medical . . . JusticeSystem
Event Event</p>
      <p>• satisfiesStakeholder: Identifies the stakeholder specifications that the client satisfies.
• hasGender: A coded property specifying the gender.
• hasEthnicity: A coded property specifying known ethnicities of the client.
• memberOfAboriginalGroup: A coded property identifying client’s aboriginal group.
• hasReligion: A coded property specifying known religions of the client.
• hasDependent: A set of Person instances, such as children or parents.</p>
      <p>• schema:knowsLanguage: LanguageAbility instances, known and proficiency.</p>
      <p>Some properties of the Client classes are ‘‘coded properties’’ where the range of values is
constrained by client taxonomy codes, instances of ClientCode, where ClientCode ⊑ cids:Code.
Such codes are subclasses of the ClientCode class. For example, the class CL-Age can have
instances of age categories, including INST-Young and INST-Adult. The subcategories for basic
demographics include Age, Ethnicity, Family status, Gender, Religion, and Sexuality.</p>
      <p>Central to the representation of information about a client are events that have occurred in
their life. These events can span medical (in and out of institutions like hospitals), educational,
housing, etc. Client events are used to derive characteristics of a client at some point in time.
For example, one or more housing events may be used to determine that a client is homeless.
Events can be viewed as records of a client’s life and viewed retrospectively to understand
their pathways. The Client class extends the definition in DL-2 with the following additional
event-related properties, as shown in Figure 3:
• hasServiceEvent: instances of ServiceEvent for a service the client has received.
• hasEducationEvent: instances of EducationEvent for education the person has received.
• hasEmploymentEvent: instances of EmploymentEvent.
• hasImmigrationEvent: instances of ImmigrationEvent, each defining stages of
immigration, if relevant.
• hasMedicalEvent: instances of MedicalEvent defining separate medical events, including
births and deaths.
• hasHousingEvent: instances of HousingEvent that track changes in housing
statusincluding homelessness.
• hasNameEvent: instances of NameEvent.
• hasGenderEvent: instances of GenderEvent.
• hasBirthEvent: instances of BirthEvent.
• hasDeathEvent: instances of DeathEvent.
• hasMaritalEvent: instances of MaritalEvent.
• hasHomelessEvent: instances of HomelessEvent.</p>
      <p>• hasJusticeSystemEvent: instances of JusticeSystemEvent.</p>
      <p>DL 3 (Compass Client Class).
 ⊑ 5087-2: 
⊓ ∀ ℎ. ⊓ ∀ ℎ . 
⊓ ∀ ℎ .  ⊓ ∀ ℎ.
⊓ ∀ ℎ .  ⊓ ∀ ℎ.
⊓ ∀ ℎℎ.ℎ ⊓ ∀ ℎℎ.ℎ
⊓ ∀ ℎ.
⊓ ∀ ℎ.
⊓ ∀ ℎ.
⊓ ∀ ℎ . 
(DL-3)
The definition for the EducationEvent class is provided below, with remaining client-related
event definitions omitted. An EducationEvent is used to describe a client’s educational or training
status and experience. It is a subclass of ClientEvent and introduces the following properties:
• hasStatus: the status of the education event, complete, inProgress or incomplete.
• atOrganization: identifies the education organization the event took place.
• hasCertification: identifies the type of certification the education event has.
• hasType: identifies the type of education, including BA, BSC, etc.</p>
      <sec id="sec-3-1">
        <title>DL 4 (Compass EducationEvent Class).</title>
        <p>⊑ 
⊓ =1 .
⊓ ∀ ℎ .-  ⊓ ∃ ℎ . 
⊓ ℎ.({} ⊔ { } ⊔ {})</p>
        <p>StakeholderEvent: The StakeholderEvent captures events performed by stakeholders. The
cids:Stakeholder class is a subclass of an Organization or 5087-2:Person and identifies a person or
organization required to answer competency questions such as: ‘‘How many users interacted
with service?’’, ‘‘How long did #6 stay in counselling?’’ and ‘‘How are people looking for help?’’.
The StakeholderEvent extends the Event class with the following property.</p>
        <p>• forStakeholder: the stakeholder related to this Event instance.</p>
      </sec>
      <sec id="sec-3-2">
        <title>DL 5 (Compass StakeholderEvent Class).</title>
        <p>ℎ ⊑  ⊓ =1  ℎ.:ℎ</p>
      </sec>
    </sec>
    <sec id="sec-4">
      <title>4. Service Patterns</title>
      <p>The service is comprised of activities that focus on a shared set of inputs, outputs, and outcomes.
It also defines a set of stakeholders that contribute to or benefit from the service. The Compass
Service class defines a service provider and inherits all properties from the cids:Service class,
which in turn is a subclass of 5087:Activity. As such, a Service can be thought of as performing
activities that cause some events to occur.
(DL-4)
(DL-5)
subClassOf CSCSototananktketrerihbihbououltdltidneinegrgr contributes</p>
      <p>A program is comprised of one or more services. For example, a ‘‘poverty reduction’’ program
can have many services, with each service consisting of different activities, such as ‘‘find
housing’’, ‘‘assess housing readiness’’, and ‘‘rent subsidy’’, and complementary inputs, outputs and
outcomes. The Compass Program class extends the cids:Program class by redefining hasService
to include the Compass Service class and adds an ic:hasAddress property. This extension allows
an organization to provide services at different locations. For example, a ‘‘health’’ service can
set up multiple offices closer to its clients.</p>
      <p>• hasService: Identifies the Services that comprise this Program.</p>
      <p>• ic:hasAddress: Identifies the address for this Program.</p>
      <sec id="sec-4-1">
        <title>DL 6 (Compass Program Class).</title>
        <p>⊑ : 
⊓ ∀ :ℎ ⊓ =1 ℎ.:
(DL-6)</p>
        <p>
          The Compass Service class is an extension of the cids:Service class. As described in [
          <xref ref-type="bibr" rid="ref18">18</xref>
          ], this
pattern differentiates between a service (e.g. counselling services) and the resources it provides
(e.g. counsellors, counseling sessions, counseling referrals), which is defined as NeedSatisfier
instances. The Service extension introduces the following properties.
        </p>
        <p>• hasRequirement: Identifies characteristics that limit who can use the service, listed in
service taxonomy code list.
• hasFocus: Identifies client characteristics that the service focuses on, listed in service
taxonomy code list.
• hasMode: The mode with which the service is delivered.</p>
        <p>• providesSatisfier: The need satisfier this service provides.</p>
      </sec>
      <sec id="sec-4-2">
        <title>DL 7 (Compass Service Class).</title>
        <p>⊑ :
⊓ ∀ ℎ.:ℎ
⊓ ℎ .({} ⊔ {ℎ} ⊔ {} ⊔ {  })
⊓ ∀ ℎ .:ℎ ⊓ ∀  .  
Similar to the Client class, some properties of the Service classes are ‘‘coded properties’’,
meaning their range of values is constrained by service taxonomy codes, instances of ServiceCode
where ServiceCode ⊑ cids:Code.</p>
        <p>ServiceEvent: A ServiceEvent is an event performed by a service that changes a client’s state
in some way. It has the following properties:
• hasStatus: Status of the service.
• atOrganization: The organization providing the service.</p>
        <p>• forReferral: The referral that led to the service event, if any.</p>
      </sec>
      <sec id="sec-4-3">
        <title>DL 8 (Compass ServiceEvent Class).</title>
        <p>⊑ 
⊓ ℎ.({ℎ} ⊔ { } ⊔ {})
⊓ =1 . ⊓ ∀   . 
(DL-7)
(DL-8)
ApplicationEvent: When clients interact with service providers through a computer
application, interaction-logging capabilities capture information related to service access. Relevant use
cases include competency questions such as: ‘‘Who are the highest systems users currently?’’
and ‘‘What are the system interactions patterns for these clients over past 3 months?’’. An
ApplicationEvent is a subclass of Event. It defines an event created by an Application instance
and captures any information relevant to that event.</p>
        <p>• hasApplication: the application this event was created in
• hasUserStakeholder: the stakeholder using the application when the event was created.
• dateCreated: timestamp when the event was created
• hasSource: the URL or unique address where this event originated
• hasMetaData: the information stored with the event
DL 9 (Compass ApplicationEvent Class).</p>
        <p>⊑ 
⊓ =1  ℎ.ℎ
⊓ =1 ℎ ℎ.ℎ
⊓ =1 ℎ.:
⊓ =1 ℎ.
⊓ =1 ℎ:.: 
⊓ ∀ ℎ .:
(DL-9)
ServiceFailureEvent: The Compass ServiceFailureEvent class represents an event triggered
when there is a barrier preventing clients from using a service they are otherwise eligible for. It
also provides a solution, if one exists. This event occurs when there is a discrepancy between the
service’s requirements and the client’s characteristics. For example, if a client is experiencing
substance abuse (INST-Addiction), and a shelter (cp:shelter-A) requires its participants to be
sober (INST-Sober), a ServiceFailureEvent is triggered. The triggered event’s properties will be:
forService = cp:shelter-A, hasCharacteristic = INST-Sober, and hasFailureType equals any service
or activity that, as its outcome, removes INST-Sober or adds INST-Addiction as the client’s
characteristics. The ServiceFailureEvent class has the following properties:
• forService: Service or Activity this failure event indicates cannot be used by a client.
• hasCharacteristic: Characteristic causing the failure, i.e. service requirements not
matching a client’s characteristics.
• hasFailureType: Service or Activity preventing the stakeholder from using the service.
• hasDescription: description of the failure type.</p>
      </sec>
      <sec id="sec-4-4">
        <title>DL 10 (Compass ServiceFailureEvent Class).</title>
        <p>⊑ 
⊓ ∀  .(  ) ⊓ =1 ℎℎ.ℎ
⊓ =1 ℎ  .(  ) ⊓ ∀ ℎ.:
(DL-10)
Clients can interact with service providers through a online software system, represented by
the Application class, a subclass of Service, extending it with the following property:
• hasSource: The URL or unique address where the application can be referenced.</p>
      </sec>
      <sec id="sec-4-5">
        <title>DL 11 (Compass Application Class).</title>
        <p>
          ⊑  ⊓ ∀ ℎ.:
4.1. Client Community Pattern
(DL-11)
A community is made up of two or more individuals that share some characteristics, such
as age, gender, or set of goals, like finding housing or sobriety. These characteristics are
represented as characteristics of the community. We also associate the characteristics of the
clients with the location they reside in, to understand the service’s catchment area.
50782:CityAdministrativeArea class is imported from the 5078-2 ISO standard [
          <xref ref-type="bibr" rid="ref9">9</xref>
          ] to capture this
functionality. Hence, a Compass Community class has the following property:
• hasCommunityCharacteristic: characteristics of the community this class represents
        </p>
      </sec>
      <sec id="sec-4-6">
        <title>DL 12 (Compass Community Class).</title>
        <p>⊑ 5087-2:
⊓ ∀ ℎℎ.ℎ
(DL-12)
CommunityCharacteristic: The CommunityCharacteristic references the identifying
characteristics that several individuals have in common that in turn makes them a community.
• hasCommunityCharacteristic: the characteristic that defines this Community
• hasNumber: the number of people in the community (not all individuals in a spatial
area, only those that fit the CommunityCharacteristic profile.</p>
      </sec>
      <sec id="sec-4-7">
        <title>DL 13 (Compass CommunityCharacteristic Class).</title>
        <p>ℎ ⊑ : ℎ
⊓ ∀ ℎℎ.:ℎ
⊓ =1 ℎ .:  
(DL-13)</p>
      </sec>
    </sec>
    <sec id="sec-5">
      <title>5. Evaluation</title>
      <p>
        In previous work [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ], we provided competency questions related to service coverage. The
current paper focuses on client and service events evaluated with SPARQL queries.
[ServiceEvent] How long did client #2 stay in counselling? This question queries cp:ServiceEvent
instances for entries related to client cp:Client2 accessing counseling services, identified by the
service taxonomy code cp:INST-Counseling. For each record found, it calculates the number of
weeks between the data properties time:hasBeginning and time:hasEnd, indicating when the
counseling services began and ended5. Weeks are summed in the weeks column of Table 1.
1 SELECT DISTINCT ? c l i e n t ? weeks WHERE {
2 BIND ( cp : C l i e n t 2 AS ? c l i e n t ) .
3 ? s e r v i c e E v e n t r d f : t y p e cp : S e r v i c e E v e n t ;
4 cp : f o r C l i e n t ? c l i e n t ;
5 time : h a s B e g i n n i n g ? beg ; time : hasEnd ? end ;
      </p>
      <p>5Date arithmetic functions for ofn: and spif: defined at https://graphdb.ontotext.com/documentation/9.10/free/
sparql-functions-reference.html.
[EducationEvent] What is our clients’ education history and status? This question queries
cp:EducationEvent instances. It identifies two clients. cp:Client400 who is currently attending
a ‘‘trade school’’, as indicated by status=cp:inProgress, after having completed ‘‘gradeschool’’
and ‘‘high school.’’ cp:Client401 has also graduated ‘‘gradeschool’’ and ‘‘high school’’, and is
scheduled to start attending ‘‘higher education’’. The results are listed in Table 2.
1 SELECT DISTINCT ? c l i e n t ? eduEvent ? s t a r t F ? endF ? s t a t u s
2 WHERE {
3 ? eduEvent r d f : t y p e cp : E d u c a t i o n E v e n t ;
4 cp : f o r C l i e n t ? c l i e n t ;
5 cp : h a s S t a t u s ? s t a t u s ;
6 time : h a s B e g i n n i n g ? s t a r t .
7 BIND ( s p i f : d a t e F o r m a t ( ? s t a r t , " d−M−Y " ) as ? s t a r t F ) .
8 OPTIONAL { ? eduEvent time : hasEnd ? end } .
9 BIND ( s p i f : d a t e F o r m a t ( ? end , " d−M−Y " ) as ? endF ) .
10 } ORDER BY ? c l i e n t ? s t a r t
[ApplicationEvent] What stakeholders access our application most frequently? This question
queries cp:ApplicationEvent instances, identifying two types of Application accessed (app) and
three types of stakeholders (sh), as listed in Table 3. appEvents sums the number of instances
by app and sh. The top event cp:App_CounselingSessions is used by the
cp:FemaleHousedYouthin_Area0 stakeholders, totalling 12 instances. This stakeholder’s characteristics are linked to
Code values identifying female youths that live in the location ‘‘Area0.’’
1 SELECT DISTINCT ? app ? sh ( count ( ? appEvent ) as ? appEvents )
2 WHERE {
3 ? appEvent r d f : t y p e cp : A p p l i c a t i o n E v e n t ;
4 cp : h a s A p p l i c a t i o n ? app ;
5 cp : h a s U s e r S t a k e h o l d e r ? sh ;
6 cp : o c c u r s A t ? o c c u r s .
7 BIND ( s p i f : d a t e F o r m a t ( ? occurs , " d−M−Y hh :mm" ) as ? o c c u r s F ) .</p>
      <p>8 } GROUP BY ? app ? sh ORDER BY ? app DESC ( ? appEvents )</p>
    </sec>
    <sec id="sec-6">
      <title>6. Discussion and Conclusion</title>
      <p>This paper introduces the Compass ontology and evaluates its ability to answer a set of
competency questions posed by various stakeholders in social services. The answers to the selected
queries were extracted from a knowledge graph based on the Compass ontology and populated
with client, service, service usage, and events data.</p>
      <p>Our evaluation demonstrates how competency questions can be answered using the Compass
ontology. Service queries identify service events aggregated to answer temporal questions
related to the length of client usage of a service category, namely counselling services. By
associating services with a specific code, like INST-Counseling, the query can aggregate over all
service instances a client used. We can also track a client’s progress and infer their latest state
by identifying the last ‘‘complete’’ client event, such as EducationEvent to infer their education
status. Finally, we can evaluate software system usage by analyzing application logs associated
with the characteristics of system users. We can then answer questions about the most frequent
usage by client categories defined by the ClientCode instances, such as age, gender, housing
status, and location. The event, client, service definitions and code taxonomies continue to be
extended to ensure ontological concepts defined by Compass are shared and compared between
organizations working towards similar or overlapping outcomes.</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          [1]
          <string-name>
            <given-names>M. S.</given-names>
            <surname>Fox</surname>
          </string-name>
          ,
          <string-name>
            <given-names>B.</given-names>
            <surname>Gajderowicz</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D.</given-names>
            <surname>Rosu</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Turner</surname>
          </string-name>
          ,
          <string-name>
            <given-names>L.</given-names>
            <surname>Lyu</surname>
          </string-name>
          ,
          <article-title>An Ontological Approach to Analysing Social Service Provisioning</article-title>
          , in: IEEE
          <source>International Smart Cities Conference (ISC2)</source>
          ,
          <year>2022</year>
          , p. In press.
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          [2]
          <string-name>
            <given-names>M. S.</given-names>
            <surname>Fox</surname>
          </string-name>
          ,
          <string-name>
            <given-names>K.</given-names>
            <surname>Ruff</surname>
          </string-name>
          ,
          <string-name>
            <surname>CIDS:</surname>
          </string-name>
          <article-title>An Ontology for Representing Social and Environmental Impact, in: Ontologies for the Behavioural</article-title>
          and
          <source>Social Sciences Workshop (OntoBESS)</source>
          ,
          <source>at 12th International Conference on Biomedical Ontologies</source>
          , volume
          <volume>3073</volume>
          , CEUR Workshop Proceedings, Bolzano, Italy,
          <year>2021</year>
          , pp.
          <fpage>162</fpage>
          --
          <lpage>173</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          [3]
          <string-name>
            <given-names>K.</given-names>
            <surname>Ruff</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Olsen</surname>
          </string-name>
          ,
          <source>The Next Frontier in Social Impact Measurement Isn't Measurement at All</source>
          , Stanford Social Innovation Review (
          <year>2016</year>
          )
          <fpage>1</fpage>
          --
          <lpage>8</lpage>
          . URL: https://ssir.org/articles/entry/ next{_}frontier{_}in{_}social{_}impact{_}measurement{#}.
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          [4]
          <string-name>
            <given-names>M. D.</given-names>
            <surname>Lytras</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Visvizi</surname>
          </string-name>
          ,
          <article-title>Who uses smart city services and what to make of it: Toward interdisciplinary smart cities research</article-title>
          ,
          <source>Sustainability (Switzerland) 10</source>
          (
          <year>2018</year>
          )
          <fpage>1</fpage>
          --
          <lpage>16</lpage>
          . doi:
          <volume>10</volume>
          .3390/su10061998.
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          [5]
          <string-name>
            <given-names>B.</given-names>
            <surname>Gajderowicz</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M. S.</given-names>
            <surname>Fox</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Grüninger</surname>
          </string-name>
          ,
          <article-title>Ontology of social service needs: Perspective of a cognitive agent</article-title>
          ,
          <source>in: Proceedings of the 2018 Joint Ontology WOrkshops</source>
          , Cognition And OntologieS +
          <string-name>
            <surname>Explainable</surname>
            <given-names>AI</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Cape</surname>
            <given-names>Town</given-names>
          </string-name>
          ,
          <year>2018</year>
          , pp.
          <fpage>1</fpage>
          --
          <lpage>12</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          [6]
          <string-name>
            <given-names>L.</given-names>
            <surname>Biccheri</surname>
          </string-name>
          ,
          <string-name>
            <given-names>R.</given-names>
            <surname>Ferrario</surname>
          </string-name>
          ,
          <article-title>An analysis of the notion of need for the representation of public services</article-title>
          ,
          <source>CEUR Workshop Proceedings</source>
          <volume>2518</volume>
          (
          <year>2019</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          [7]
          <string-name>
            <given-names>B.</given-names>
            <surname>Gajderowicz</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M. S.</given-names>
            <surname>Fox</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Grüninger</surname>
          </string-name>
          ,
          <article-title>Requirements for an ontological foundation for modelling social service chains</article-title>
          , in: Y.
          <string-name>
            <surname>Guan</surname>
          </string-name>
          , J. Liao (Eds.),
          <source>Proceedings of the 2014 Industrial and Systems</source>
          Engineering Research Conference, Montréal,
          <string-name>
            <surname>QC</surname>
          </string-name>
          ,
          <year>2014</year>
          , p.
          <fpage>4104</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          [8]
          <string-name>
            <given-names>Aunt</given-names>
            <surname>Bertha</surname>
          </string-name>
          <string-name>
            <surname>Inc</surname>
          </string-name>
          , Open Eligibility Project,
          <year>2017</year>
          . URL: http://openeligibility.org.
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          [9]
          <string-name>
            <given-names>International</given-names>
            <surname>Organization</surname>
          </string-name>
          for Standardization,
          <source>ISO/IEC CD 5087-2 Information technology - City data model - Part 2: City level concepts</source>
          ,
          <year>2022</year>
          . URL: https://www.iso.org/standard/ 80742.html.
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          [10]
          <string-name>
            <given-names>M. S.</given-names>
            <surname>Fox</surname>
          </string-name>
          ,
          <article-title>The TOVE Project Towards a Common-Sense Model of the Enterprise</article-title>
          ,
          <source>in: Industrial and Engineering Applications of Artificial Intelligence and Expert Systems</source>
          , Springer Berlin Heidelberg,
          <year>1992</year>
          , pp.
          <fpage>25</fpage>
          --
          <lpage>34</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref11">
        <mixed-citation>
          [11]
          <string-name>
            <given-names>M. S.</given-names>
            <surname>Fox</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Barbuceanu</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Grüninger</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Lin</surname>
          </string-name>
          ,
          <article-title>An Organization Ontology for Enterprise Modelling</article-title>
          , in: Modeling, International Conference on Enterprise Integration Modelling Technology, Springer,
          <year>1997</year>
          , pp.
          <fpage>1</fpage>
          --
          <lpage>25</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref12">
        <mixed-citation>
          [12]
          <string-name>
            <given-names>R. A.</given-names>
            <surname>Falbo</surname>
          </string-name>
          ,
          <string-name>
            <given-names>G. K.</given-names>
            <surname>Quirino</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J. C.</given-names>
            <surname>Nardi</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M. P.</given-names>
            <surname>Barcellos</surname>
          </string-name>
          , G. Guizzardi,
          <string-name>
            <given-names>N.</given-names>
            <surname>Guarino</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Longo</surname>
          </string-name>
          ,
          <string-name>
            <given-names>B.</given-names>
            <surname>Livieri</surname>
          </string-name>
          ,
          <article-title>An Ontology Pattern Language for service modeling</article-title>
          ,
          <source>Proceedings of the ACM Symposium on Applied Computing 04-08-Apri</source>
          (
          <year>2016</year>
          )
          <fpage>321</fpage>
          --
          <lpage>326</lpage>
          . doi:
          <volume>10</volume>
          .1145/2851613.2851840.
        </mixed-citation>
      </ref>
      <ref id="ref13">
        <mixed-citation>
          [13]
          <string-name>
            <given-names>R.</given-names>
            <surname>Schmidt</surname>
          </string-name>
          ,
          <article-title>Ontology-based Modelling of Service Processes</article-title>
          and Services,
          <source>Proceedings of the IADIS International Conference</source>
          (
          <year>2007</year>
          )
          <fpage>67</fpage>
          --
          <lpage>74</lpage>
          . URL: http://www.iadis.net/dl/ final{_}uploads/200702L009.pdf.
        </mixed-citation>
      </ref>
      <ref id="ref14">
        <mixed-citation>
          [14]
          <string-name>
            <given-names>E. M.</given-names>
            <surname>Sanfilippo</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Borgo</surname>
          </string-name>
          ,
          <string-name>
            <given-names>C.</given-names>
            <surname>Masolo</surname>
          </string-name>
          ,
          <article-title>Events and activities: Is there an Ontology behind BPMN?</article-title>
          ,
          <source>Frontiers in Artificial Intelligence and Applications</source>
          <volume>267</volume>
          (
          <year>2014</year>
          )
          <fpage>147</fpage>
          --
          <lpage>156</lpage>
          . doi:
          <volume>10</volume>
          .3233/978-1-
          <fpage>61499</fpage>
          -438-1-147.
        </mixed-citation>
      </ref>
      <ref id="ref15">
        <mixed-citation>
          [15]
          <string-name>
            <given-names>A.</given-names>
            <surname>Sathi</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M. S.</given-names>
            <surname>Fox</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Greenberg</surname>
          </string-name>
          ,
          <article-title>Representation of activity knowledge for project management</article-title>
          ,
          <source>IEEE Transactions on pattern analysis and machine intelligence</source>
          (
          <year>1985</year>
          )
          <fpage>531</fpage>
          --
          <lpage>552</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref16">
        <mixed-citation>
          [16]
          <string-name>
            <given-names>M.</given-names>
            <surname>Katsumi</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M. S.</given-names>
            <surname>Fox</surname>
          </string-name>
          , Defining Activity Specifications in OWL, in: Workshop on Ontology Patterns, Vienna, Austria,
          <year>2017</year>
          , pp.
          <fpage>1</fpage>
          --
          <lpage>12</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref17">
        <mixed-citation>
          [17]
          <string-name>
            <given-names>M. S.</given-names>
            <surname>Fox</surname>
          </string-name>
          ,
          <string-name>
            <given-names>K.</given-names>
            <surname>Ruff</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Chowdhury</surname>
          </string-name>
          ,
          <string-name>
            <given-names>B.</given-names>
            <surname>Gajderowicz</surname>
          </string-name>
          ,
          <string-name>
            <given-names>T.</given-names>
            <surname>Abdulai</surname>
          </string-name>
          ,
          <string-name>
            <surname>J. Zhang,</surname>
          </string-name>
          <article-title>The Common Impact Data Standard: An Ontology for Representing Impact</article-title>
          ,
          <source>Technical Report</source>
          , University of Toronto, Toronto, Canada,
          <year>2021</year>
          . URL: https://commonapproach.org/wp-content/ uploads/2020/12/Common-Impact-
          <article-title>Data-Standard-V1.1</article-title>
          .pdf.
        </mixed-citation>
      </ref>
      <ref id="ref18">
        <mixed-citation>
          [18]
          <string-name>
            <given-names>D.</given-names>
            <surname>Rosu</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M. S.</given-names>
            <surname>Fox</surname>
          </string-name>
          ,
          <string-name>
            <given-names>B.</given-names>
            <surname>Gajderowicz</surname>
          </string-name>
          , Compass Needs Ontology :
          <article-title>A Design Pattern for Representing Needs in Social Work, in: The Eighth Joint Ontology Workshops (JOWO'22)</article-title>
          , CEUR Workshop Proceedings, CEUR-WS.org, Jönköpin, Sweden,
          <year>2022</year>
          , p.
          <fpage>12</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref19">
        <mixed-citation>
          [19]
          <string-name>
            <surname>International</surname>
          </string-name>
          ,
          <source>ISO/IEC DIS 5087-1 Information technology - City data model - Part 1: Foundation level concepts</source>
          ,
          <year>2022</year>
          . URL: https://www.iso.org/standard/80718.html.
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>