<!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>Towards Linked Data Services</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Sebastian Speiser</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Andreas Harth</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Institute AIFB, Karlsruhe Institute of Technology (KIT)</institution>
          ,
          <country country="DE">Germany</country>
        </aff>
      </contrib-group>
      <abstract>
        <p>Large amounts of data reside in sources which are not webaccessible. Wrappers { small software programs that provide uniform access to data { are often used to transform legacy data sources for use on the Semantic Web. Wrappers, as well as links between data from wrapped sources and data that already exists on the Web, are typically created in an ad-hoc fashion. We propose a principled approach to integrating data-providing services with Linked Data. Linked Data Services (LIDS) can be used in various application scenarios to provide uniform access to legacy data and enable automatic interlinkage with existing data sets.</p>
      </abstract>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>Introduction</title>
      <p>URI and the person's Twitter wrapper URI, which is created by appending the
username to http://twitter2foaf.appspot.com/id/.</p>
      <p>Legacy data should be published so that automated integration and processing is
possible, which requires:
{ uniform interfaces to all services and data sources, so that data can be easily
accessed and integrated; and
{ formal service descriptions, so that links between data from di erent sources can
be established automatically.</p>
      <p>We present preliminary work on such an approach to create what we call LInked
Data Services (LIDS). Using LIDS, vast amounts of idle data can be brought to the
Semantic Web via a standardised method for creating Linked Data interfaces to services.
LIDS, in addition, enable (semi-)automatic service discovery and integration.</p>
    </sec>
    <sec id="sec-2">
      <title>2 Scenario</title>
      <p>Consider an investor who wants to assess the outlook of a potential investment target.
The investor could vet the company by navigating an integrated dataset containing
basic company data, key personnel, competitors, job openings, IP portfolio and previous
VC investments in the company. All required information is available on the Web, but
with three major drawbacks: i) data is accessible via several incompatible protocols ii)
data is encoded in various character encodings and syntaxes and iii) data is sparsely
interlinked.</p>
      <p>Consider a description of a company o ce (e.g. #deu-karlsruhe-), which contains
latitude and longitude attributes (e.g. 48.996 and 8.463), and a GeoNames service
that nds nearby places described in Wikipedia6. Calling the service with the given
latitude/longitude returns:
&lt;geonames&gt; &lt;entry&gt;
&lt;title&gt;Turmbergbahn&lt;/title&gt;
&lt;summary&gt;The Turmbergbahn is a funicular railway near</p>
      <p>Karlsruhe in Germany...&lt;/summary&gt;
&lt;wikipediaUrl&gt;http://en.wikipedia.org/wiki/Turmbergbahn&lt;/wikipediaUrl&gt;
...
&lt;/entry&gt;
&lt;entry&gt;
&lt;title&gt;Durlach&lt;/title&gt;
&lt;summary&gt;Durlach is a borough of the German city of Karlsruhe..&lt;/summary&gt;
...
&lt;/geonames&gt;
Based on the available data one could establish a foaf:based_near connection between
#deu-karlsruhe- and http://dbpedia.org/resource/Turmbergbahn, however, that
step would require specialised code.</p>
      <sec id="sec-2-1">
        <title>6 http://ws.geonames.org/findNearbyWikipedia</title>
        <p>In the following we describe the LIDS approach using an example. We focus on
dataproviding services, which return data that is related in a speci c way to the given
parameters. We extend that notion for Linked Data Services as follows:</p>
        <p>A Linked Data Service (LIDS) provides HTTP URIs for entities representing
service inputs that encode parameters as key-value pairs in the query string. Dereferencing
the URI via HTTP GET returns an RDF description of the service input entity, its
relation to the service output and the output data itself. Both input and output of a
LIDS are formally described using SPARQL.</p>
        <p>For example, a LIDS wrapper for the exemplary GeoNames service is available
at http://geowrap.openlids.org/findNearbyWikipedia. Input parameters are
encoded in the query string of the service URI, e.g. http://geowrap.openlids.org/
findNearbyWikipedia?lat=48.996&amp;lng=8.463. To establish an \non-information" URI
we add a localname to derive the entity URI, e.g. http://geowrap.openlids.org/
findNearbyWikipedia?lat=48.996&amp;lng=8.463#point. Looking up the entity returns
a \non-information" URI denoting the input point and the relation to URIs of nearby
places from Wikipedia (we substitute Wikipedia URIs with those from DBpedia7):
@prefix foaf: &lt;http://xmlns.com/foaf/0.1/&gt; .
@prefix dbp: &lt;http://dbpedia.org/resource/&gt; .
&lt;http://geowrap...Wikipedia?lat=48.996&amp;lng=8.643#point&gt;
foaf:based_near dbp:Turmbergbahn ;
foaf:based_near dbp:Durlach .</p>
        <p>A LIDS returning a URI with the input parameter allows for adding additional
descriptions to that URI; e.g., we could use the owl:sameAs property to establish
equivalence between http://geowrap.openlids.org/findNearbyWikipedia?lat=48.
996&amp;lng=8.463#point and #deu-karlsruhe-.</p>
        <p>We propose a simple vocabulary for LIDS8 that de nes a class for LIDS and a
description property relating a LIDS to a SPARQL query describing the service. The
LIDS description of the geowrap service is as follows:</p>
        <sec id="sec-2-1-1">
          <title>CONSTRUCT { ?point foaf:based_near ?feature . }</title>
        </sec>
        <sec id="sec-2-1-2">
          <title>FROM &lt;http://geowrap.openlids.org/findNearbyWikipedia&gt;</title>
        </sec>
        <sec id="sec-2-1-3">
          <title>WHERE { ?point geo:lat ?lat . ?point geo:long ?lng . }</title>
          <p>The use of unsafe variables and the meaning of the FROM clause are not completely
adhering to the SPARQL standard, but have their intuitive meaning. The FROM clause
encodes the base URI of the service. Please note the user of unsafe variables (here:
?feature), which are bound by the service during execution. The variable appearing
in both CONSTRUCT and WHERE clause (here: ?point) denotes the input entity
and is used for building entity URIs.</p>
        </sec>
      </sec>
      <sec id="sec-2-2">
        <title>7 http://dbpedia.org/</title>
      </sec>
      <sec id="sec-2-3">
        <title>8 http://openlids.org/vocab</title>
        <p>
          In contrast to our proposal, early Web service description formalisms, such as WSDL,
do not model the relation between input and output data, which leaves space for
ambiguities. General Semantic Web Services approaches include OWL-S9 and WSMO [
          <xref ref-type="bibr" rid="ref4">4</xref>
          ]
still lack practical applications, which can be partially explained by their complexity
and their use of formalisms that are not familiar to all Semantic Web users.
Semantic descriptions of stateless services (e.g. [
          <xref ref-type="bibr" rid="ref2 ref3 ref5">3, 2, 5</xref>
          ]) de ne service functionality in terms
of input and output conditions, however, employ proprietary description formalisms
and/or static de nition of inputs and outputs. Our approach is more exible and
better integrates with the Linked Data principles.
5
        </p>
      </sec>
    </sec>
    <sec id="sec-3">
      <title>Conclusions and Future Work</title>
      <p>We have presented preliminary work on an approach to integrating data services with
Linked Data. A uniform access method { compatible to Linked Data principles { in
combination with a lightweight service description, enables the creation of LInked Data
Services (LIDS). LIDS have formal, yet lightweight and exible descriptions based on
SPARQL, a language which is familiar to many Semantic Web users and developers.</p>
      <p>LIDS can be used in a number of scenarios. In the future, we plan to develop and
study algorithms that automatically enrich existing Linked Data with links to LIDS,
which can happen in di erent settings, e.g.:
{ processing of static RDF data, inserting links to LIDS, and storing the result;
{ dynamically adding links to LIDS to the result of a Linked Data endpoint;
{ locally augmenting retrieved data with data from LIDS in a data browser;
{ using data from LIDS during SPARQL query processing.</p>
      <p>For a formal treatment of LIDS, more example services and up-to-date information
visit http://openlids.org/.</p>
      <sec id="sec-3-1">
        <title>9 http://www.w3.org/Submission/OWL-S/</title>
      </sec>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          1.
          <string-name>
            <given-names>C.</given-names>
            <surname>Bizer</surname>
          </string-name>
          ,
          <string-name>
            <given-names>R.</given-names>
            <surname>Cyganiak</surname>
          </string-name>
          , and
          <string-name>
            <given-names>T.</given-names>
            <surname>Gauss</surname>
          </string-name>
          .
          <article-title>The RDF Book Mashup: From Web APIs to a Web of Data</article-title>
          . In Workshop on Scripting for the Semantic Web,
          <string-name>
            <surname>at</surname>
            <given-names>ESWC</given-names>
          </string-name>
          ,
          <year>2007</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          2.
          <string-name>
            <given-names>D.</given-names>
            <surname>Hull</surname>
          </string-name>
          ,
          <string-name>
            <given-names>E.</given-names>
            <surname>Zolin</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Bovykin</surname>
          </string-name>
          , I. Horrocks,
          <string-name>
            <given-names>U.</given-names>
            <surname>Sattler</surname>
          </string-name>
          , and
          <string-name>
            <given-names>R.</given-names>
            <surname>Stevens</surname>
          </string-name>
          .
          <source>Deciding Semantic Matching of Stateless Services. AAAI06</source>
          , pages
          <fpage>1319</fpage>
          {
          <fpage>1324</fpage>
          ,
          <year>2006</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          3.
          <string-name>
            <given-names>K.</given-names>
            <surname>Iqbal</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M. L.</given-names>
            <surname>Sbodio</surname>
          </string-name>
          ,
          <string-name>
            <given-names>V.</given-names>
            <surname>Peristeras</surname>
          </string-name>
          , and
          <string-name>
            <given-names>G.</given-names>
            <surname>Giuliani. Semantic Service</surname>
          </string-name>
          <article-title>Discovery using SAWSDL and SPARQL</article-title>
          . In International Conference on Semantics,
          <source>Knowledge and Grid</source>
          ,
          <year>2008</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          4.
          <string-name>
            <given-names>D.</given-names>
            <surname>Roman</surname>
          </string-name>
          , U. Keller, H. Lausen, J. de Bruijn,
          <string-name>
            <given-names>R.</given-names>
            <surname>Lara</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Stollberg</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Polleres</surname>
          </string-name>
          ,
          <string-name>
            <given-names>C.</given-names>
            <surname>Feier</surname>
          </string-name>
          ,
          <string-name>
            <given-names>C.</given-names>
            <surname>Bussler</surname>
          </string-name>
          , and
          <string-name>
            <given-names>D.</given-names>
            <surname>Fensel</surname>
          </string-name>
          .
          <article-title>Web service modeling ontology</article-title>
          .
          <source>Applied Ontology</source>
          ,
          <volume>1</volume>
          (
          <issue>1</issue>
          ):
          <volume>77</volume>
          {
          <fpage>106</fpage>
          ,
          <year>2005</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          5. W.-f.
          <source>Zhao and J</source>
          .-l. Chen.
          <article-title>Toward Automatic Discovery and Invocation of Information-Providing Web Services</article-title>
          .
          <source>In Asian Semantic Web Conference</source>
          ,
          <year>2006</year>
          .
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>