<!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>SWOOKI: A Peer-to-peer Semantic Wiki</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Charbel Rahhal</string-name>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Hala Skaf-Molli</string-name>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Pascal Molli</string-name>
          <email>mollig@loria.fr</email>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Charbel.Rahal</institution>
          ,
          <addr-line>skaf, molli</addr-line>
        </aff>
        <aff id="aff1">
          <label>1</label>
          <institution>INRIA Nancy-Grand Est, Nancy Universite</institution>
          ,
          <country country="FR">France</country>
        </aff>
      </contrib-group>
      <pub-date>
        <year>2001</year>
      </pub-date>
      <abstract>
        <p>In this paper, we propose to combine the advantages of semantic wikis and P2P wikis in order to design a peer-to-peer semantic wiki. The main challenge is how to merge wiki pages that embed semantic annotations. Merging algorithms used in P2P wiki systems have been designed for linear text and not for semantic data. In this paper, we evaluate two optimistic replication algorithms to build a P2P semantic wiki.</p>
      </abstract>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>Introduction</title>
    </sec>
    <sec id="sec-2">
      <title>SWOOKI Approach</title>
      <p>
        SWooki is the rst attempt to build a peer to peer semantic wiki. SWooki is based
on Wooki [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ] a peer-to-peer wiki system. SWooki integrates the semantic web
technology by following the philosophy of Semantic Media Wiki[
        <xref ref-type="bibr" rid="ref2">2</xref>
        ]. The semantic
annotations are embedded in the wiki text via a wiki markup e.g. typed links.
It follows the use of wikis for ontologies approach. A formal ontology emerges
during the edition of the wiki pages. SWooki provides the same functionalities of
any server-based semantic wiki. In addition, SWooki allows the following three
interesting use cases for P2P wikis: (1) a massive collaboration, (2) the o
line editing, and (3) an ad-hoc collaboration [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ]. In order to combine P2P wiki
system with semantic wiki systems, it is very important to know how semantic
wikis represent their semantic data and how they combine textual parts with
semantic parts. The main issue that we address is how to merge wiki pages that
contain semantic annotations and if this combination changes the behavior of
the Semantic Media Wiki. In this paper, we investigate how we can combine the
Wooki with the Semantic Media wiki. We called this combination SWooki.
      </p>
      <p>
        We adopt Wooki [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ] because it supports all use cases for a P2P wiki system
previously cited. In Wooki, wiki pages are replicated over all members of the
p2p overlay network. A wiki page is considered as a sequence of lines. Each
server hosts a copy of pages and can autonomously o er the wiki service. Page
copies at each site are maintained by an optimistic replication mechanism called
Woot [
        <xref ref-type="bibr" rid="ref4">4</xref>
        ] that disseminates changes and ensures consistency. Woot ensures the
CSCW principles of convergence and user intentions. The only two available
merging algorithms for peer-to-peer wikis are the Thomas rule [
        <xref ref-type="bibr" rid="ref5">5</xref>
        ] and Woot
strategy. These algorithms handle linear text. The merge using these algorithms
is done by the server which di ers from the merge done by the users during
concurrent editing in centralized semantic wikis. In case of Thomas rule, only
the modi cations of the user that lastly saved are kept. In case of Woot, the result
includes the modi cations of all users. However, the result in Woot is produced by
the server and must be reviewed by a human in order to verify its accuracy. The
Woot algorithm preserves users intentions, all concurrent e ects are visible in the
nal version of the wiki page. If the user wants to change the result of the merge,
he can do that easily. In conclusion, Swooki adopts the Woot algorithm because
it provides the best solution for the merge by keeping all concurrent changes
made by the users without any lost of updates. The SWooki approach allows to
build a P2P semantic wiki very easily by integrating semantic annotations into
a P2P wiki. It allows also to balance the load of queries. It provides a cheap
way to have many replicas of the same semantic wiki. This total replication of
semantic data can be used to distribute semantic queries on di erent replicas.
      </p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          1.
          <string-name>
            <surname>Weiss</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Urso</surname>
            ,
            <given-names>P.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Molli</surname>
            ,
            <given-names>P.</given-names>
          </string-name>
          :
          <article-title>Wooki: a p2p wiki-based collaborative writing tool</article-title>
          . In: Web Information Systems Engineering, Nancy, France, Springer (
          <year>2007</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          2. Volkel,
          <string-name>
            <surname>M.</surname>
          </string-name>
          , Krotzsch,
          <string-name>
            <given-names>M.</given-names>
            ,
            <surname>Vrandecic</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D.</given-names>
            ,
            <surname>Haller</surname>
          </string-name>
          ,
          <string-name>
            <given-names>H.</given-names>
            ,
            <surname>Studer</surname>
          </string-name>
          , R.:
          <source>Semantic Wikipedia. Proceedings of the 15th international conference on World Wide Web</source>
          (
          <year>2006</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          3.
          <string-name>
            <surname>Androutsellis-Theotokis</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Spinellis</surname>
            ,
            <given-names>D.:</given-names>
          </string-name>
          <article-title>A survey of peer-to-peer content distribution technologies</article-title>
          .
          <source>ACM Computing Surveys</source>
          (
          <year>2004</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          4.
          <string-name>
            <surname>Oster</surname>
            ,
            <given-names>G.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Urso</surname>
            ,
            <given-names>P.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Molli</surname>
            ,
            <given-names>P.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Imine</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          :
          <article-title>Data consistency for P2P collaborative editing</article-title>
          .
          <source>Proceedings of the 2006 20th anniversary conference on Computer supported cooperative work</source>
          (
          <year>2006</year>
          )
          <volume>259</volume>
          {
          <fpage>268</fpage>
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          5.
          <string-name>
            <surname>Johnson</surname>
          </string-name>
          , P.,
          <string-name>
            <surname>Thomas</surname>
            ,
            <given-names>R.:</given-names>
          </string-name>
          <article-title>RFC0677: Maintenance of duplicate databases</article-title>
          .
          <source>Internet RFCs</source>
          (
          <year>1975</year>
          )
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>