<!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>FrODO: Generating Ontologies from Competency Questions in One Click</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Aldo Gangemi</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Anna Sofia Lippolis</string-name>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Giorgia Lodi</string-name>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Andrea Giovanni Nuzzolese</string-name>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Department of Classical and Italian Philology, University of Bologna</institution>
          ,
          <addr-line>Via Zamboni 32, 40126, Bologna</addr-line>
          ,
          <country country="IT">Italy</country>
        </aff>
        <aff id="aff1">
          <label>1</label>
          <institution>Institute of Cognitive Sciences and Technologies, Italian National Research Council (ISTC-CNR)</institution>
          ,
          <addr-line>Via San Martino della Battaglia 44, 00184, Rome</addr-line>
          ,
          <country country="IT">Italy</country>
        </aff>
      </contrib-group>
      <abstract>
        <p>In this paper we demonstrate the potentiality of the Frame-based Ontology Design Outlet (FrODO), a tool that relies on FRED for generating RDF from the natural language. FrODO exploits frame semantics for tailoring sound OWL ontologies addressing the given CQs. We envision that FrODO can be used to make agile ontology design methodologies (e.g. XD, SAMOD, etc.) smoother. Competency questions [1] (CQs) represent requirements in a number of agile ontology engineering methodologies, such as the eXtreme Design [2] (XD) or SAMOD [3]. In such methodologies most efort lies in the design of ontology modules able to address the CQs that have been previously identified. In this paper we demonstrate the Frame-based Ontology Design Outlet (FrODO). FrODO is a novel method and Web tool for automatically drafting OWL ontologies from CQs. FrODO builds on and benefits from FRED [ 4] a machine reading [5] tool aimed at gathering RDF from text written in natural language. FRED in fact produces RDF graphs from text that are (i) domain- and task-independent, and (ii) designed according to the frame semantics [6] and ontology design patterns [7]. In essence, FrODO extends FRED specifically on the case of CQs by tailoring the RDF produced by FRED into domain ontologies. This is done by leveraging its formal representation based on the frame semantics. The domain ontologies produced by FrODO are drafts that can be used to feed agile ontology design methodologies. In this paper we demonstrate FrODO as a tool for generating domain ontologies formalised as OWL from competency questions automatically. This demo paper is associated with [8], which</p>
      </abstract>
      <kwd-group>
        <kwd>eol&gt;Ontology Engineering</kwd>
        <kwd>Frame semantics</kwd>
        <kwd>Machine Reading</kwd>
        <kwd>Knowledge graph</kwd>
        <kwd>Knowledge representation</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>1. Introduction</title>
      <p>was accepted for publication to the Research &amp; Innovation track of SEMANTiCS 2022.</p>
    </sec>
    <sec id="sec-2">
      <title>2. Related work</title>
      <p>
        Many solutions for generating ontologies from text address an Ontology Learning and
Population (OL&amp;P) task [
        <xref ref-type="bibr" rid="ref10 ref9">9, 10</xref>
        ]. Examples of such methods include Text2Onto [
        <xref ref-type="bibr" rid="ref11">11</xref>
        ], OwlExporter [
        <xref ref-type="bibr" rid="ref12">12</xref>
        ],
and the approach proposed by Tanev and Magnini [
        <xref ref-type="bibr" rid="ref13">13</xref>
        ]. Most of these solutions are implemented
on top of machine learning methods. Hence, they are typically data hungry, i.e. they require
large corpora, sometimes manually annotated, in order to learn rules for ontology automatic
construction. Such rules are defined through a training phase that can take a long time. On the
contrary, our solution does not depend on any training and is unsupervised. Other approaches
to OL&amp;P use either lexico-syntactic patterns [
        <xref ref-type="bibr" rid="ref14">14</xref>
        ], or hybrid lexical-logical techniques [
        <xref ref-type="bibr" rid="ref15">15</xref>
        ].
Finally, there are solutions for generating SPARQL queries from CQs, such as [
        <xref ref-type="bibr" rid="ref16">16</xref>
        ]. The latter
can be seen as a similar and complementary task to the generation of OWL ontologies from text.
FrODO difers from all these solutions at the state of the art as it relies on machine reading as
the paradigm for achieving the automatic construction of domain ontologies from competency
questions.
      </p>
    </sec>
    <sec id="sec-3">
      <title>3. FrODO</title>
      <p>
        FrODO is a web-based application1 that generates ontologies from CQs. This is done by
extending FRED that uses frame semantics [
        <xref ref-type="bibr" rid="ref6">6</xref>
        ] for organising domain independent RDF graphs
generated from text. Hence, FrODO builds on top of FRED for refactoring its RDF graph by
means of graph traversal strategies that exploit the frame semantics. In this we assume that
frames and frame arguments are the key tools to leverage on for drawing domain-relevant
boundaries around the RDF graph produced by FRED, thus enabling the generation of domain
ontology drafts. Two refactoring strategies are implemented by FrODO in order to cope with
the possible frame representation patterns available in FRED, i.e. (i) -ary relations and (ii)
periphrastic relations. We refer the interested readers to [
        <xref ref-type="bibr" rid="ref4">4</xref>
        ] for more details about FRED and [
        <xref ref-type="bibr" rid="ref8">8</xref>
        ]
for more details about FrODO. In this paper we aim at demonstrating how FrODO can support
ontology engineers and practitioners to generate an ontology from CQs automatically. Figure 1
shows the user interface provided by FrODO. It consists of a main text area meant for entering a
CQ to be processed by FrODO and an input text for specifying the IRI to be used as the identifier
of the resulting ontology. The former input is mandatory, while the latter is optional, i.e. if no
ontology identifier is specified then a default one is used 2.
      </p>
      <p>To demonstrate FrODO we use the CQ “Who commissioned a component of a system?” as a
running example. The CQ is about the design on an ontology related to the commissioning of
systems and their components. Such a CQ comes from a real world set of CQs we defined in
the context of the WHOW project3 for representing the requirements of an ontology network
about systems for environmental monitoring. When a user provides the previous CQ and clicks
1FrODO is available online at https://w3id.org/stlab/frodo.
2The ontology identifier used as default by FrODO is https://w3id.org/stlab/ontology/.
3https://whowproject.eu/
on the button labelled “Get OWL!”, FrODO starts its processing, which is summarised by the
UML activity diagram depicted in Figure 2.</p>
      <p>The first step of the worflow requires FrODO to query FRED in order to get an RDF graph
from the text of the CQ. Then the frames are recognised in the graph either in the form of -ary
or periphrastic relations. Once the frame occurrences are recognised the frame arguments with
their associated roles are used for generating an ontology draft with domain terminology. This
draft is finally enriched with annotations (i.e. RDFS labels), inverse properties, and restriction
axioms. Listing 1 reports the ontology returned by FrODO to a user who provided the CQ
expressed as our running example. The ontology is serialised according to the Manchester
syntax.</p>
      <p>Listing 1: OWL ontology produced for the CQ “Who commissioned a component of a system?”.
ObjectProperty: involvesComponent</p>
      <p>Annotations: rdfs:label "involves component"
Range: Component</p>
      <p>InverseOf: isComponentInvolvedIn
ObjectProperty: involvesPerson</p>
      <p>Annotations: rdfs:label "involves person"
Range: Person</p>
      <p>InverseOf: isPersonInvolvedIn
ObjectProperty: isComponentInvolvedIn</p>
      <p>Annotations rdfs:label "is component involved in"</p>
      <p>Domain: Component
ObjectProperty: isPersonInvolvedIn</p>
      <p>Annotations: rdfs:label "is person involved in"</p>
      <p>Domain: Person
ObjectProperty: componentOfSystem</p>
      <p>Annotations: rdfs:label "component of system"
Range: System</p>
      <p>InverseOf: isComponentOfSystemOf
ObjectProperty: isComponentOfSystemOf</p>
      <p>Annotations: rdfs:label "is component of system of"</p>
      <p>Domain: System
Class: System</p>
      <p>Annotations: rdfs:label "System"@en
Class: Commissioning</p>
      <p>Annotations: rdfs:label "Commissioning"@en</p>
      <p>SubClassOf: componentOfSystem some System
Class: Component</p>
      <p>Annotations: rdfs:label "Component"
Class: ComponentCommissioning</p>
      <p>Annotations: rdfs:label "Component commissioning"@en</p>
      <p>SubClassOf: Commissioning, involvesComponent some Component, involvesPerson some Person
Class: Person</p>
      <p>Annotations: rdfs:label "Person"</p>
    </sec>
    <sec id="sec-4">
      <title>4. Conclusions</title>
      <p>In this work we demonstrate the Frame-based Ontology Design Outlet (FrODO), which is a tool
able to draft ontologies from competency questions (CQs) automatically. FrODO extends FRED
by leveraging frame semantics to gather domain knowledge from the RDF graph produced by
FRED from textual CQs. FrODO can be used by ontology engineers to make agile ontology
design methodologies (e.g. XD, SAMOD, etc.) smoother.</p>
    </sec>
    <sec id="sec-5">
      <title>Acknowledgments</title>
      <p>This work was partially supported by the European Commission (EC) through the Connecting
Europe Facility (CEF) programme under the WHOW project WHOW (grant agreement no.
INEA/CEF/ICT/A2019/2063229).</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          [1]
          <string-name>
            <given-names>M.</given-names>
            <surname>Grüninger</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M. S.</given-names>
            <surname>Fox</surname>
          </string-name>
          ,
          <article-title>The role of competency questions in enterprise engineering</article-title>
          ,
          <source>in: Benchmarking-Theory and practice</source>
          , Springer,
          <year>1995</year>
          , pp.
          <fpage>22</fpage>
          -
          <lpage>31</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          [2]
          <string-name>
            <given-names>V.</given-names>
            <surname>Presutti</surname>
          </string-name>
          ,
          <string-name>
            <given-names>E.</given-names>
            <surname>Daga</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Gangemi</surname>
          </string-name>
          , E. Blomqvist,
          <article-title>extreme design with content ontology design patterns</article-title>
          , in: E. Blomqvist,
          <string-name>
            <given-names>K.</given-names>
            <surname>Sandkuhl</surname>
          </string-name>
          ,
          <string-name>
            <given-names>F.</given-names>
            <surname>Scharfe</surname>
          </string-name>
          , V. Svátek (Eds.),
          <source>Proc. of WOP</source>
          <year>2009</year>
          , volume
          <volume>516</volume>
          <source>of CEUR Workshop Proceedings, CEUR-WS.org</source>
          ,
          <year>2009</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          [3]
          <string-name>
            <given-names>S.</given-names>
            <surname>Peroni</surname>
          </string-name>
          ,
          <article-title>A simplified agile methodology for ontology development</article-title>
          ., in: M.
          <string-name>
            <surname>Dragoni</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          <string-name>
            <surname>Poveda-Villalón</surname>
          </string-name>
          , E. Jiménez-Ruiz (Eds.),
          <source>Proc of OWLED</source>
          <year>2016</year>
          , volume
          <volume>10161</volume>
          of Lecture Notes in Computer Science, Springer,
          <year>2016</year>
          , pp.
          <fpage>55</fpage>
          -
          <lpage>69</lpage>
          . DOI:
          <volume>10</volume>
          .6084/M9.FIGSHARE.
          <volume>3189769</volume>
          .V2.
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          [4]
          <string-name>
            <given-names>A.</given-names>
            <surname>Gangemi</surname>
          </string-name>
          ,
          <string-name>
            <given-names>V.</given-names>
            <surname>Presutti</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D. R.</given-names>
            <surname>Recupero</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A. G.</given-names>
            <surname>Nuzzolese</surname>
          </string-name>
          ,
          <string-name>
            <given-names>F.</given-names>
            <surname>Draicchio</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Mongiovì</surname>
          </string-name>
          ,
          <article-title>Semantic web machine reading with fred</article-title>
          .,
          <source>Semantic Web</source>
          <volume>8</volume>
          (
          <year>2017</year>
          )
          <fpage>873</fpage>
          -
          <lpage>893</lpage>
          . DOI:
          <volume>10</volume>
          .3233/SW160240.
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          [5]
          <string-name>
            <given-names>O.</given-names>
            <surname>Etzioni</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Banko</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M. J.</given-names>
            <surname>Cafarella</surname>
          </string-name>
          , Machine reading, in: AAAI Spring Symposium: Machine Reading, AAAI,
          <year>2007</year>
          , pp.
          <fpage>1</fpage>
          -
          <lpage>55</lpage>
          . DOI:
          <volume>10</volume>
          .5555/1597348.1597430.
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          [6]
          <string-name>
            <given-names>C. J.</given-names>
            <surname>Fillmore</surname>
          </string-name>
          , et al.,
          <string-name>
            <surname>Frame</surname>
            <given-names>semantics</given-names>
          </string-name>
          ,
          <source>Cognitive linguistics: Basic readings 34</source>
          (
          <year>2006</year>
          )
          <fpage>373</fpage>
          -
          <lpage>400</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          [7]
          <string-name>
            <given-names>A.</given-names>
            <surname>Gangemi</surname>
          </string-name>
          ,
          <string-name>
            <given-names>V.</given-names>
            <surname>Presutti</surname>
          </string-name>
          ,
          <article-title>Ontology design patterns</article-title>
          , in: Handbook on ontologies, Springer,
          <year>2009</year>
          , pp.
          <fpage>221</fpage>
          -
          <lpage>243</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          [8]
          <string-name>
            <given-names>A.</given-names>
            <surname>Gangemi</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A. S.</given-names>
            <surname>Lippolis</surname>
          </string-name>
          ,
          <string-name>
            <given-names>G.</given-names>
            <surname>Lodi</surname>
          </string-name>
          ,
          <string-name>
            <surname>A. G.</surname>
          </string-name>
          <article-title>Nuzzolese, automatically drafting ontologies from competency questions with frodo</article-title>
          ,
          <source>in: SEMANTiCS</source>
          <year>2022</year>
          , ????, pp.
          <fpage>1</fpage>
          -
          <lpage>15</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          [9]
          <string-name>
            <given-names>P.</given-names>
            <surname>Cimiano</surname>
          </string-name>
          ,
          <article-title>Ontology learning and population from text: algorithms, evaluation and applications</article-title>
          , volume
          <volume>27</volume>
          ,
          <string-name>
            <surname>Springer</surname>
            <given-names>Science</given-names>
          </string-name>
          &amp; Business
          <string-name>
            <surname>Media</surname>
          </string-name>
          ,
          <year>2006</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          [10]
          <string-name>
            <given-names>F. N.</given-names>
            <surname>Al-Aswadi</surname>
          </string-name>
          ,
          <string-name>
            <given-names>H. Y.</given-names>
            <surname>Chan</surname>
          </string-name>
          ,
          <string-name>
            <given-names>K. H.</given-names>
            <surname>Gan</surname>
          </string-name>
          ,
          <article-title>Automatic ontology construction from text: a review from shallow to deep learning trend</article-title>
          ,
          <source>Artificial Intelligence Review</source>
          <volume>53</volume>
          (
          <year>2020</year>
          )
          <fpage>3901</fpage>
          -
          <lpage>3928</lpage>
          . DOI:
          <volume>10</volume>
          .1007/s10462-019-09782-9.
        </mixed-citation>
      </ref>
      <ref id="ref11">
        <mixed-citation>
          [11]
          <string-name>
            <given-names>P.</given-names>
            <surname>Cimiano</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Völker</surname>
          </string-name>
          ,
          <article-title>A framework for ontology learning and data-driven change discovery</article-title>
          ,
          <source>in: Proceedings of the 10th International Conference on Applications of Natural Language to Information Systems (NLDB)</source>
          , Springer,
          <year>2005</year>
          , pp.
          <fpage>227</fpage>
          -
          <lpage>238</lpage>
          . DOI:
          <volume>10</volume>
          .1007/11428817_
          <fpage>21</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref12">
        <mixed-citation>
          [12]
          <string-name>
            <given-names>R.</given-names>
            <surname>Witte</surname>
          </string-name>
          ,
          <string-name>
            <given-names>N.</given-names>
            <surname>Khamis</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Rilling</surname>
          </string-name>
          ,
          <article-title>Flexible ontology population from text: The owlexporter</article-title>
          ,
          <source>in: Proceedings of LREC</source>
          <year>2010</year>
          ,
          <year>2010</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref13">
        <mixed-citation>
          [13]
          <string-name>
            <given-names>H.</given-names>
            <surname>Tanev</surname>
          </string-name>
          ,
          <string-name>
            <given-names>B.</given-names>
            <surname>Magnini</surname>
          </string-name>
          ,
          <article-title>Weakly supervised approaches for ontology population</article-title>
          ,
          <source>in: Proceedings of 11th Conference of the European Chapter of the Association for Computational Linguistics</source>
          ,
          <year>2006</year>
          , pp.
          <fpage>17</fpage>
          -
          <lpage>24</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref14">
        <mixed-citation>
          [14]
          <string-name>
            <given-names>M.</given-names>
            <surname>Hearst</surname>
          </string-name>
          ,
          <article-title>Automatic acquisition of hyponyms from large text corpora in proc</article-title>
          , in: 14th International Conference Computational Linguistics, Nantes France,
          <year>1992</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref15">
        <mixed-citation>
          [15]
          <string-name>
            <given-names>J.</given-names>
            <surname>Völker</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Rudolph</surname>
          </string-name>
          ,
          <article-title>Lexico-logical acquisition of owl dl axioms - an integrated approach to ontology refinement</article-title>
          ,
          <source>in: Proceedings of ICFCA</source>
          <year>2008</year>
          , volume
          <volume>4933</volume>
          <source>of Lecture Notes in Artificial Intelligence</source>
          ,
          <year>2008</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref16">
        <mixed-citation>
          [16]
          <string-name>
            <given-names>D.</given-names>
            <surname>Wisniewski</surname>
          </string-name>
          ,
          <article-title>Automatic translation of competency questions into sparql-owl queries</article-title>
          ,
          <source>in: Companion Proceedings of the The Web Conference</source>
          <year>2018</year>
          ,
          <year>2018</year>
          , pp.
          <fpage>855</fpage>
          -
          <lpage>859</lpage>
          . DOI:
          <volume>10</volume>
          .1145/3184558.3186575.
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>