<!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>The Polish interface for Linked Open Data</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Aleksander Pohl</string-name>
          <email>aleksander.pohl@uj.edu.pl</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Computational Linguistics Department, Jagiellonian University</institution>
          ,
          <addr-line>Cracow</addr-line>
          ,
          <country country="PL">Poland</country>
        </aff>
      </contrib-group>
      <abstract>
        <p>This paper describes an application which aims at producing Polish descriptions for the data available as Linked Open Data, the MusicBrainz knowledge base contents in particular.</p>
      </abstract>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>1 Introduction</title>
      <p>
        It is trivial to say that the natural language is the most natural way of conveying
information for people. No matter how many formal, unambiguous languages
given person knows, when it comes to quick transfer of semantic content, natural
language is always the best option. This fact is re ected in the recommendations
for the user interface designers. For example one of the Nielsen’s [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ] usability
heuristics1 is: The system should speak the users’ language, with words, phrases
and concepts familiar to the user, rather than system-oriented terms.
      </p>
      <p>This observation stays in a contrast to the fact, that Linked (Open) Data2,
which seems to be the most visible part of the Semantic Web, is usually presented
in a form re ecting the structure of RDF triples3. And even if the content is
available in a more human-readable format4, it still looks table-like and in most
cases it is only available in English.</p>
      <p>As a result, it is hard to imagine, that a person would prefer the strict and
organized information from DBpedia (who reads abstracts in several languages?)
over the same information found in Wikipedia. Obviously this is not an argument
against the Semantic Web, or Linked (Open) Data in particular, this is only an
observation, which shows, that the way the semantic data is presented to the
(non-English speaking) end users could be improved.
The general idea of our approach is as follows: provide an Internet service, which
allows for translation of the data available as RDF triples into natural language
1 http://www.useit.com/papers/heuristic/heuristic_list.html
2 For reference see: http://linkeddata.org
3 See examples in DBpedia: http://dbpedia.org/page/Cher and Citeseer
http://citeseer.rkbexplorer.com/description/resource-CS107764.
4 See examples in OpenCalais http://d.opencalais.com/er/company/
ralg-tr1r/9e3f6c34-aa6b-3a3b-b221-a07aa7933633.html and MusicBrainz
http://musicbrainz.org/artist/bfcc6d75-a6a5-4bc6-8282-47aec8531818.html
descriptions. In the basic scenario, the system should be able to translate
subjectpredicate-object structures, such as http://example.com/John foaf:nick</p>
      <p>Johnny1 5 into John’s nickname is Johnny1 . In more sophisticated
scenarios, it should allow for embedding links, pictures, videos, etc. thus should be
able to translate predicates such as foaf:homepage or foaf:img. And in the
most advanced scenario, it should be able to produce descriptions for complex
structures, such as series of events, assuring that the chronology is correct, the
mentions of people and places are not replicated too often, and so on.</p>
      <p>The value added by such a system comes form the fact, that whenever the
developer of some Linked (Open) Data base uses an ontology which is known to the
system, he doesn’t have to write the RDF-to-NL module, since, if the meaning
of the predicates used is well-de ned, their natural language paraphrases should
stay intact. In fact this solution is not bound to Linked (Open) Data. With
some modi cations it might be used in any application with natural language
(probably multilingual) interface, provided that its data structures were mapped
to the above-mentioned ontology.
3</p>
    </sec>
    <sec id="sec-2">
      <title>The Problems</title>
      <p>In the case of the basic scenario, the paraphrase based on simple templates
connected with particular predicates and lled with the labels of the resources or
the actual values (like numbers) seems to be easily achievable. Similar approach
is used in many applications with multilingual interface when the application
is localized, the templates are translated and they are lled with the data
independently of the language (e.g. in Gmail there is a message at the bottom of
the page: Obecnie u»ywasz 8 MB (0%) z 7500 MB. You are currently using
8MB (0%) of your 7500MB. ).</p>
      <p>In fact, this solution is not as good, as it seems, at least for in ectional
languages in general and Polish in particular. The rst and most problematic
issue is the necessity to accommodate the gender of the subject with the verb.
Thus even for the simplest sentence to be fully sound, the information required
is not directly present in the RDF triple. If we consider the fact, available in
the MusicBrainz knowledge base, that Cher was born on the 20th of May 1946,
we have to know that Cher is a women, to properly construct the sentence
Cher urodzi“a siƒ 20 maja 1946 roku . The same fact about Michael Jackson
is paraphrased as Michael Jackson urodzi“ siƒ 29 sierpnia 1958 roku . So the
template has to be adjusted with respect to the gender of the subject, but
MusicBrainz doesn’t contain the necessary information.</p>
      <p>Another problem tightly connected with in ectional nature of Polish, is the
in ection of numerals. In English, when some application is localized, usually
there is only room for two word forms: singular and plural and the in ectional
scheme is trivial (e.g. There is one track on the CD/There are several tracks on
the CD. ). But in Polish numerals in uence the case of the subordinate nominal
5 See http://xmlns.com/foaf/spec/ for the de nitions of the properties.
phrase and the gender of the nominal phrase in uences the form of the numeral as
well. The (partial) scheme is as follows: 1(jedno) krzes“o (one chair) 2(dwa)
krzes“a 5(piƒ¢) krzese“ 12(dwana–cie) krzese“ 22(dwadzie–cia dwa)
krzes“a 25(dwadzie–cia piƒ¢) krzese“ ; 1(jedna) –cie»ka (one track) : : :
The scheme is further complicated, when the numeral phrase is an argument of
a verb, like in the sentence Przys“uchiwa“em siƒ 1(jednej ) –cie»ce (I listened
to 1 track).
4</p>
    </sec>
    <sec id="sec-3">
      <title>The Partial Solution</title>
      <p>We argue that the most reasonable solution for the above mentioned problems (as
well others connected with RDF-to-NL translation) is the implementation of the
logic-to-NL translation system for a general ontology. Such an ontology should
distinguish men from women (distinction not always present in domain-speci c
ontologies, like Music Ontology6) and other things. It should also contain many
other concepts and relations, for the logic-to-NL system to be at least partially
complete. Being a part of Linked Open Data is also necessary. Such a system
would be a rm base for the RDF-to-NL translation application.</p>
      <p>
        We think that the Cyc ontology [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ] is the best candidate. First of all it has
a logic-to-English translation module, so providing the English paraphrases for
RDF triples should be easy. It is a general ontology, with very broad coverage
(in terms of concepts several hundreds of thousands and relations more than
20 thousands) and provides a Semantic Web end-point7. It is also well connected
with DBpedia and some other elements of Linked Open Data.
      </p>
      <p>
        Still Cyc contains only the English lexicon, that is the mapping between
concepts and English words. In our previous research we created an algorithm
for mapping of Cyc concepts to Polish one-segment expressions [
        <xref ref-type="bibr" rid="ref4">4</xref>
        ]. This
research is further carried out and the results will be presented on the
International Multiconference on Computer Science and Information Technology in the
Computational Linguistic Applications track8. The important fact about the
constructed Polish lexicon is that, it is based on the Polish in ectional
dictionary described in [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ]. This means that the information necessary for accurate
paraphrases accommodating common nouns and verbs as well as numerals and
common nouns will be available in it.
      </p>
      <p>Still the in ectional dictionary doesn’t contain most of the proper names
which are so common in knowledge bases and as a result the accommodation of
subject and verb has to be carried out di erently 9. This is the case where the
Semantic Web plays its part the information which is so easily available for
people, namely the gender of a person, might be deduced by the system from Linked
Open Data and the Cyc ontology. First of all the concepts representing men and
6 http://musicontology.com/ the ontology used in MusicBrainz
7 http://sw.opencyc.org/
8 http://www.imcsit.org/pg/358/281
9 The in ection of unknown proper names is not covered in this research. Thus the
paraphrase is not accurate if the proper name occurs at the argument position.
women should be identi ed in Cyc (it is #$MaleHuman and #$FemaleHuman
respectively). Then the categories of the object should be looked up in the source
knowledge base. If any of it is a specialization10 of one of the above mentioned
classes, the gender could be determined. If not, the same procedure should be
applied for the knowledge bases containing synonyms of the object in question.
The procedure would stop if any knowledge base allowed for determining the
gender or certain threshold (timeout, number of visited knowledge bases, etc.)
were reached.</p>
      <p>For example Cher, whose MusicBrainz address is http://dbtune.org/
musicbrainz/resource/artist/bfcc6d75a6a5-4bc6-8282-47aec8531818, is
linked to the DBpedia resource http://dbpedia.org/page/Cher, where one of
her OpenCyc types is http://sw.opencyc.org/2008/06/10/concept/
Mx4rvVjW5ZwpEbGdrcN5Y29ycA (female person) which directly indicates, that
she is a woman.
5</p>
    </sec>
    <sec id="sec-4">
      <title>The Application</title>
      <p>An application was build which creates Polish paraphrases for portion of the
knowledge available in the MusicBrainz knowledge base. It is available under
the URL: http://klon.wzks.uj.edu.pl/cycdemo and is integrated with the
tool used for mapping Cyc symbols to Polish words and expressions. The actual
functionality is available when the user clicks the search (szukaj) button and
selects the Sparql engine. When he enters the name of an artist or an album
(case sensitive), the resources found in the base are presented11. If he clicks the
white button on the right of the resource, he will see the table with properties
describing the resource. The information is presented systematically, but it is
not easy to understand. If the user clicks the yellow button, he will see the
Polish paraphrase of the data. Not all the data which is available in the base is
presented, but the text is much more appealing and intelligible.</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          1.
          <string-name>
            <surname>Lenat</surname>
          </string-name>
          , D.B.:
          <article-title>CYC: A large-scale investment in knowledge infrastructure</article-title>
          .
          <source>Communications of the ACM</source>
          <volume>38</volume>
          (
          <issue>11</issue>
          ),
          <fpage>33</fpage>
          <lpage>38</lpage>
          (
          <year>1995</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          2.
          <string-name>
            <surname>Nielsen</surname>
          </string-name>
          , J.:
          <article-title>Usability Inspection Methods, chap</article-title>
          .
          <source>Heuristic Evaluation</source>
          , pp.
          <fpage>25</fpage>
          <lpage>62</lpage>
          . John Wiley &amp; Sons (
          <year>1994</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          3.
          <string-name>
            <surname>Pisarek</surname>
            ,
            <given-names>P.:</given-names>
          </string-name>
          <article-title>S“owniki komputerowe i automatyczna ekstrakcja informacji z tekstu, chap</article-title>
          . S“ownik eksyjny, pp.
          <fpage>37</fpage>
          <lpage>68</lpage>
          . Uczelniane Wydawnictwo
          <string-name>
            <surname>Naukowo-Dydaktyczne</surname>
            <given-names>AGH</given-names>
          </string-name>
          (
          <year>2009</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          4.
          <string-name>
            <surname>Pohl</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          :
          <article-title>Automatic Construction of the Polish Nominal Lexicon for the OpenCyc Ontology</article-title>
          .
          <source>In: Recent Advances in Intelligent Information Systems</source>
          (
          <year>2009</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          <string-name>
            <surname>10</surname>
          </string-name>
          <article-title>The equivalence of the classes in given knwoledge base and Cyc might be established via the http</article-title>
          ://sameas.org service.
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          <string-name>
            <surname>11</surname>
          </string-name>
          <article-title>The query takes much time, since it consists of many sub-queries to the Semantic Web end-points.</article-title>
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>