<!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>
      <journal-title-group>
        <journal-title>(accessed March</journal-title>
      </journal-title-group>
    </journal-meta>
    <article-meta>
      <title-group>
        <article-title>Connecting Semantic MediaWiki to different Triple Stores Using RDF2Go</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Manfred Schied</string-name>
          <email>manfred.schied@stud.uni-r.de</email>
          <xref ref-type="aff" rid="aff0">0</xref>
          <xref ref-type="aff" rid="aff1">1</xref>
          <xref ref-type="aff" rid="aff3">3</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Anton Köstlbacher</string-name>
          <email>anton.koestlbacher@sprachlit.uni-r.de</email>
          <xref ref-type="aff" rid="aff0">0</xref>
          <xref ref-type="aff" rid="aff1">1</xref>
          <xref ref-type="aff" rid="aff3">3</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>. Christian Wolff</string-name>
          <email>christian.wolff@sprachlit.uni-r.de</email>
          <xref ref-type="aff" rid="aff0">0</xref>
          <xref ref-type="aff" rid="aff2">2</xref>
          <xref ref-type="aff" rid="aff3">3</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>An Abstraction Layer for Triple Stores</institution>
        </aff>
        <aff id="aff1">
          <label>1</label>
          <institution>Information Science /</institution>
        </aff>
        <aff id="aff2">
          <label>2</label>
          <institution>Media Computing Universitätsstr.</institution>
          <addr-line>31, 93053 Regensburg</addr-line>
          ,
          <country country="DE">Germany</country>
        </aff>
        <aff id="aff3">
          <label>3</label>
          <institution>University of Regensburg</institution>
        </aff>
      </contrib-group>
      <pub-date>
        <year>2008</year>
      </pub-date>
      <volume>3</volume>
      <issue>2010</issue>
      <fpage>2</fpage>
      <lpage>6</lpage>
      <abstract>
        <p>This article describes a generic triple store connector for the popular Semantic MediaWiki software to be used with different triple stores like Jena or Sesame. Using RDF2Go as an abstraction layer it is possible to easily exchange triple stores. This ongoing work is part of the opendrugwiki project, a semantic wiki for distributed pharmaceutical research groups. Triple stores are storage systems tailored for efficient storage of RDF data [4]. In addition, triple stores offer services and programming libraries for inferring new facts or for accessing data using a query language. In a distributed computing system a triple store is a rather independent component with specific features which can be utilized by an associated application programming interface (API). In addition, semantic wiki data can be used in other applications or served as linked data on the web [10]. At the moment, three different triple store products are available for use with SMW, each with a specific connector to SMW. Two of them, RAP [5] and Ontoprise Basic Triplestore [6] are based on open source software, the third one, Ontobroker, is</p>
      </abstract>
      <kwd-group>
        <kwd>triple store connector</kwd>
        <kwd>semantic mediawiki</kwd>
        <kwd>rdf2go</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>Introduction</title>
      <p>
        Semantic MediaWiki (SMW) [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ] is one of the most popular and mature semantic wiki
engines currently available [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ]. It is based on the MediaWiki software [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ]. Queries
within wiki articles allow reusing available semantic data. For extended query results
or to query stored facts from outside the wiki it is necessary to connect SMW to a
triple store.
      </p>
      <p>
        We use Semantic MediaWiki for knowledge-based applications in the domain of
pharmacy, focusing on psychiatric therapy. In the following, we briefly describe the
motivation for a generic triple store connector (ch. 2), give some information on the
application context (ch. 3) and explain our implementation approach (ch. 4).
a commercial product [
        <xref ref-type="bibr" rid="ref7">7</xref>
        ]. As SMW (with Halo Extension, see [15]) doesn’t follow
W3C’s recommended SPARQL/UL format exactly [
        <xref ref-type="bibr" rid="ref8">8</xref>
        ], but uses its own data format
for communicating with triple stores, it is necessary to have a connector software
between the two systems. To enable users of SMW to select the triple store most
suitable for their needs, we have implemented a generic triple store connector using
the RDF2Go library [
        <xref ref-type="bibr" rid="ref9">9</xref>
        ]. This setup abstracts from the underlying triple store and
makes the storage layer easily exchangeable.
3
      </p>
    </sec>
    <sec id="sec-2">
      <title>Application Context</title>
      <p>The work described here has been carried out in the context of the recently started
opendrugwiki project which itself evolved from the drug interaction database
PsiacOnline1. In PsiacOnline, drug-interaction information in psychiatric treatment has
been collected, uniformly structured, and evaluated by a team of experts in the field
[11]. Transforming this approach in the direction of semantic social software appears
as a logical next step: On the one hand, we expect a large community of interested
experts working in psychiatry to be ready to contribute to this novel method of
collecting interaction data. On the other hand, we assume that semantic wikis and the
usage of structured knowledge representation standards are adequate for the given
information and will allow for the answering of complex information needs.
4</p>
    </sec>
    <sec id="sec-3">
      <title>Implementation Details</title>
      <p>RDF2Go is a Java library developed at the Forschungszentrum Informatik (FZI) in
Karlsruhe providing abstract data access methods to RDF triples stored in a triple
store (“program now, decide on triple store later”2). It uses common adapter classes to
access different triple stores. At the moment, RDF2Go delivers adapter classes for
Jena [12] and Sesame [13] and can easily be extended to other triple stores.
Communication between SMW and the triple store connector is done via SPARQL and the
SPARUL extension [14]. Initial Loading of RDF data from SMW into the triple store
is triggered with a SPARUL LOAD command on part of SMW. The connector
handles this event by reading the semantic data directly from SMW’s database tables due
to performance reasons and a missing function for retrieving the wiki’s semantic data
as a whole via HTTP.
1 PsiacOnline is an online service offered by SpringerMedizin: http://www.psiac.de
2 Cf. http://semanticweb.org/wiki/RDF2Go and http://rdf2go.semweb4j.org/</p>
    </sec>
    <sec id="sec-4">
      <title>Demonstration and Conclusion</title>
      <p>For the demonstration of our approach, we will present typical usage scenarios taken
from our application domain, i.e. drug interaction description and retrieval. Besides
showing the feasibility of using an abstract triple store access layer, we also want to
demonstrate how semantic wiki technology can facilitate search in complex structured
medical data.</p>
      <p>By making external semantic storage engines for Semantic MediaWiki
exchangeable in an easy way, SMW can be conveniently integrated in sophisticated distributed
systems. The wiki’s semantic data can be re-used with other applications much better
since it isn’t limited to the triple store engines which have been implemented so far.
This enables users of SMW to choose a triple store engine which fulfills their
individual needs concerning inference and retrieval of semantic data.
6</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          1.
          <string-name>
            <surname>Krötzsch</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Vrandečić</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Völkel</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          :
          <article-title>Semantic MediaWiki</article-title>
          .
          <source>In: Proceedings of the 5th International Semantic Web Conference (ISWC'06)</source>
          . LNCS, vol.
          <volume>4273</volume>
          , pp.
          <fpage>935</fpage>
          -
          <lpage>942</lpage>
          . Heidelberg: Springer, (
          <year>2006</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          2.
          <string-name>
            <surname>Köstlbacher</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Maurus</surname>
          </string-name>
          , J.:
          <article-title>Semantische Wikis für das Wissensmanagement</article-title>
          . In: DGI e.V./M. Heckner,
          <string-name>
            <surname>C.</surname>
          </string-name>
          Wolff (Ed.).
          <source>Information Wissenschaft und Praxis. Mai/Juni</source>
          <year>2009</year>
          , Wiesbaden: Dinges &amp; Frick GmbH, pp.
          <fpage>225</fpage>
          -
          <lpage>231</lpage>
          (
          <year>2009</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          3. MediaWiki contributors: Mediawiki, The Free Wiki Engine, http://www.Mediawiki.org/ w/index.php?title=Mediawiki&amp;oldid=65192 (
          <issue>accessed March 3</issue>
          ,
          <year>2010</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          4.
          <string-name>
            <surname>Rusher</surname>
            ,
            <given-names>J.: Triple</given-names>
          </string-name>
          <string-name>
            <surname>Store</surname>
          </string-name>
          . Position Paper, Workshop on Semantic Web Storage and
          <string-name>
            <surname>Retrieval</surname>
          </string-name>
          (
          <year>2003</year>
          ). http://www.w3.org/2001/sw/Europe/events/20031113-storage/positions/rusher.html
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          5.
          <string-name>
            <surname>Oldakowski</surname>
            ,
            <given-names>R.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Bizer</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Westphal</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          :
          <article-title>RAP: RDF API for PHP</article-title>
          .
          <source>In: Proceedings of the ESWC Workshop on Scripting for the Semantic Web</source>
          (
          <year>2005</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          6. Ontoprise GmbH (Ed.): Basic Triplestore, http://smwforum.ontoprise.com/smwforum/ index.php/Help:Basic_
          <source>Triplestore (accessed March 3</source>
          ,
          <year>2010</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          7. Ontoprise GmbH (Ed.): Ontobroker, http://www.ontoprise.de/en/home/products/ontobroker/ (accessed March 3,
          <year>2010</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          8.
          <string-name>
            <surname>Beckett</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Broekstra</surname>
          </string-name>
          , J.:
          <source>SPARQL Query Results XML Format. W3C Recommendation 15 January</source>
          <year>2008</year>
          . http://www.w3.org/TR/rdf-sparql-XMLres/ (accessed April 21,
          <year>2010</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          9.
          <string-name>
            <surname>Völkel</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          :
          <article-title>Writing the Semantic Web with Java</article-title>
          .
          <source>Technical report, DERI Galway</source>
          (
          <year>2005</year>
          )
          <fpage>10</fpage>
          .
          <string-name>
            <surname>Bizer</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Cyganiak</surname>
            ,
            <given-names>R.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Heath</surname>
            ,
            <given-names>T.</given-names>
          </string-name>
          :
          <article-title>How to Publish Linked Data on the Web</article-title>
          . http://www4.wiwiss.fu-berlin.de/bizer/pub/LinkedDataTutorial/ (accessed April 22,
          <year>2010</year>
          )
          <fpage>11</fpage>
          .
          <string-name>
            <surname>Köstlbacher</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Hiemke</surname>
            <given-names>C.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Haen</surname>
            <given-names>E.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Eckermann</surname>
            ,
            <given-names>G.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Dobmaier</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Hammwöhner</surname>
            <given-names>R.</given-names>
          </string-name>
          ,
          <article-title>PsiacOnline - Fachdatenbank für Arzneimittelwechselwirkungen in der psychiatrischen Pharmakotherapie</article-title>
          . In: Osswald, Achim; Stempfhuber, Maximilian; Wolff, Christian (eds.).
          <source>Open Innovation. Proc. 10 Internationales Symposium für Informationswissenschaft ISI 2007. Constance: UVK</source>
          ,
          <fpage>321</fpage>
          -
          <lpage>326</lpage>
          . (
          <year>2007</year>
          )
          <article-title>12</article-title>
          .
          <string-name>
            <surname>McBride</surname>
            ,
            <given-names>B.</given-names>
          </string-name>
          :
          <article-title>Jena: A Semantic Web Toolkit</article-title>
          .
          <source>In: IEEE Internet Computing November/December</source>
          <year>2002</year>
          , pp.
          <fpage>55</fpage>
          -
          <lpage>59</lpage>
          . (
          <year>2002</year>
          )
          <fpage>13</fpage>
          .
          <string-name>
            <surname>Broekstra</surname>
            ,
            <given-names>J.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Kampman</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          :
          <article-title>Sesame: A generic architecture for storing and querying RDF and RDF Schema</article-title>
          .
          <source>Technical report</source>
          . Amersfoort:
          <article-title>Aidministrator Nederland b</article-title>
          . v., (
          <year>2001</year>
          ).
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>