<!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>Representing Swedish Lexical Resources in RDF with lemon</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Lars Borin</string-name>
          <email>lars.borin@svenska.gu.se</email>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Dana Danne´lls</string-name>
          <email>dana.dannells@svenska.gu.se</email>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Markus Forsberg</string-name>
          <email>markus.forsberg@svenska.gu.se</email>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>John P. McCrae</string-name>
          <email>jmccrae@cit-ec.uni-bielefeld.de</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Cognitive Interaction Technology Center of Excellence, University of Bielefeld</institution>
        </aff>
        <aff id="aff1">
          <label>1</label>
          <institution>Spra ̊kbanken, University of Gothenburg</institution>
        </aff>
      </contrib-group>
      <abstract>
        <p>The paper presents an ongoing project which aims to publish Swedish lexical-semantic resources using Semantic Web and Linked Data technologies. In this article, we highlight the practical conversion methods and challenges of converting three of the Swedish language resources in RDF with lemon.</p>
      </abstract>
      <kwd-group>
        <kwd>Language Technology</kwd>
        <kwd>Lexical Resources</kwd>
        <kwd>Lexical Semantics</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>1 Introduction</title>
      <p>For state-of-the-art lexical resources, availability as Linked Open Data (LOD) is a
basic requirement for their widest possible dissemination and use in research, education,
development of products and services. In addition, in order to provide language
support to individuals requiring augmentative and alternative communication (AAC) we
need linguistic resources suitably organized and represented, e.g., sign language
material, symbol and image libraries adapted to multiple cognitive levels, as well as textual
support in many languages. So far, in Sweden, these resources have been developed as
separate and uncoordinated efforts, either commercially or by non-profit organizations
targeting specific groups and needs. In the long run, this is an exclusive and expensive
way of proceeding, leading to limited usefulness. In the project, we aim to link
Concept Coding Framework (CCF) technology and some symbol sets, to a common LOD
format for languages resources (LRs) to be developed together with Spra˚kbanken (The
Swedish Language Bank),3 which will be a great step forward.</p>
      <p>
        There are ongoing international initiatives aiming to define suitable formats for
publishing linguistic content according to linked open data principles [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ]. Integrating
linguistic content on the Web by using these principles is central for many language
technology applications. It requires harmonization on different levels in particular on
the metadata level. In this paper we present our first attempt to publish three Swedish
lexical-semantic resources in RDF with lemon [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ].
3 &lt;http://spraakbanken.gu.se/&gt;
2 lemon
lemon (Lexicon Model for Ontologies) is a model for associating linguistic information
with ontologies,4 in particular Semantic Web ontologies. The model builds on
existing models for incorporating multilingual knowledge in ontologies, and for the
representation of lexical resources [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ]. lemon is built around the principal of semantics
by reference [
        <xref ref-type="bibr" rid="ref4">4</xref>
        ]. It separates the lexical layer, that is the words and their morphology
and syntactic behaviour, and the semantic layer in the ontology, which describes the
domain-specific meaning of that entry. The model of lemon is based around lexical
entries, which connect to ontology entities, by means of an object called LexicalSense,
which refers to one meaning of a word, or correspondingly a pair consisting of the word
and the meaning. In this sense, the model of lemon is primarily semasiological, i.e,
organized around words, as opposed to the onomasiological resources, such as SALDO,
which are primarily built around senses. However, the usage of the sense object and the
distributed nature of the RDF graph model, means that from a linked data viewpoint
this distinction is of less relevance, and lemon proves to be an effective model for the
lexical resources discussed here.
      </p>
      <p>
        The lemon model has since 2011 been the focus of the W3C OntoLex community
group,5 and as such significant developments on both the model and its applications
are still active. In particular, lemon has already been used successfully for the
representation of several existing lexical resources, most notably WordNet [
        <xref ref-type="bibr" rid="ref5">5</xref>
        ], UBY [
        <xref ref-type="bibr" rid="ref6">6</xref>
        ] and
BabelNet [
        <xref ref-type="bibr" rid="ref7">7</xref>
        ]. Furthermore, the use of lemon has already proved to be a key component
in systems for tasks such as question answering [
        <xref ref-type="bibr" rid="ref8">8</xref>
        ], natural language generation [
        <xref ref-type="bibr" rid="ref9">9</xref>
        ] and
information extraction [
        <xref ref-type="bibr" rid="ref10">10</xref>
        ].
3
      </p>
      <p>
        Converting the Swedish Lexical Resources into RDF with lemon
Spra˚kbanken at the Department of Swedish, University of Gothenburg, Sweden
maintains a very large collection of lexical resources for both modern and historical Swedish.
Currently there exist 23 different lexical resources with over 700,000 lexical entries.
Within the time frame of our project we so far considered three of the modern lexicons,
which are also freely available in Lexical Markup Framework (LMF) [
        <xref ref-type="bibr" rid="ref11">11</xref>
        ]. As we will
show in this chapter, the form of these lexical resources varies substantially. We
minimize this variation with lemon. Since lemon is builds on LMF, it allows easy conversion
supported by EXtensible Stylesheet Language XSL Transformation mechanism.6
SALDO, the new version of the Swedish Associative Thesaurus [
        <xref ref-type="bibr" rid="ref12">12</xref>
        ], is a
semantically organized lexicon containing morphological and lexical-semantic information for
more than 130,000 Swedish lexical entries of which 13,000 are verbs.7 It is the largest
freely available electronic Swedish lexical resource for language technology, and is the
pivot of all the Swedish lexical resources maintained at Spra˚kbanken. SALDO entries
4 &lt;http://lemon-model.net&gt;
5 &lt;http://www.w3.org/community/ontolex/&gt;
6 &lt;http://www.w3.org/Style/XSL/&gt;
7 &lt;http://spraakbanken.gu.se/saldo&gt;
are arranged in a hierarchical structure capturing semantic closeness between senses
indicated by a unique sense identifier, in lemon this unique identifier is represented
with the object lemon:LexicalSense. A challenge here was how to represent SALDO’s
lemgram which is a pairing of the word base form and its inflectional paradigm.
Lemgram is represented with the object lemon:LexicalEntry. The base form is described
with a lemma value of the lexical entry and is represented with the object lemon:Form.
The inflectional paradigm is described with a form value combined with a digit, and is
also represented with the object lemon:Form. We defined our objects for capturing the
paradigm patterns and the morphosyntactic tags.
      </p>
      <p>
        Swedish FrameNet (SweFN), created as a part of a large project called SweFN++ [
        <xref ref-type="bibr" rid="ref13">13</xref>
        ],
is a lexical-semantic resource that has been expanded from and constructed in line with
Berkeley FrameNet (BFN) [
        <xref ref-type="bibr" rid="ref14">14</xref>
        ].8 It is defined in terms of semantic frames. Each frame
is unique and is evoked by one or more target word(s) called lexical unit (LU) which
carries valence information about the possible syntactic and semantic realizations of frame
elements (FEs). Frames are represented with the object lemon:LexicalSense. The LUs
evoked by a frame are linked to SALDO entities with the property lemon:isSenseOf.
The property lemon:SemArg links to FEs objects. There are two types of FEs: core
and peripheral, these are represented with the object lemon:Argument and are linked
to either uby:core or uby:peripheral with the property uby:coreType. A challenge here
was how to represent the syntactic and semantic realizations of FEs that are illustrated
with annotated example sentences. In the LMF file they are annotated with extra,
nonstandardized tags. Our solution was to define our object karpHash:example to represent
the annotated example sentences for each FE.
      </p>
      <p>Lexin is a bilingual dictionary,9 originally developed for immigrants by the Swedish
national agency for education.10 It contains detailed linguistic information for 15
languages including sentence and expression examples, sentence constructions,
explanations through comments, synonyms, etc. A lexical entry in Lexin is represented with
lemon:LexicalSense. Entries are linked to SALDO entries with owl:sameAs property. In
addition, we defined the objects spraakbanken:translation and spraakbanken:synonym
to represent translation equivalents of sentences in our RDF model.
4</p>
    </sec>
    <sec id="sec-2">
      <title>Summary</title>
      <p>We described the effort of transforming three Swedish lexical resources into LOD
using Semantic Web and Linked Data technologies.11 Deciding on how to transform the
lexical resource attributes to lemon features has been carried out manually for each
resource. Once the transformation is decided, the integration is conducted automatically.
Publishing lexical resources in Swedish as RDF data is valuable for a variety of use
cases. One of the many benefits of having this semantically interlinked content is to
8 &lt;http://spraakbanken.gu.se/eng/resource/swefn&gt;
9 &lt;http://spraakbanken.gu.se/eng/resource/lexin&gt;
10 &lt;http://www.skolverket.se/&gt;
11 The published resources can be accessed here: &lt;http://spraakbanken.gu.se/rdf&gt;
enhance accessibility and availability on the web, in particular for language technology
applications.</p>
    </sec>
    <sec id="sec-3">
      <title>Acknowledgements</title>
      <p>The research presented here has been conducted with funding by VINNOVA (Swedish
Governmental Agency for Innovation Systems; grant agreement 2013-04996), and by
the University of Gothenburg through its support of the Centre for Language
Technology.12</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          1.
          <string-name>
            <surname>Chiarcos</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Nordhoff</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Hellmann</surname>
          </string-name>
          , S., eds.:
          <source>Linked Data in Linguistics. Representing and Connecting Language Data and Language Metadata</source>
          . Springer (
          <year>2012</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          2.
          <string-name>
            <surname>McCrae</surname>
            ,
            <given-names>J.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Spohr</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Cimiano</surname>
            ,
            <given-names>P.</given-names>
          </string-name>
          :
          <article-title>Linking lexical resources and ontologies on the semantic web with lemon</article-title>
          .
          <source>In: The Semantic Web: Research and Applications</source>
          . (
          <year>2011</year>
          )
          <fpage>245</fpage>
          -
          <lpage>259</lpage>
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          3.
          <string-name>
            <surname>Cimiano</surname>
            ,
            <given-names>P.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Buitelaar</surname>
            ,
            <given-names>P.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>McCrae</surname>
            ,
            <given-names>J.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Sintek</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          :
          <article-title>Lexinfo: A declarative model for the lexicon-ontology interface</article-title>
          .
          <source>Web Semantics: Science, Services and Agents on the World Wide Web</source>
          <volume>9</volume>
          (
          <issue>1</issue>
          ) (
          <year>2011</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          4.
          <string-name>
            <surname>Buitelaar</surname>
          </string-name>
          , P. In:
          <article-title>Ontology-based Semantic Lexicons: Mapping between Terms and Object Descriptions</article-title>
          . Cambridge University Press (
          <year>2010</year>
          )
          <fpage>212</fpage>
          -
          <lpage>223</lpage>
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          5.
          <string-name>
            <surname>McCrae</surname>
            ,
            <given-names>J.P.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Fellbaum</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Cimiano</surname>
            ,
            <given-names>P.</given-names>
          </string-name>
          :
          <article-title>Publishing and linking WordNet using RDF and lemon</article-title>
          .
          <source>In: Proceedings of the 3rd Workshop on Linked Data in Linguistics</source>
          . (
          <year>2014</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          6.
          <string-name>
            <surname>Eckle-Kohler</surname>
            ,
            <given-names>J.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>McCrae</surname>
            ,
            <given-names>J.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Chiarcos</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          :
          <article-title>lemonUby-a large, interlinked, syntactically-rich resource for ontologies</article-title>
          .
          <source>Semantic Web Journal</source>
          , submitted. (
          <year>2014</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          7.
          <string-name>
            <surname>Ehrmann</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Vannela</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>McCrae</surname>
            ,
            <given-names>J.P.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Cecconi</surname>
            ,
            <given-names>F.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Cimiano</surname>
            ,
            <given-names>P.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Navigli</surname>
          </string-name>
          , R.:
          <article-title>Representing Multilingual Data as Linked Data: the Case of BabelNet 2.0</article-title>
          .
          <source>In: Proceedings of the Ninth International Conference on Language Resources and Evaluation (LREC)</source>
          .
          <article-title>(</article-title>
          <year>2014</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          8.
          <string-name>
            <surname>Unger</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Cimiano</surname>
            ,
            <given-names>P.</given-names>
          </string-name>
          : Pythia:
          <article-title>Compositional meaning construction for ontology-based question answering on the semantic web</article-title>
          . In Munoz, R., ed.:
          <source>Natural Language Processing and Information Systems: 16th International Conference on Applications of Natural Language to Information Systems</source>
          . Volume
          <volume>6716</volume>
          ., Springer (
          <year>2011</year>
          )
          <fpage>153</fpage>
          -
          <lpage>160</lpage>
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          9.
          <string-name>
            <surname>Cimiano</surname>
            ,
            <given-names>P.</given-names>
          </string-name>
          , L u¨ker, J.,
          <string-name>
            <surname>Nagel</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Unger</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          :
          <article-title>Exploiting ontology lexica for generating natural language texts from RDF data</article-title>
          .
          <source>In: Proceedings of the 14th European Workshop on Natural Language Generation</source>
          . (
          <year>2013</year>
          )
          <fpage>10</fpage>
          -
          <lpage>19</lpage>
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          10.
          <string-name>
            <surname>Davis</surname>
            ,
            <given-names>B.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Badra</surname>
            ,
            <given-names>F.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Buitelaar</surname>
            ,
            <given-names>P.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Wunner</surname>
            ,
            <given-names>T.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Handschuh</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          :
          <article-title>Squeezing lemon with GATE</article-title>
          .
          <source>In: Proceedings of the First Workshop on the Mulitlingual Semantic Web</source>
          . (
          <year>2011</year>
          )
          <fpage>74</fpage>
        </mixed-citation>
      </ref>
      <ref id="ref11">
        <mixed-citation>
          11.
          <string-name>
            <surname>Francopoulo</surname>
            ,
            <given-names>G.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>George</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Calzolari</surname>
            ,
            <given-names>N.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Monachini</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Bel</surname>
            ,
            <given-names>N.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Pet</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Soria</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          , et al.:
          <article-title>Lexical markup framework (LMF)</article-title>
          .
          <source>In: International Conference on Language Resources and Evaluation LREC</source>
          . (
          <year>2006</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref12">
        <mixed-citation>
          12.
          <string-name>
            <surname>Borin</surname>
            ,
            <given-names>L.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Forsberg</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          , L o¨nngren, L.:
          <article-title>SALDO: a touch of yin to WordNet's yang</article-title>
          .
          <source>Language Resources and Evaluation</source>
          <volume>47</volume>
          (
          <issue>4</issue>
          ) (
          <year>2013</year>
          )
          <fpage>1191</fpage>
          -
          <lpage>1211</lpage>
        </mixed-citation>
      </ref>
      <ref id="ref13">
        <mixed-citation>
          13.
          <string-name>
            <surname>Borin</surname>
            ,
            <given-names>L.</given-names>
          </string-name>
          , Danne´lls,
          <string-name>
            <given-names>D.</given-names>
            ,
            <surname>Forsberg</surname>
          </string-name>
          ,
          <string-name>
            <surname>M.</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Toporowska</given-names>
            <surname>Gronostaj</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            ,
            <surname>Kokkinakis</surname>
          </string-name>
          ,
          <string-name>
            <surname>D.</surname>
          </string-name>
          :
          <article-title>The past meets the present in Swedish FrameNet++</article-title>
          .
          <source>In: Proceedings of the 14th EURALEX International Congress</source>
          . (
          <year>2010</year>
          )
          <fpage>269</fpage>
          -
          <lpage>281</lpage>
        </mixed-citation>
      </ref>
      <ref id="ref14">
        <mixed-citation>
          14.
          <string-name>
            <surname>Fillmore</surname>
            ,
            <given-names>C.J.</given-names>
          </string-name>
          , Johnson,
          <string-name>
            <given-names>C.R.</given-names>
            ,
            <surname>Petruck</surname>
          </string-name>
          ,
          <string-name>
            <surname>M.R.L.</surname>
          </string-name>
          : Background to Framenet.
          <source>International Journal of Lexicography</source>
          <volume>16</volume>
          (
          <issue>3</issue>
          ) (
          <year>2003</year>
          )
          <fpage>235</fpage>
          -
          <lpage>250</lpage>
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>