<!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>Enabling Contextualized Ontology Modeling with a Collaborative Multi-View System</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Elton Soares</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Raphael Thiago</string-name>
          <email>raphaeltg@br.ibm.com</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Leonardo Azevedo</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Sandro Fiorini</string-name>
          <email>sandro.fiorinig@ibm.com</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Marcio Moreno</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>IBM Research</institution>
          ,
          <addr-line>Brazil, Pasteur Ave, 146, Rio de Janeiro - RJ</addr-line>
          ,
          <country country="BR">Brazil</country>
        </aff>
      </contrib-group>
      <abstract>
        <p>Ontology modeling is an essential task for developing symbolic AI in which domain experts or knowledge engineers de ne taxonomies of concepts and semantic relationships to represent a particular domain's knowledge. The e ective integration of symbolic knowledge with non-symbolic content enables richer knowledge representation and reasoning, and more explainable and e cient training of machine learning models used across multiple AI applications. This demo's main goal is to present how the Knowledge Explorer System (KES) multiview architecture enables contextualized ontology modeling over a hybrid knowledge representation by making it easier to create and visualize taxonomies and relationships de ned in a speci c context. KES ontology modeling view supports e cient modeling of contextualized ontologies while its structural view supports their exploration, curation, and integration with non-symbolic content.</p>
      </abstract>
      <kwd-group>
        <kwd>Hyperknowledge</kwd>
        <kwd>Hybrid Knowledge Representation</kwd>
        <kwd>Knowledge Management</kwd>
        <kwd>Knowledge Visualization</kwd>
        <kwd>Knowledge Curation</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>-</title>
      <p>Ontologies have been at the center of many AI projects in recent years. As AI
solutions' scale and pervasiveness grow, expressivity and algorithmic e ciency
are still very relevant problems for knowledge bases. One important avenue for
improvement is the e ective representation of contextual knowledge.</p>
      <p>It has become evident that current ontology modeling approaches, such as
those based on W3C Semantic Web Standards2 (WSWS), cannot address the
fact that a large part of the domain knowledge represented through ontologies
can only be assumed to hold under speci c contexts [6]. These contexts can be
related to, for example, time, space, political and cultural dimensions.</p>
      <p>While RDF datasets provide some support for contextualization, their
interpretation is ambiguous3. Also, there is no standard way to de ne explicit
subgraph relationships in RDF datasets.</p>
      <p>Copyright c 2020 for this paper by its authors. Use permitted under Creative
Commons License Attribution 4.0 International (CC BY 4.0).
2 https://www.w3.org/standards/semanticweb
3 https://www.w3.org/TR/rdf11-datasets</p>
      <p>As the WSWS does not explicitly prescribe an approach to model
ontologies considering the contextual aspects of knowledge, this information is often
embedded into ontology identi ers, entity labels, or annotations properties [6].</p>
      <p>So, an explicit ontology modeling approach considering context is a signi cant
issue, as the lack of widely adopted standards can cause inconsistencies in the
modeling approaches utilized by di erent organizations or between modelers
from the same organization. Besides, the explicit representation of contexts can
enable more e cient reasoning and query processing [1] by allowing the reduction
of the scope of a query or inference to a speci c context.</p>
      <p>The hybrid knowledge representation used by KES, namely Hyperknowledge
(HK), addresses this problem. Besides, it supports integrating high-level concepts
represented within the ontologies with corresponding non-symbolic content (i.e.,
multimodal content such as machine learning (ML) models, images, videos, text,
audio, etc.) [3]. HK bridges the semantic gap [7] between what a non-symbolic
content means and its symbolic conceptual representation by providing rst-class
constructs that can be used to describe relationships between these two type of
entities. HK relationships are speci ed by binding concepts and n-dimensional
fragments of non-symbolic content [4]. It also provides constructs that enable
the explicit contextualization of rich relationships between ontological terms and
non-symbolic content [3].</p>
      <p>Using KES structural and ontology views, users can collaboratively model
a richer representation of the domain knowledge, which would not be possible
with solutions based on purely symbolic knowledge representations.
2</p>
      <p>Collaborative Multi-View System
KES is the rst graphical system to enable the creation, exploration, and
curation of HK speci cations and the ingestion of multimodal, contextualized
knowledge graphs generated using the HK representation or another WSWS
compatible representation, in the HKBase4 [2]. Its main focus is to assist end-users
on understanding and managing HK speci cations and its exible architecture
allows di erent visualizations of the same speci cation [3].</p>
      <p>In Figure 1, we depict an overview of KES architecture and highlight the
main internal components of its backend, that serves multiple frontend clients
running within the user's web browsers. We also highlight the frontend
components organized into two main categories: Core services and Tools. Figure 1
highlights two of these tools (marked with eyes ): the Renderer, which presents
the Hyperknolwedge speci cation as a graph and is mainly associated with the
structural view; and the Concept Hierarchy tool, which enables users to
visualize the same speci cation as a taxonomy of concepts.</p>
      <p>
        KES Backend's main functionality is provided by six internal components.
(
        <xref ref-type="bibr" rid="ref1">1</xref>
        ) Model Service provides an API to query and store the hybrid models in the
4 HKBase is a middleware responsible to provide persistent storage of the HK graph.
      </p>
      <p>Model Service
Arrangement Persistence Service</p>
      <p>HKBase Observer</p>
      <p>Router Controller</p>
      <p>Synchronization Controller</p>
      <p>APP ID Authentication Controller
KES Backend</p>
      <p>tsseueqR iiitftcsoaonN
KES Frontend
View Model
Client Browser</p>
      <p>Core Model
• Real-time synchronization
• Collaborative authoring
• Incremental model updates</p>
      <p>
        KES
Users
HKBase (Hyperknowledge Base) using one of its storage options5. Model
Service uses a data source (HKDatasource) implementation from hklib6, the o cial
HK library for Javascript, to connect to HKBase and propagates change
notications using an Observer pattern implementation provided by the ninja-util 7
library. (
        <xref ref-type="bibr" rid="ref2">2</xref>
        ) Arrangement Persistence Service stores the visual arrangement
of entities in a 2D plane and also uses the HKDatasource to connect to HKBase
and persist entities' positions in a specialized repository. (
        <xref ref-type="bibr" rid="ref3">3</xref>
        ) HKBase Observer
registers the server as an Observer of HKBase events using either a REST or
a Message Broker noti cation mechanism. (
        <xref ref-type="bibr" rid="ref4">4</xref>
        ) Router Controller provides a
proxy to HKBase endpoints for the frontend, and removes the need of exposing
HKBase externally just for using KES while also allowing for an additional layer
of authentication and encryption. (
        <xref ref-type="bibr" rid="ref5">5</xref>
        ) Synchronization Controller listens to
all clients event noti cations, and broadcasts them to all other clients using
WebSockets message protocol8. (
        <xref ref-type="bibr" rid="ref6">6</xref>
        ) APP ID Authentication Controller. provides
user authentication via IBM Cloud APP ID9, which supports multiple
authentication options such as Single Sign-on (SSO) and SAML 2.0. The use of this
component is optional and can be con gured during deployment.
5 HKBase currently allows using MongoDB, JanusGraph, and Apache Jena for storing
symbolic content and any AWS S3 compatible object store for non-symbolic content.
6 https://github.com/ibm-hyperknowledge/hklib
7 https://github.com/ibm-hyperknowledge/ninja-util
8 https://tools.ietf.org/html/rfc6455
9 https://www.ibm.com/cloud/app-id
      </p>
      <p>
        KES Frontend's Core services implement functionalities that are reused by
multiple Tools. The main services are: (
        <xref ref-type="bibr" rid="ref1">1</xref>
        ) Graph Service: Provides an API
to manage the HK models' local copy and synchronize them with HKBase.
It uses a progressive loading strategy to optimize the navigation of large HK
graphs; (
        <xref ref-type="bibr" rid="ref2">2</xref>
        ) Arrangement Service: Implements an automatic 2D arrangement
algorithm for HK entities and provides an API to manage and notify position
updates; (
        <xref ref-type="bibr" rid="ref3">3</xref>
        ) Filter Service: Enables ltering entities by IDs/IRIs using regex
patterns; (
        <xref ref-type="bibr" rid="ref4">4</xref>
        ) Selection Service: Manages the users' selection state and
noties its changes. (
        <xref ref-type="bibr" rid="ref5">5</xref>
        ) Session Service: Handles the communication with KES
Backend, notifying updates made in the local model to the server, and handles
changes done by other clients broadcasted by the server.
      </p>
      <p>
        The frontend Tools typically are associated with one of KES's multiple views
of the HK speci cation. For example, KES's structural view has the main
objective of enabling manipulation, inspection, and querying of HK speci cations
viewed as a graph. These three core features are supported by the Renderer,
Inspector, and Query tools, respectively. Meanwhile, the ontology modeling
view focuses on enabling the user to visualize ontologies expressed within an
HK speci cation in a more compact form, while also providing shortcuts for the
creation of concept taxonomy, instances and links in multiple contexts. These
features are mainly supported by ve tools. (
        <xref ref-type="bibr" rid="ref1">1</xref>
        ) Context Hierarchy component
enables editing and navigating the context hierarchy. (
        <xref ref-type="bibr" rid="ref2">2</xref>
        ) Concept Hierarchy
component allows visualizing the concept taxonomy speci ed within a context.
This component supports adding concept children and siblings using a predicate
chosen by the user among the con gured ones. Predicates are represented as HK
connectors. The user might, for example, choose to consider a speci c connector
such as \subclass of" or \subconcept of" to generate the taxonomy (i.e., the
connector used to identify the elements that form the hierarchy) visualization
at one moment and then choose to visualize the taxonomy based on another
connector such as \subproperty of" to visualize the property taxonomy instead.
This tool also allows selecting multiple connectors at the same time for
computing the taxonomy tree. (
        <xref ref-type="bibr" rid="ref3">3</xref>
        ) Concept Instances component enables creating and
visualizing instances of a concept, also using con gurable connectors, similarly to
the Concept Hierarchy tool. (
        <xref ref-type="bibr" rid="ref4">4</xref>
        ) Concept Links component enables visualizing
and editing the links of the currently selected entity. Links visualization can be
grouped by the entity role in the link or by the connector class (e.g., hierarchy,
fact, causal, reasoning, etc.). (
        <xref ref-type="bibr" rid="ref5">5</xref>
        ) Concept Properties component supports the
editing of the HK properties of an entity.
      </p>
      <p>In future versions of this system, we intend to support other HK speci cation
views, such as temporal, spatial, and textual views, which implementation will
bene t from this multi-view architecture. As for technologies used in the
implementation, we used NodeJS 10 combined with HTML5 and CSS3. We have also
developed a custom mechanism to modularize the HTML les related to each
tool and use SASS 11 to modularize the CSS styles.
10 https://nodejs.org/en/
11 https://sass-lang.com/
This demo's main goal is to show how KES supports the contextualized modeling
of ontologies while also enabling the integration of symbolic concepts represented
through the ontologies with non-symbolic content. For this purpose, we de ned
a dataset containing tra c simulation images extracted from a visual perception
benchmark [5] and an ontology that includes concepts de ned in di erent Smart
City contexts (e.g., Smart Government, Smart Mobility, Smart Economy). The
objective is to show how KES can support the explicit modeling of ontologies
over multiple contexts and their integration with non-symbolic content in the
Smart City domain. The demo shows the systems's collaborative capabilities by
illustrating di erent users having a synchronized view of the ontology, while also
being able to explore it individually by navigating on the taxonomies of concepts
and properties. The images will be exploited to demonstrate KES's capability to
enrich the ontology with non-symbolic content by linking image fragments with
symbolic concepts. The use of an ontology is to illustrate the support of
contextualized ontology modeling. Finally, queries using KES will demonstrate its
capability to answer contextual queries over the modeled ontology and associated
non-symbolic content.</p>
      <p>Demo video 1: Collaborative modeling of an ontology with multiple contexts.
https://ibm.box.com/v/iswc2020-kes-demo2-video1
Demo video 2: Enrichment of the ontology with non-symbolic content using
the structural view combined with the Concept Hierarchy tool.
https://ibm.box.com/v/iswc2020-kes-demo2-video2
Demo video 3: Adding instances of related concepts in multiple contexts and
querying the concepts using contexts to reduce the query scope.
https://ibm.box.com/v/iswc2020-kes-demo2-video3</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          1.
          <string-name>
            <surname>Joseph</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Sera</surname>
            <given-names>ni</given-names>
          </string-name>
          , L.:
          <article-title>Simple reasoning for contextualized rdf knowledge</article-title>
          .
          <source>In: WoMO</source>
          (
          <year>2011</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          2.
          <string-name>
            <surname>Moreno</surname>
            ,
            <given-names>M.F.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Santos</surname>
            ,
            <given-names>R.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Santos</surname>
            ,
            <given-names>W.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Brandao</surname>
            ,
            <given-names>R.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Carrion</surname>
            ,
            <given-names>P.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Cerqueira</surname>
          </string-name>
          , R.:
          <article-title>Handling hyperknowledge representations through an interactive visual approach</article-title>
          .
          <source>In: IEEE International Conference on Information Reuse and Integration (IRI)</source>
          (
          <year>2018</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          3.
          <string-name>
            <surname>Moreno</surname>
            ,
            <given-names>M.F.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Santos</surname>
          </string-name>
          , R.C.,
          <string-name>
            <surname>dos Santos</surname>
            ,
            <given-names>W.H.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Cerqueira</surname>
          </string-name>
          , R.: Kes:
          <article-title>The knowledge explorer system</article-title>
          . In: International Semantic Web Conference (P&amp;D/Industry/BlueSky) (
          <year>2018</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          4.
          <string-name>
            <surname>Moreno</surname>
            ,
            <given-names>M.F.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Santos</surname>
            ,
            <given-names>R.C.M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Santos</surname>
            ,
            <given-names>W.H.S.d.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Fiorini</surname>
            ,
            <given-names>S.R.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Silva</surname>
          </string-name>
          , R.M.d.G.:
          <article-title>Multimedia search and temporal reasoning</article-title>
          . arXiv preprint arXiv:
          <year>1911</year>
          .
          <volume>08225</volume>
          (
          <year>2019</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          5.
          <string-name>
            <surname>Richter</surname>
            ,
            <given-names>S.R.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Hayder</surname>
            ,
            <given-names>Z.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Koltun</surname>
            ,
            <given-names>V.</given-names>
          </string-name>
          :
          <article-title>Playing for benchmarks</article-title>
          .
          <source>In: IEEE International Conference on Computer Vision</source>
          ,
          <string-name>
            <surname>ICCV</surname>
          </string-name>
          <year>2017</year>
          . pp.
          <volume>2232</volume>
          {
          <issue>2241</issue>
          (
          <year>2017</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          6.
          <string-name>
            <surname>Sera</surname>
            <given-names>ni</given-names>
          </string-name>
          , L.,
          <string-name>
            <surname>Homola</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          :
          <article-title>Contextualized knowledge repositories for the semantic web</article-title>
          .
          <source>Journal of Web Semantics</source>
          <volume>12</volume>
          (
          <year>2012</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          7.
          <string-name>
            <surname>Smeulders</surname>
            ,
            <given-names>A.W.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Worring</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Santini</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Gupta</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Jain</surname>
          </string-name>
          , R.:
          <article-title>Content-based image retrieval at the end of the early years</article-title>
          .
          <source>IEEE Transactions on pattern analysis and machine intelligence</source>
          <volume>22</volume>
          (
          <issue>12</issue>
          ) (
          <year>2000</year>
          )
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>