<!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>
      <issn pub-type="ppub">1613-0073</issn>
    </journal-meta>
    <article-meta>
      <title-group>
        <article-title>Representation⋆</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Aldo Gangemi</string-name>
          <email>aldo.gangemi@unibo.it</email>
          <xref ref-type="aff" rid="aff2">2</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Arianna Graciotti</string-name>
          <email>arianna.graciotti@unibo.it</email>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Antonello Meloni</string-name>
          <email>antonello.meloni@unica.it</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Andrea Nuzzolese</string-name>
          <email>andrea.nuzzolese@istc.cnr.it</email>
          <xref ref-type="aff" rid="aff3">3</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Valentina Presutti</string-name>
          <email>valentina.presutti@unibo.it</email>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Diego Reforgiato Recupero</string-name>
          <email>diego.reforgiato@unica.it</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Alessandro Russo</string-name>
          <email>alessandro.russo@istc.cnr.it</email>
          <xref ref-type="aff" rid="aff3">3</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Rocco Tripodi</string-name>
          <email>rocco.tripodi@unibo.it</email>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="editor">
          <string-name>Knowledge Graphs, Abstract Meaning Representation, Natural Language Processing, Semantic Frames</string-name>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Department of Mathematics and Computer Science, University of Cagliari.</institution>
          <addr-line>Via Ospedale 72, 09124 Cagliari</addr-line>
          ,
          <country country="IT">Italy</country>
        </aff>
        <aff id="aff1">
          <label>1</label>
          <institution>Department of Modern Languages</institution>
          ,
          <addr-line>Literatures, and Cultures</addr-line>
          ,
          <institution>University of Bologna</institution>
          ,
          <addr-line>40126 Bologna</addr-line>
          ,
          <country country="IT">Italy</country>
        </aff>
        <aff id="aff2">
          <label>2</label>
          <institution>Department of Philosophy and Communication Studies, University of Bologna</institution>
          ,
          <addr-line>40126 Bologna</addr-line>
          ,
          <country country="IT">Italy</country>
        </aff>
        <aff id="aff3">
          <label>3</label>
          <institution>Institute of Cognitive Sciences and Technologies, CNR</institution>
          ,
          <addr-line>via San Martino della Battaglia 44, 00185, Rome</addr-line>
          ,
          <country country="IT">Italy</country>
        </aff>
      </contrib-group>
      <pub-date>
        <year>2023</year>
      </pub-date>
      <volume>1</volume>
      <fpage>6</fpage>
      <lpage>10</lpage>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>-</title>
      <p>CEUR
ceur-ws.org
RDF/O
WL</p>
    </sec>
    <sec id="sec-2">
      <title>1. Introduction</title>
      <p>Transforming natural language text into logically sound Knowledge Graphs (KGs) supports
at-scale information retrieval from collections of texts.</p>
      <p>Natural Language Processing (NLP) and Semantic Web (SW) communities dedicated
significant efort to text-to-KG pipelines. The NLP community exploited the progress of Machine
Learning (ML) and Neural Networks (NN) to improve semantic parsing. Graph-based semantic
parsing has gained attention due to the potential of general-purpose representations, such as
CEUR
Workshop
Proceedings
parsers struggle with making the extracted knowledge interoperable and exploitable due to its
formalisms’ balkanisation [11] and lax logic.</p>
      <p>The SW provides means to formally represent the extracted knowledge according to
interoperable ontologies, therefore favouring knowledge augmentation with heterogeneous Knowledge
Bases (KBs) and alignment with other ontologies. The SW machine reader FRED [6] encodes
the extracted information using Semantic Web (SW) standards. The resulting KGs enable the
exploration and retrieval of facts extracted from heterogeneous text corpora through
structured queries, as well as their augmentation through alignment to other KGs. This alignment
supports the disclosure of explicit knowledge that would otherwise remain hidden in texts.
However, FRED relies on cumbersome NLP pipelines, hard to maintain and unsuitable to scale
in multilingual scenarios.</p>
      <p>To overcome such limitations, this paper presents Text2AMR2FRED1, a revised architecture
of FRED’s text-to-KG pipeline. It exploits pre-trained end-to-end text-to-AMR parsers, which
mitigate error propagation typical of component-based pipelines. In fact, thanks to AMR’s
generalization of lexical and syntactic variations, it allows a more abstract and robust representation
of text, without employing ad hoc data augmentation strategies, such as lexical substitution
[9, 8]. Furthermore, the SotA AMR parser’s multilingual capabilities enhance the scalability
of our application, expanding its reach beyond the original English-only input restriction of
FRED’s NLP pipeline.</p>
    </sec>
    <sec id="sec-3">
      <title>2. Text2AMR2FRED at work</title>
      <p>
        Text2AMR2FRED implements a pipeline to produce KGs automatically from unstructured text.
These KGs are event-centric, as they rely on PropBank Frames2 [13]. The process for generating
a KG from an input text relies on two modules: (1) the text-to-AMR parsing module, which takes
natural language sentences as input and transforms them into AMR graphs. Sentences in English
1https://arco.istc.cnr.it/txt-amr-fred/
2PropBank Frames are the core lexicon of the PropBank paradigm and consist of predicate-argument structures
named “rolesets”. A complete list of PropBank frames can be found at http://propbank.github.io/v3.4.0/frames/
are parsed by SPRING3 [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ]. Sentences in other languages are parsed by USeA4 [12], which
takes input in 100 languages. (2) the AMR-to-FRED translation, which extends the AMR2FRED5
tool [10] to transform AMR graphs into OWL-compliant RDF KGs, following FRED’s theoretical
model [6]. The integration of the two modules is eased and streamlined by the APIs provided
by both tools. Specifically, the AMR graph produced by the text-to-AMR parsers from the input
text can be directly used as input for the AMR2FRED tool to get a corresponding KG. This makes
it possible for tools such as the Machine Reading suite6 to query both components through
the Text-to-AMR-to-FRED APIs7 and generate RDF named graphs from input text sentences or
paragraphs in batches. Text2AMR2FRED is also released to the public via a user-friendly web
app1.
      </p>
      <p>
        The AMR-to-FRED translation facilitates KGs enrichment, which can be achieved by
employing Framester [
        <xref ref-type="bibr" rid="ref5">5</xref>
        ]. Thanks to Framester, additional relevant knowledge missing in the text
(e.g., common sense knowledge) can be recovered from other KBs such as WordNet8, DBPedia9,
DOLCE-Zero10. For example, the output KGs are enriched through Word Sense Disambiguation
(WSD) based on the RDF version of WordNet, included in Framester. The WSD process is applied
to AMR elements (usually nouns and adjectives) that miss links to lexical resources. Figure
1 shows the AMR graph corresponding to the sentence “Apple unveils revolutionary watch”.
The reader may notice that the text-to-AMR parser associates predicates in AMR graphs with
PropBank word senses and Named Entities with their corresponding entities in Wikipedia. The
node z3 / watch instead is missing a link to lexical resources. Therefore, we disambiguate it
against Framester. The WSD process consists of submitting the original sentence to EWISER11, a
WSD system well-suited for multilingual scenarios due to its SotA performance in both all-words
English WSD and multilingual WSD tasks. As Figure 2 shows, we associate the result of WSD
(WordNet’s synsets) with the AMR nodes missing links to any external source and whose label
3http://nlp.uniroma1.it/spring/
4https://github.com/SapienzaNLP/usea
5https://github.com/infovillasimius/amr2Fred/tree/master
6https://github.com/anuzzolese/machine-reading
7http://framester.istc.cnr.it/txt-amr-fred/api/docs
8https://wordnet.princeton.edu
9https://www.dbpedia.org
10http://www.ontologydesignpatterns.org/ont/d0.owl
11https://github.com/SapienzaNLP/ewiser
corresponds to the lemma of the input sentence. This association is implemented through the
owl:equivalentClass property between the identified node and the selected WordNet’s synset
in Framester. For the example above, we use EWISER and keep the information for the lemma
”watch”. For the same entities (those not linked with external information sources), we further
exploit Framester to generate alignments to two top-level ontologies: WordNet ”supersenses”
(through the rdfs:subclassOf property) and a subset of DOLCE+DnS Ultra Lite (DUL) classes.
      </p>
    </sec>
    <sec id="sec-4">
      <title>3. Conclusions and Future Work</title>
      <p>Text2AMR2FRED is a tool that mitigates the issues of existing NLP semantic parsers and machine
readers, adhering to Semantic Web standards to ensure interoperable knowledge extraction.
It enhances the informativeness of KGs by aligning them with domain-specific ontologies,
enabling interrogation through structured queries. This approach uncovers implicit knowledge
from text, enabling the output of KGs with external KBs.</p>
      <p>
        Future work will focus on creating resources for the evaluation of the tool. The AMR parsers
employed in our tool can be leveraged to perform AMR-to-text tasks and compare the original
textual excerpts to the automatically generated ones via a back-translation [16] approach. This
allows the calculation of similarity metrics, such as BLEURT [15] or others, between the original
and generated texts. Under the hypothesis that generated sentences with (relatively) high
similarity scores correspond to high-quality AMR graphs, automatic filters can be designed
and applied to prevent lower-quality AMR graphs’ transformation into RDF/OWL KGs. Our
evaluation method will be completed by the analysis of Motifs, basic logical patterns employed
in SW, defined in [ 7], in the output KGs. The Motifs-based validation will permit a cross-tools
knowledge extraction tasks comparative evaluation, following the method outlined in [
        <xref ref-type="bibr" rid="ref4">4</xref>
        ].
      </p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          [1]
          <string-name>
            <given-names>L.</given-names>
            <surname>Banarescu</surname>
          </string-name>
          ,
          <string-name>
            <given-names>C.</given-names>
            <surname>Bonial</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Cai</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Georgescu</surname>
          </string-name>
          ,
          <string-name>
            <given-names>K.</given-names>
            <surname>Grifitt</surname>
          </string-name>
          ,
          <string-name>
            <given-names>U.</given-names>
            <surname>Hermjakob</surname>
          </string-name>
          ,
          <string-name>
            <given-names>K.</given-names>
            <surname>Knight</surname>
          </string-name>
          ,
          <string-name>
            <given-names>P.</given-names>
            <surname>Koehn</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Palmer</surname>
          </string-name>
          , and
          <string-name>
            <given-names>N.</given-names>
            <surname>Schneider</surname>
          </string-name>
          .
          <article-title>Abstract Meaning Representation for Sembanking</article-title>
          .
          <source>In Proc. of the 7th Linguistic Annotation Workshop and Interoperability with Discourse</source>
          , pages
          <fpage>178</fpage>
          -
          <lpage>186</lpage>
          , Sofia, Bulgaria,
          <year>August 2013</year>
          . ACL.
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          [2]
          <string-name>
            <given-names>M.</given-names>
            <surname>Bevilacqua</surname>
          </string-name>
          ,
          <string-name>
            <given-names>R.</given-names>
            <surname>Blloshmi</surname>
          </string-name>
          , and
          <string-name>
            <given-names>R.</given-names>
            <surname>Navigli</surname>
          </string-name>
          . One SPRING to Rule Them Both:
          <article-title>Symmetric AMR Semantic Parsing and Generation without a Complex Pipeline</article-title>
          .
          <source>Proc. of the AAAI Conference on Artificial Intelligence</source>
          ,
          <volume>35</volume>
          (
          <issue>14</issue>
          ):
          <fpage>12564</fpage>
          -
          <lpage>12573</lpage>
          , May
          <year>2021</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          [3]
          <string-name>
            <given-names>R.</given-names>
            <surname>Blloshmi</surname>
          </string-name>
          ,
          <string-name>
            <given-names>R.</given-names>
            <surname>Tripodi</surname>
          </string-name>
          , and
          <string-name>
            <given-names>R.</given-names>
            <surname>Navigli</surname>
          </string-name>
          .
          <article-title>XL-AMR: Enabling Cross-Lingual AMR Parsing with Transfer Learning Techniques</article-title>
          .
          <source>In Proc. of the 2020 Conference on Empirical Methods in Natural Language Processing (EMNLP)</source>
          , pages
          <fpage>2487</fpage>
          -
          <lpage>2500</lpage>
          , Online,
          <year>November 2020</year>
          . ACL.
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          [4]
          <string-name>
            <given-names>A.</given-names>
            <surname>Gangemi</surname>
          </string-name>
          .
          <article-title>A Comparison of Knowledge Extraction Tools for the Semantic Web</article-title>
          .
          <source>In The Semantic Web: Semantics and Big Data</source>
          , pages
          <fpage>351</fpage>
          -
          <lpage>366</lpage>
          , Berlin, Heidelberg,
          <year>2013</year>
          . Springer Berlin Heidelberg.
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          [5]
          <string-name>
            <given-names>A.</given-names>
            <surname>Gangemi</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Alam</surname>
          </string-name>
          ,
          <string-name>
            <given-names>L.</given-names>
            <surname>Asprino</surname>
          </string-name>
          ,
          <string-name>
            <given-names>V.</given-names>
            <surname>Presutti</surname>
          </string-name>
          , and
          <string-name>
            <given-names>D. R.</given-names>
            <surname>Recupero</surname>
          </string-name>
          .
          <article-title>Framester: A Wide Coverage Linguistic Linked Data Hub</article-title>
          .
          <source>In EKAW 2016</source>
          , pages
          <fpage>239</fpage>
          -
          <lpage>254</lpage>
          , Bologna, Italy,
          <year>2016</year>
          . Springer International Publishing.
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>