<!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>Annotation Component in KiWi</article-title>
      </title-group>
      <contrib-group>
        <aff id="aff0">
          <label>0</label>
          <institution>Faculty of Information Technology Brno University of Technology Bozetechova 2</institution>
          ,
          <addr-line>612 66 Brno</addr-line>
          ,
          <country country="CZ">Czech Republic</country>
        </aff>
        <aff id="aff1">
          <label>1</label>
          <institution>Knowledge Representation in KiWi</institution>
        </aff>
      </contrib-group>
      <abstract>
        <p>This paper deals with key functionalities of the KiWi annotation component and shows how it enables seamless combination of informal and formal knowledge and transformation of the former to the latter. It demonstrates how the advanced KiWi features, such as nested content items, reasoning and information extraction, can be used together to make rich semantic annotation easy and useful.</p>
      </abstract>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>Introduction</title>
      <p>
        The original wiki systems employ speci c wiki languages to edit content. Such
languages can easily be extended to allow semantic annotations, which is the
approach taken by various semantic wiki systems, such as Semantic MediaWiki [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ].
Other approaches to semantic data editing, as, e.g., in OntoWiki [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ], provide a
rich interface to edit RDF. However, these annotations are not integrated into
wiki text content. In KiWi [
        <xref ref-type="bibr" rid="ref4">4</xref>
        ], we combine semantic annotations directly with
the text content of the wiki pages and provide advanced user interfaces
supporting the annotation process with the help of suggestions coming from information
extraction.
annotating a paper with a marker, enhanced with semantics. Nested content
items are used for annotating whole sections of text with arbitrary metadata.
While no explicit about resource as in Semperwiki is supported in KiWi itself,
such behaviour can be implemented in KiWi using the native KiWi reasoning
support by creating rules. It is thus possible to de ne an `about' rule, such that
nested item would act as a proxy for a di erent resource, and any RDF triple
assigned to the nested item could automatically be inferred on the referenced
resource.
3
      </p>
    </sec>
    <sec id="sec-2">
      <title>User Interface for Information Extraction</title>
      <p>
        The information extraction service in the KiWi system uses natural language
processing and machine learning algorithms to provide suggestions for
annotations [
        <xref ref-type="bibr" rid="ref5">5</xref>
        ]. There are two ways users can interact with the information extraction
services in KiWi.
3.1
      </p>
      <p>ASIDE { Annotate Single Document E
ciently
Users can create and edit all kinds of annotations supported by the KiWi
system mentioned in the previous section. The information extraction component
supports the user by displaying suggestions.</p>
      <p>Suggestions can be applied at various stages of the annotation process. Some
suggestions can be shown directly in the text, so that the user can select the
piece of text just by clicking on the suggestion.</p>
      <p>When the user makes a selection of the piece of the text, all the suggestions
relevant to that piece of text are displayed. This may include more suggestions
than the previous step, as an additional information extraction step is taken at
this time which employs apriori information on selecting the particular piece of
text.</p>
      <p>To support emerging knowledge, it is also crucial to support partially
speci ed annotations (such as a link to an entity of which only type is known, but
no entity to link to exists yet), or annotations that con ict with the current
ontology (such as an object predicate linking to an entity of a wrong type). The
user interface shows the partial annotations in yellow and erroneous annotations
in red.</p>
      <p>Some suggestions can be ambiguous, such as a suggestion for a link to a user
page based on the user names. The annotation can be directly created from these
kinds of suggestions, but it will be marked as partially speci ed, so the user sees
that additional action is necessary to make this annotation into a `green' correct
one.</p>
      <p>The suggestions can also be displayed in a list sorted by type. The suggestion
list includes properties which are de ned for the current content item type, but
for which no suggestions have been found in the document. A user can thus see
if there are some of the required annotations missing. Then, she can annotate
just by dragging a selected piece of text and dropping it to a particular type box
to create an annotation of this type. List of types for the current content item
is generated from the underlying ontology.
3.2</p>
      <p>AMUSE { Annotate Multiple Documents Simultaneously (and
E ciently)
Especially when dealing with a new task, it is often the case that one needs to
semantically enrich many documents of the same type, e.g., a bunch of minutes
from a series of previous meetings. The use of the ASIDE tool introduced in the
previous subsection on each individual wiki page would mean a tedious work. In
these situations, it is preferable to focus on a speci c type of annotations and
process all the documents in one run.</p>
      <p>AMUSE is a kind of discovery tool intended to identify all instances of the
given type in all the documents available. This tool is also used to con gure the
information extraction services and to `tune' it with respect to the particular
type of annotation being extracted.</p>
      <p>Machine learning algorithms are employed to classify potential instances.
AMUSE takes advantage of existing annotations found in the initial training
data and retrains the classi ers on the user feedback (accepting or rejecting
suggestions).</p>
      <p>The behaviour of the tool depends on the type of entity it is used on:
{ Types. Identify all the pages of the given type, based on document classi
cation. In addition to document features, contextual features derived from
the links to pages of the given type are used for classi cation.
{ Tags. Same as for types, but additionally also discover all the text fragments
that should have this tag.
{ Datatype properties, such as `foaf:birthday'. Classify all the fragments of the
particular type. A speci c extractor can be assigned to each of these kinds of
extractions (such as a date extractor for recognizing date information from
text, money extractor to recognize amounts of money in a listed currencies,
etc.)
{ Object properties, such as `foaf:currentProject'. Discovers links to entities
and their roles. It works in combination with the type classi er to recognize
roles of the potential links.
{ Other entities. Discover links to this entity from other pages. This may
involve disambiguating titles shared by several pages.</p>
      <p>After the initialization of this tool for a speci c entity (type, tag or property),
AMUSE displays a ranked list of suggestions coming from various content items.
Users can immediately accept or reject the suggestions, thus annotating the
content items and improving the system by providing the training examples at
the same time.
The scenario discussed in this subsection corresponds to an enterprise setting. A
semantic wiki is used to facilitate the knowledge formalisation process in project
management tasks. Various kinds of information need to be formally represented
in the knowledge base, such as information about projects, customers, people,
resources, meetings and tasks. This data can then appear in simple queries (`who
attended the meetings where project Foo was discussed'), better task
management (tasks can be formally de ned directly in the meeting minutes document
and automatically appear in the responsible person's `todo' lists and calendars).
This scenario assumes that an ontology describing the entities and their relations
already exists in the system.</p>
      <p>As demonstrated by Figure 1, meeting minutes are produced in the KiWi
system. The annotation tool is opened. The system immediately o ers suggestion
regarding the type of the document. Selecting the proper type leads to more
relevant suggestions. The information extraction component recognizes some of
the names of people present and correctly o ers the role `participants'. One of
the names could not be identi ed, because this user was not mentioned yet in the
system. It is still recognized that the string corresponds probably to a name of a
person, though, so a suggestion to create a new entity of the type `foaf:Person' is
displayed. Accepting the suggestion creates a new entity in the knowledge base.
It will be recognized in all further documents.</p>
      <p>Some of the other recognized entities are irrelevant for the current context
(such as matching general terms in the ontology), so the user rejects these
suggestions. The provided feedback instructs the system not to o er these suggestions
in similar contexts in future steps. The user accepts one other suggestion
triggered by a label of one of the projects. The meeting is now formally associated
with the project.</p>
      <p>The user can create another annotation, such as selecting a piece of text
around an action item and clicking the Nested Content Item button and selecting
the type ActionItem. The ActionItem class speci es several properties, such
as deadline and responsible persons. The user can ll the responsible person
property just by dragging-and-dropping one of the person annotations created
earlier. The task will automatically appear in the task list of the responsible
person after the automatic application of the appropriate reasoning rule.
5</p>
    </sec>
    <sec id="sec-3">
      <title>Conclusions and Future Directions</title>
      <p>The annotation component introduced in this paper has become an integral part
of the KiWi system. It enables formal semantic annotation of any kind of existing
content. Information extraction supports the annotation by providing
contextdependent suggestions which are naturally integrated into the user interface.
The discussed use-case scenario shows advantages of the implemented tools in
realistic conditions.</p>
      <p>Our future work will focus on merging the annotation tool and the KiWi
editor and on displaying the suggestions at real time while editing the content.
We will also continue to collect real use data to quantify the actual improvement
in the annotation process given by the suggestions.</p>
      <p>Acknowledgement The research has received funding from the EC's Seventh
Framework Programme (FP7/2007-2013) under grant agreement No. 211932.</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          1.
          <string-name>
            <surname>Auer</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Dietzold</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          , and
          <string-name>
            <surname>Riechert</surname>
            ,
            <given-names>T.</given-names>
          </string-name>
          <article-title>Ontowiki-A tool for social, semantic collaboration</article-title>
          .
          <source>Lecture notes in computer science 4273</source>
          (
          <year>2006</year>
          ),
          <fpage>736</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          2. Krotzsch,
          <string-name>
            <given-names>M.</given-names>
            ,
            <surname>Vrandecic</surname>
          </string-name>
          ,
          <string-name>
            <surname>D.</surname>
          </string-name>
          , and Volkel,
          <string-name>
            <surname>M.</surname>
          </string-name>
          <article-title>Semantic mediawiki</article-title>
          .
          <source>In ISWC</source>
          (
          <year>2006</year>
          ), vol.
          <volume>6</volume>
          , Springer, pp.
          <volume>935</volume>
          {
          <fpage>942</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          3.
          <string-name>
            <surname>Renaud</surname>
            ,
            <given-names>E. O.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Delbru</surname>
            ,
            <given-names>R.</given-names>
          </string-name>
          , Moller,
          <string-name>
            <surname>K.</surname>
          </string-name>
          , and Volkel,
          <string-name>
            <surname>M.</surname>
          </string-name>
          <article-title>Annotation and navigation in semantic wikis</article-title>
          . In SemWiki (
          <year>2006</year>
          ), p.
          <fpage>29</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          4.
          <string-name>
            <surname>Schaffert</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Eder</surname>
            ,
            <given-names>J.</given-names>
          </string-name>
          , Grunwald,
          <string-name>
            <given-names>S.</given-names>
            ,
            <surname>Kurz</surname>
          </string-name>
          ,
          <string-name>
            <given-names>T.</given-names>
            ,
            <surname>Radulescu</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            ,
            <surname>Sint</surname>
          </string-name>
          ,
          <string-name>
            <given-names>R.</given-names>
            , and
            <surname>Stroka</surname>
          </string-name>
          ,
          <string-name>
            <surname>S.</surname>
          </string-name>
          <article-title>KiWi{a platform for semantic social software</article-title>
          .
          <source>In Proceedings of the 4th Workshop on Semantic Wikis, European Semantic Web Conference</source>
          (
          <year>2009</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          5.
          <string-name>
            <surname>Smrz</surname>
            ,
            <given-names>P.</given-names>
          </string-name>
          , and
          <string-name>
            <surname>Schmidt</surname>
            ,
            <given-names>M. Information</given-names>
          </string-name>
          <article-title>Extraction in Semantic Wikis</article-title>
          .
          <source>In Proceedings of the 4th Workshop on Semantic Wikis, European Semantic Web Conference</source>
          (
          <year>2009</year>
          ).
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>