<!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>Semantic access to INSPIRE</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Sven Tschirner</string-name>
          <email>tschirner@bafg.de</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Ansgar Scherp</string-name>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Ste en Staab</string-name>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Federal institute of hydrology</institution>
          ,
          <addr-line>Koblenz</addr-line>
          ,
          <country country="DE">Germany</country>
        </aff>
        <aff id="aff1">
          <label>1</label>
          <institution>Institute for Computer Science University of Koblenz-Landau</institution>
          ,
          <addr-line>Koblenz</addr-line>
          ,
          <country country="DE">Germany</country>
        </aff>
      </contrib-group>
      <abstract>
        <p>The INSPIRE Directive establishes a pan-European "Spatial Data Infrastructure" (SDI) to make available multiple thematic datasets from the EU member states through stable Geo Web-Services. Parallel to this ongoing procedure, the Semantic Web has technologically fostered the Linked Data initiative which builds up huge repositories of freely collected data for public access. Querying both data categories within distributed searches looks promising. To tackle the associated prerequisites, this paper presents rstly a general approach to translate sophisticated INSPIRE GML data models into Semantic Web OWL ontologies. This is done according to Linked Data principles while preserving selective INSPIRE structural information as annotations. Secondly, a feasible conversion of the Semantic Web query language SPARQL to its Geo Web counterpart "OGC Filter Encoding" is proposed. The language mapping is required for a semantic wrapper over remote INSPIRE Download Services acting as a SPARQL-endpoint and bridging the gap between both worlds.</p>
      </abstract>
      <kwd-group>
        <kwd>INSPIRE</kwd>
        <kwd>Linked Open Data</kwd>
        <kwd>Semantic Web</kwd>
        <kwd>SPARQL</kwd>
        <kwd>Geo Web</kwd>
        <kwd>GML</kwd>
        <kwd>geospatial data</kwd>
        <kwd>semantic enablement</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>-</title>
      <p>The INSPIRE Directive (2007/2/EC)3 obliges national authorities of the
EUmember states to contribute their spatial data according to over 30 harmonized
themes (e.g. Hydrography, Protected Sites or Elevation), make them accessible
and described via standardized Geo Web-Services. These datasets are considered
to be up-to-date, quite reliably, EU-wide and mostly free available forming a very
impressive data source for multi-thematic information retrieval.</p>
      <p>Because of its free data usage and distributed service-architecture INSPIRE
does have a lot in common with the Linked Open Data initiative (LOD).
Combining both data worlds while starting federated searches over INSPIRE and
LOD-datasets looks attractive as repositories di er in thematic coverage and</p>
    </sec>
    <sec id="sec-2">
      <title>3 http://inspire.jrc.ec.europa.eu/</title>
      <p>data capture conditions. As a scenario let us consider a teacher planning a school
trip which should be lled with leisure activities as well as some kind of nature
exploration. He nd accomodation and leisure facilities through Geo Linked Data4
and spatially overlay them with INSPIRE themes Land Use or Protected Sites.
Finally the teacher may prepare himself with reliable background information
referenced by INSPIRE data and disseminated by public authorities enriching
the world of free data. The same governmental controlled Protected Sites data
could be combined with the LOD project GeoSpecies5 to intersect INSPIRE
protection goals with species populations from GeoSpecies at the same time.</p>
      <p>To leverage such scenarios, the existing technological discrepancies between
INSPIRE and LOD have to be overcome which are mainly due to di erent
knowledge representation and web service interfaces. The goal is a feasible
embedding of INSPIRE data in the Semantic Web. INSPIRE itself is based on
the Geo Web technologies - which are ISO and OGC6 standardizations for
Geo Web-services and -transfer formats. So INSPIRE applies the
ISO/OGCapproach of modeling physical things, so-called "features", in the Geography
Markup Language (GML)7. GML is a XML-derivative and GML data models
are written in XML-Schema Language (XSD). Conventional GML data models
de ne simple and at XML-documents having features with only few attributes
and thus could be easily queried and transformed to Semantic Web
RDF/OWLtriples. With regard to INSPIRE we are faced with advanced GML data models
which disclose features with many dependant complex elements and a heavily
nested, verbose XML-tree structure. That's why transforming GML to OWL is
not straight-forward and target OWL-models in which to transform INSPIRE
data must be well-thought-of for not generating triples without proper content.</p>
      <p>
        Former work [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ] [
        <xref ref-type="bibr" rid="ref13">13</xref>
        ] have already introduced Semantic Web-queries which
are translated in order to request OGC data access services - speci ed as OGC
WFS8. The conversion of GML-results is done on-the- y which is a reasonable
way to avoid duplicated storage of GML and RDF/OWL-instances and facilitates
the access to up-to-date information. But these approaches are concerned either
with at GML-models and so encompass a query translation which is much
simplier than INSPIRE requires where XPath-expressions for lter processes became
inevitably. Or they don't take into account that the content of the GML!OWL
transformation must be re ned in order to full ll Linked Data principles with
resolvable URIs and cross-references.
      </p>
      <p>This paper presents a feasible way to perform SPARQL queries on INSPIRE
which contains two main achievements. At rst we propose a general approach
for deriving INSPIRE ontologies from the INSPIRE UML/GML data models
in order to de ne the target models for SPARQL querying. We also suggest
common modeling aspects and re nements for Semantic Web-representations
4 http://linkedgeodata.org/About
5 http://about.geospecies.org/
6 Open Geospatial Consortium, see http://www.opengeospatial.org/
7 http://www.opengeospatial.org/standards/gml
8 http://www.opengeospatial.org/standards/wfs
due to Linked Data principles. Secondly we outline a SPARQL-endpoint - which
is con gured with these INSPIRE ontologies and acting as a proxy over
WFSservices which are the main realizations for INSPIRE Download Services.
Therefore we specify a viable translation from SPARQL to the WFS-query language
"OGC Filter Encoding (FE)"9 and tackle the prerequisite of references between
the INSPIRE ontology concepts and the INSPIRE GML data structure.
2</p>
      <p>Towards INSPIRE Linked Data - Basic Architecture
To ful ll the overall goal for federated queries on INSPIRE and Linked Data,
the INSPIRE data must be transformed into a Semantic Web representation
as Semantic Web-formats are appropriate for integration tasks and SPARQL
used to query di erent repositories in particular. Two key tasks are
identied: 1. we need to create common target ontologies for INSPIRE themes and
2. provide query capabilities using SPARQL. INSPIRE UML- and derived
GMLdata models are regarded as community harmonizations and thus have the same
characteristics as Semantic Web domain ontologies. Hence each INSPIRE theme
is syntactically transferred to one domain ontology (here called "INSPIRE theme
ontology") while preserving INSPIRE element names. Common concepts from
di erent themes, e.g. ISO metadata elements and spatial representations, are
outsourced into core ontologies and imported into the theme ontologies if needed.</p>
      <p>The reasons for explicit INSPIRE ontologies are:
{ they serve as target models for a proper GML!OWL conversion set-up
{ they store GML structural information as annotations needed for querying
{ they facilitate references to INSPIRE background information
{ they prepare the basis for alignment with Semantic Web upper ontologies</p>
      <p>Querying capabilities help to perform requests and lter the desired instances
from the requested repository. A smart way to support SPARQL queries over
INSPIRE data can be accomplished with a proxy application, wrapping remote
or local INSPIRE Download Services and acting as a SPARQL-endpoint; see
Fig. 1. The architecture has multiple advantages. For instance, no data
replication and additional storage facilities are needed, hence queries always access
up-to-date datasets. Furthermore, INSPIRE data authorities are not bothered
with extra con guration e orts required for semantic WFS-pro les.</p>
      <p>SemanticWeb</p>
      <p>Client</p>
      <p>SPARQL</p>
      <p>Query
RDF/OWL</p>
      <p>Semantic Proxy
(SPARQL-endpoint)</p>
    </sec>
    <sec id="sec-3">
      <title>9 http://www.opengeospatial.org/standards/filter</title>
      <p>Opposed to alternative solutions which comprise one single
GML!OWLtransfer into a static INSPIRE triple-store building query facilities on top, the
proxy solution has to cope with a virtual repository. That means that all resulting
information is temporary and has to be combined with all side e ects. The
biggest challenge is the query mapping from SPARQL as a powerful general
query language to the less powerful language OGC Filter Encoding. The latter
is supported by WFS-services and focuses on domain-optimized lters.</p>
      <p>We rst introduce our proposed query strategy and more details will follow in
Sec. 4. Fig. 2 shows the overall query procedure. A SPARQL query is received (1)
and converted to SPARQL algebraic expression10 (2). The algebraic expression
is assessed for INSPIRE concepts (3) for which XPath-expressions are
concatenated to address the GML-element paths needed within Filter Encoding-query
operators. Thereafter the translation SPARQL !Filter Encoding takes place (4)
and the WFS GetFeature-request is send to all the WFS-services which serve
the requested feature types (5). On return the GML-results are transformed to
OWL-instances composing the virtual repository (6). This virtual repository is
then queried with the former SPARQL-query from the second step (7) and nally
SPARQL-results are returned to the user (8).</p>
      <p>1. receive
SPARQLrequest
2. convert
SPARQLquery to -algebra
3. detect
INSPIREconcepts
4. map SPARQL to
OGC-Filter Encoding
8. return
SPARQLresults
7. query virtual repository
(SPARQL-query)
6. transform results
(GML to OWL)</p>
      <p>5. request WFS
(GetFeature-operation)</p>
      <p>The resulting INSPIRE ontologies are designed to allow custom queries, for
instance to lter Protected Sites and GeoSpecies data. Therefore we outline
signi cant query types which are regarded during ontology modeling (see Sec.
3.2) in order to keep ontological structures simple and adequate for querying:
{ distinguish instancies by its classi cation attributes, e.g. "which protected
sites are classi ed with designation = 'UNESCO World Heritage' ?"
{ do spatial reasoning, e.g. "which species habitats crosses protected site x?"
{ lter temporally, e.g. "which sites originates from era x, between dates y/z?"
{ assess measures, e.g. "which sites suit a hike, sites greater than x km2?"</p>
      <p>This paper continues in Sec. 3 with a description of engineering and modeling
aspects of the proposed INSPIRE ontologies. Sec. 4 is about the concept of a
semantic query layer and a prototype mentioned in Sec. 5. Then, Sec. 6 outlines
related work and Sec. 7 closes with conclusions and possible advancements.
10 http://www.w3.org/TR/rdf-sparql-query/; see Sec. 12.4 "SPARQL Algebra"</p>
      <sec id="sec-3-1">
        <title>Deriving INSPIRE ontologies</title>
        <p>
          Conversion rules: INSPIRE GML to RDF/OWL
Before examining ontological details, we have to consider the basic conversion
rules from the original GML INSPIRE data models (written in XSD) to the
targeted INSPIRE OWL ontologies. For generic XSD!OWL transformations
several approaches [
          <xref ref-type="bibr" rid="ref1">1</xref>
          ] [
          <xref ref-type="bibr" rid="ref2">2</xref>
          ] and operational applications exist. Accordingly
conversion rules are de ned to transform either XML- or XSD-documents to OWL,
converting e.g. every xsd:complexType to owl:Class. These rules are helpful
for deriving INSPIRE ontologies but don't regard GML or INSPIRE speci cs.
GML and RDF/OWL - common characteristics Having a closer look at
GML itself which is akin to RDF/OWL [
          <xref ref-type="bibr" rid="ref11">11</xref>
          ], as GML-Version 1 had once an
explicit RDF-encoding. Since then GML carries the "Object-Property-pattern".
This means that XML-elements at odd numbered levels of the DOM-hierarchy
represent GML-objects and ones at even level represent GML-properties. Hence
one may compare GML-objects to RDF-resources and GML-properties to
RDFpredicates. Another similarity is the cross-referencing, which is often used in
INSPIRE for cross-thematic linking, and the identi cation of GML-objects. These
basic mappings between GML and RDF are 1. GML-attribute for
cross-referencing xlink:href which equals RDF-attribute rdf:resource and 2. GML-object
identi er attribute gml:identifier which equals RDF-attribute rdf:about.
While the Object-Property-pattern is crucial for engineering the theme ontology,
the common linking and identi cation is used during OWL-instance generation.
INSPIRE UML-notations - leading to main conversion rules The
UMLmodels disclose the GML Object-Property-pattern and give further orientation
for ontology engineering with UML-class stereotypes and UML-associations as
cross-references. The prominent UML-stereotypes are featureType (= a WFS
record type), dataType (= a complex type dependant of featureType), codelist
and enumeration (both key-value list-types, open for new values or a closed list
respectively) and union (semantically equivalent to the XSD union type).
        </p>
        <p>Given these modeling hints, we can list our few main rules which imply that
derived OWL-concepts are named after corresponding INSPIRE element types:
{ every INSPIRE UML-class except stereotype union is converted to an
owl:Class. Subtypes of stereotype union are modeled each as one owl:Class
{ every value of codelist or enumeration is converted to an owl:Individual
typed with the corresponding enumeration/codelist owl:Class
{ every UML-attribute corresponding to a GML-property is converted to an
owl:ObjectProperty or owl:DatatypeProperty. If multiple, equally-named
GML-properties lead to both OWL property types we name the
owl:DatatypeProperty with su x _dataValue to be conform to OWL-DL
{ every UML-association is converted to an owl:ObjectProperty</p>
        <p>Modeling aspects of frequent elements
Besides these general rules there have to be ontological re nements for frequently
used element types which may leverage usual query types listed in the Sec. 2.
This section will examine these aspects in more detail. Furthermore we present
our considerations about OWL-instance identi cation and infrastructural
opportunities with INSPIRE reference data.</p>
        <p>Classi cations with codelist- and enumeration-types In INSPIRE data
models every sixth element is of such a type which are best suited to di er
and lter instances. We model every codelist-type as one owl:Class and every
codelist-value as one owl:Individual. Enumeration-types are equally modeled.
However there is a constraint owl:oneOf to their enumeration values.</p>
        <p>Modeling this way allows us to investigate every codelist-value of a certain
codelist, e.g. ont_ps:ProtectionClassificationValue with SPARQL triple:
?x rdf:type ont_ps:ProtectionClassificationValue and opens the
possibility to annotate codelist-values with standard-annotations, e.g. rdfs:label.
Codelist-value individuals are simply named after their codelist:
e.g. the codelist &lt;http://inspire.ex.org/ProtectionClassificationValue&gt;
has a value &lt;http://inspire.ex.org/ProtectionClassificationValue/
archaeological&gt;. Hence no naming con icts arise if two di erent codelists
might have the same value names.</p>
        <p>
          Geometries Concerning geometry handling, there is a current speci cation
development called GeoSPARQL [
          <xref ref-type="bibr" rid="ref10">10</xref>
          ]. This state-of-the-art approach includes
de nitions for a unique geo-vocabulary for which SPARQL extended-functions
for extensive spatial reasoning are de ned, including topological and other
geometrical functions. We extensively make use of this approach to serialize GML
geometries resulting from WFS-queries. The proposed SPARQL proxy should
provide corresponding GeoSPARQL-spatial lter functions.
        </p>
        <p>Temporal values The conversion of INSPIRE temporal values to RDF/OWL
is simple, since GML makes use of XSD-datatypes xsd:date or xsd:dateTime,
too. Mostly resulting RDF typed literals are appropriate. Only in such cases
where temporal values are coherent (e.g. start/end-times of a duration) complex
RDF-resources have to be derived to retain the coherence and enwrap two or
more typed literals for the actual temporal information (e.g. start/end-times).
Measure values Measure values, e.g. the GML-types Area, Length or Velocity,
consist of numeric values and corresponding units of measurement (UOM). The
encoding in RDF could be a rdf:PlainLiteral, e.g. "200 km2", or a typed
literal, such as "200"^^http://www.ex.org/units/km2. The rst option merges
the two pieces of information within one textual representation, so that both
would have to be discerned during analysis. The drawback of the typed literal
would be the de nition of additional RDF-datatypes for maybe tens of UOM
which should be avoided for interoperability reasons. Our design choice is
therefore based on the "Measure Units Ontology"11 and shown in Fig. 3 (we use
namespaces 'ont_ps' for the theme ontology "ProtectedSites" and 'base' for
INSPIRE basic types). The two pieces of information are bundled by a separate
base:Measure instance. For numeric values we can simply adopt the XSD-types
used in GML (xsd:integer, xsd:decimal etc.) and treat the UOM as an
individual RDF-resource. Thus, we are able to lter measure values due to their
UOM not only in SPARQL lters but even within SPARQL basic graph pattern.
ont_ps:ProtectedSite</p>
        <p>base:Measure
rdf:type</p>
        <p>rdf:type
ex:ProtectedSite1
ont_ps:officialsiteArea
skos:inScheme
http://inspire.ex.org/</p>
        <p>CrsUomRegister
base:unitOfMeasure http://inspire.ex.org/CrsUomRegister/</p>
        <p>uom/area/hectare
base:numericalValue</p>
        <p>"22.8"^^xsd:decimal
Registries for reference data Like UOM, other kind of reference data exist,
e.g. coordinate reference systems (CRS), languages-codes, country-codes or the
INSPIRE codelists/ enumerations. Language-codes are trivial and equally treated
in both worlds, INSPIRE and Semantic Web, by using either ISO 639-1/2 or RFC
3066. Other reference data should be explained and collected somewhere online,
accessible via resolvable URIs. It makes sense to manage them centrally and in
a unique fashion. The OGC has started to make SKOS-concepts12 of speci
cation elements and some CRS descriptions accessible online13. The main
technical INSPIRE supporter, the JRC14 provides SKOS-concepts with the terms
of the European GEMET-thesauri and the INSPIRE feature concept
dictionary.15 Such infrastructural measurements will de nitely facilitate a Semantic
Web-enablement of INSPIRE but also could have positive side-e ects for other
domains, providing harmonized lists reused e.g. in folksonomies.</p>
        <p>Identi cation As an important Linked Data principle, identi ers for
RDFresources should be kept unique and resolvable via HTTP-URIs. All INSPIRE
features are identi ed with unique INSPIRE-IDs which are used here for
individual URIs of OWL-instancies. An INSPIRE-ID consists of 1.) a namespace
11 http://forge.morfeo-project.org/wiki_en/index.php/Units_of_measurement_
ontology
12 SKOS: Simple Knowledge Organization System; used for semantically modeling
taxonomies; http://www.w3.org/TR/skos-primer/
13 http://www.opengis.net/def/
14 EU Joint Research Centre, http://www.jrc.ec.europa.eu/
15 https://semanticlab.jrc.ec.europa.eu/
including details about the data-authority or -product, 2.) a localId which is
an object identi er unique in the scope of the namespace and 3.) a versionId
for an optional object versioning. These identifying attributes are proposed to be
included in an HTTP-URI with additional format information for Linked Data
content negotiation, distinguishing the return-format as e.g. page or data.
So the proposed URI-template looks like:
http://inspire.ex.org/fformatg/fnamespaceg/flocalIdg[=fversionIdg]
and an example would be:
http://inspire.ex.org/page/NL.KAD.AU.GEM/4507/V1.0
4</p>
        <p>Semantic query layer for INSPIRE Download Services
In this section we show at rst how to translate from SPARQL to the WFS-query
language "OGC Filter Encoding" and then tackle the prerequisite of references
between the INSPIRE ontology concepts and the INSPIRE GML data structure.
4.1</p>
        <p>SPARQL conversion to OGC Filter Encoding
We map from a given SPARQL algebraic expression into the target language
of the OGC Filter Encoding. More precisely the target language is actually a
combination of a) WFS-Query addressing the feature-type to be returned and
b) OGC-Filter Encoding (FE) providing spatial, comparison and logical lter
operators. From now on, we only mention OGC-Filter Encoding in lieu of both.</p>
        <p>SPARQL as well as the XML-encoded FE are declarative languages but they
operate on di erent information units: SPARQL combines triples while FE lters
complex GML-features as WFS-records. Given the proposed INSPIRE ontologies
one GML-feature and its dependant GML-elements are usually transformed to
more than one triple, so FE actually lters at a coarser level than SPARQL does.
Besides, there are SPARQL-functions which have no real FE-correspondents,
e.g. isBlank(a), langMatches(a,b) or regex(a,b) (FE only supports a
comparator with wildcards, not regular expressions). Furthermore SPARQL-solution
modi ers could not be translated, either. With this in mind we conclude that
SPARQL is more powerful (even though FE provides more domain-speci c
lters, e.g. spatial ones). A translation to FE may loose lter information and may
be too restrictive at the same time. A viable solution is a two-step query
process. In the rst step, an overly coarse query is forwarded to INSPIRE Download
Services returning a superset of intended query results. In the second step, the
precise SPARQL query is re-executed on the returned result set in order to yield
the intended SPARQL results.</p>
        <p>Some SPARQL lter-functions and value-comparing graphpattern are mapped
to FE comparison or spatial operators (e.g. SPARQL-function sameTerm(A,B)
to FE-operator &lt;PropertyIsEqualTo&gt;). In cases where SPARQL applies
pathcomparing pattern (e.g. ?feature ont_ps:siteName ?siteName), we propose
the mapping to a combination of the two FE-operators &lt;Not&gt;&lt;PropertyIsNull&gt;
to assure that the resulting GML contains only features with these subelements
(here the info siteName) for further SPARQL-analysis afterwards. The table 1
shows the mapping of the main SPARQL-operators to their FE-pendants.</p>
        <sec id="sec-3-1-1">
          <title>BGP(triple-pattern) translate every path/value comparisons into appropriate FEoperators and combine them with the logical operator &lt;AND&gt;</title>
        </sec>
        <sec id="sec-3-1-2">
          <title>Join(P1,P2)</title>
        </sec>
        <sec id="sec-3-1-3">
          <title>LeftJoin(P1,P2,F)</title>
        </sec>
        <sec id="sec-3-1-4">
          <title>Filter(F,P)</title>
        </sec>
        <sec id="sec-3-1-5">
          <title>Union(P1,P2)</title>
          <p>like BGP-handling using both graph pattern P1 and P2
like BGP-handling, but only for mandatory branch P1, optional
branch P2 and Filter F are ignored
like BGP-handling using both lter F and graph pattern P
translate every comparisons under pattern P1 into appropriate</p>
        </sec>
        <sec id="sec-3-1-6">
          <title>FE-operators, enwrap them with logical &lt;AND&gt;, do the same for P2 and enwrap both &lt;AND&gt;-operators with logical &lt;OR&gt;</title>
          <p>This simple conversion example transforms SPARQL-path comparisons and
one temporal lter:
PREFIX xsd : &lt;http : / /www. w3 . org /2001/XMLSchema#&gt;
PREFIX o n t p s : &lt;http : / / i n s p i r e . ex . org / P r o t e c t e d S i t e s/&gt;
S e l e c t ? f e a t u r e ?name ? b e g i n L i f e s p a n
Wheref
? f e a t u r e a o n t p s : P r o t e c t e d S i t e .
? f e a t u r e o n t p s : siteName ?name .
? f e a t u r e o n t p s : b e g i n L i f e s p a n V e r s i o n ? b e g i n L i f e s p a n .</p>
          <p>FILTER( ? b e g i n L i f e s p a n &gt; "2009 01 01T12 : 0 0 : 0 0 "^ ^ xsd : dateTime )
g
to its corresponding WFS-GetFeature request (abbreviated):
4.2</p>
          <p>Annotations for GML-element references
In order to provide a SPARQL-endpoint which acts as a wrapper around
WFSservices the SPARQL-endpoint must map INSPIRE ontologies to GML data
models. When the SPARQL-endpoint receives a query, INSPIRE OWL-concepts
have to be detected by their URIs (see Fig. 2, third step) and resolved to
corresponding GML-element paths in order to compose a WFS-requests with
OGC Filter Encoding lters (fourth step). For mapping OWL-concepts to
GMLelements we annotate INSPIRE OWL-concepts with relative XPath-expressions
for indicating their corresponding GML-element paths. We restrict the usage of
XPath-version 1.0 to unique element references which means we avoid wild-cards
for node-tests ('*') or predicate- ltering ('@*').</p>
          <p>To this end we introduce instances of owl:AnnotationProperty:
{ Annotation property cf:xmlnamespace is used at ontology-level to indicate
which GML XML-namespaces are used in the particular INSPIRE ontology,
e.g. &lt;http://inspire.ex.org/ProtectedSites&gt; cf:xmlnamespace
"xmlns:ps=\"urn:x-inspire:specification:gmlas:
ProtectedSites:3.0\"". Given these annotations, abbreviations of GML
XML-namespaces with XML-pre xes are unique in the scope of the ontology
{ Annotation property cf:xmlname is used at concept-level stating which
OWLclass corresponds to which GML-object element, declared as a quali ed
XML-name, e.g. ont_ps:ProtectedSite cf:xmlname "ps:ProtectedSite"
or ont_ps:ResponsibleAgency cf:xmlname "ps-f:ResponsibleAgency"
{ Annotation property cf:xpath is used at concept-level, stating which
OWLproperty corresponds to which GML-property, declared as a relative
XPathexpression (only XPath forward axes), e.g. ont_ps:isManagedBy cf:xpath
"ps-f:ProtectedSite/ps-f:isManagedBy/ps-f:ResponsibleAgency"
With the cf:xpath-annotation, we adopt the triple-relationsship
"subjectpredicate-object" to the GML-model where in the given example above the
GMLobject element ps-f:ProtectedSite stands for the subject, GML-property
ps-f:isManagedBy for the predicate, ps-f:ResponsibleAgency for the object.
Figure 4 shows an example with annotations explained in detail subsequently:
"ps:ProtectedSite"</p>
          <p>In Fig. 4, the predicate ont_ps:siteName has a complex cf:xpath-annotation.
This XPath-expression let us extract XML-information nested deeply within the
XML-tree so that we can ignore verbose GML element hierarchies (e.g.
ISOmetadata elements) which are not needed in triple form. The other annotations
cf:langXPath and cf:targetRDFType work as transformation hints and are
realized as rei cation annotations so that they are unique for every cf:xpath.
The reason is that there might be the need to assign multiple cf:xpath to one
OWL-predicate if di erent INSPIRE GML-properties are equally named
(distinguished only by their superordinated GML-object type) and so are derived
both to one OWL-predicate. Or if INSPIRE GML data models allow
alternative element storage, so multiple GML element paths each as one cf:xpath
must be applied. The additional annotation cf:langXPath indicates where to
nd language-information about a text element directing there with a relative
XPath-expression related to cf:xpath. The annotation cf:targetRDFType
declares which RDF-datatype should be used for GML!OWL-transformation.
Given the con guration example in Fig. 4, a transformation of this GML-snippet:
&lt;p s : P r o t e c t e d S i t e&gt;
. . .
&lt;ps:siteName&gt;
&lt;gn:GeographicalName&gt;
&lt;gn:language&gt;deu&lt;/ gn:language&gt;
. . .
&lt;g n : s p e l l i n g&gt;
&lt;gn:SpellingOfName&gt;
&lt;g n : t e x t&gt;K l e i n k i n z i g und Rotenbachtal&lt;/ g n : t e x t&gt;
&lt;g n : s c r i p t x s i : n i l="t r u e "/&gt;
&lt;/ gn:SpellingOfName&gt;
&lt;/ g n : s p e l l i n g&gt;
&lt;/ gn:GeographicalName&gt;
&lt;/ ps:siteName&gt;
leads to the simple statement:
ex:ProtectedSite1 ps:siteName "Kleinkinzig- und Rotenbachtal"@de</p>
          <p>Other GML-information which is likewise related to another GML-element
as the language-code could be handled in the same way. A good example is the
UOM-information related to its measure-value, so there could be an annotation
cf:uomXPath and so on. In order to nally prepare WFS-querying, we need
at least one more annotation (i.e. cf:entityType) for OWL-classes indicating
which corresponding GML-object element is expected to serve as a WFS-feature
type. In this case, the OWL-class has the annotatation cf:entityType
"featureType".
5</p>
        </sec>
      </sec>
      <sec id="sec-3-2">
        <title>Prototype implementation</title>
        <p>The INSPIRE test platform consists of the INSPIRE-enabled WFS "Deegree3
inspireNode"16 and representative test data. We have created two ontologies for
the INSPIRE themes "Protected Sites" and "Administrative Units"17. These are
tested with national Slovak protected sites (419 features, GML-size: 11 MB) and
administrative units from the Dutch Kataster (443 features, GML-size: 23 MB).
16 WFS-version 1.1.0; http://www.deegree.org/
17 soon available under: http://inspire.west.uni-koblenz.de:8080/ontologies
In the INSPIRE implementation process Download Services are scheduled to be
operational not until the end of 2012, so for now there is only test data available
like the data we have used so far 18.</p>
        <p>
          The Proxy-application is based on the Sesame framework19 acting as an
inference-layer using the "Sesame" Sail-API. Sesame was chosen due to its
wellstructured API and fast conversion of SPARQL-query to -algebra. Internally,
experimental GeoSPARQL- lters as well as programmetically generated
WFSGetFeature requests are realized with the Deegree3-API. The WFS-results are
transformed with the fast non-extracting, XPath-capable XML-parser "VTD"20.
For example the parsing of all protected sites elements is nished within 6
seconds, which also includes all further transforming into RDF-triples. Testing
federated queries is done with the Sesame-based APIs "NetworkedGraphs" and
"DistributedSAIL" from the University of Koblenz-Landau [
          <xref ref-type="bibr" rid="ref12">12</xref>
          ].
6
        </p>
      </sec>
      <sec id="sec-3-3">
        <title>Related Work</title>
        <p>
          At least since the OGC Geospatial Semantic Web Interoperability Experiment in
2006 [
          <xref ref-type="bibr" rid="ref7">7</xref>
          ], the Geo Web community is concerned with the integration of Semantic
Web-technologies within OGC Geo Web-services (OWS) and vice versa. Some
attempts are constrained to a semantic reasoning support of OWS-communication
[
          <xref ref-type="bibr" rid="ref5">5</xref>
          ], not publishing the Geo Web-data in the Semantic Web. Other approaches,
like the active OGC SensorWeb domain, provide measure and sensor data through
LOD-endpoints [
          <xref ref-type="bibr" rid="ref9">9</xref>
          ] [
          <xref ref-type="bibr" rid="ref8">8</xref>
          ]. They even interlink OGC sensor data with other
LODrepositories [
          <xref ref-type="bibr" rid="ref6">6</xref>
          ]. Otherwise, without a SPARQL-endpoint, query capabilities are
neglected which we suggest to be more important than RDF-browsing and
necessary to foster many Semantic Web use-cases. Some projects tackle
SPARQLor DL-queries translated to WFS-queries [
          <xref ref-type="bibr" rid="ref3">3</xref>
          ] [
          <xref ref-type="bibr" rid="ref13">13</xref>
          ]. We take a further step and
query WFSs which operate on sophisticated, heavily nested INSPIRE GML
models. The resulting INSPIRE Linked Data is created regarding
INSPIREsimilarities to LOD concerning syntax, identi cation and referencing [
          <xref ref-type="bibr" rid="ref11">11</xref>
          ] and
based on ontologies (schema-level) which is not quite usual for LOD-data [
          <xref ref-type="bibr" rid="ref4">4</xref>
          ].
7
        </p>
      </sec>
      <sec id="sec-3-4">
        <title>Conclusions and Outlook</title>
        <p>This paper presents an approach to enable federated queries over INSPIRE and
LOD. We identify two key tasks, INSPIRE ontologies and support for querying,
and propose how to solve them. Our solution has been tested with a prototype
and turned out to be viable and e cient while establishing a semantic query
layer for arbitrary WFS-services not constrained to INSPIRE data publishing.</p>
        <p>Open issues are investigations in linking this INSPIRE- with other
LODdata, e.g. the data about European directives from the "Reporting Obligations
18 http://inspire.jrc.ec.europa.eu/index.cfm/pageid/44
19 http://www.openrdf.org/
20 http://vtd-xml.sourceforge.net/
Database"21, or the full integration of spatial reasoning as soon as the speci cation
GeoSPARQL will become stable. One big challenge will be a coordinated Semantic
Web-infrastructure for INSPIRE reference data and management facilities of
INSPIRE ontologies.</p>
        <p>The Semantic Web is about handling information resources directly so we
focus on the WFS-service and GML-encoded geodata itself, not the metadata
layer consisting of OGC Catalogue Services and ISO-metadata. But INSPIRE
also builds up a vivid metadata layer so that a combination of metadata and
geodata forming one harmonized distributed Semantic Web-graph will certainly
be a matter for future work.
21 http://rod.eionet.europa.eu/void.rdf</p>
      </sec>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          1.
          <string-name>
            <surname>Bedini</surname>
            ,
            <given-names>I.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Gardarin</surname>
            ,
            <given-names>G.</given-names>
          </string-name>
          &amp;
          <string-name>
            <surname>Nguyen</surname>
            ,
            <given-names>B.</given-names>
          </string-name>
          [
          <year>2008</year>
          ].
          <article-title>Deriving ontologies from XML schema</article-title>
          .
          <source>in Proc. of EDA 2008</source>
          . Vol. B-
          <volume>4</volume>
          . pp.
          <fpage>3</fpage>
          -
          <lpage>17</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          2.
          <string-name>
            <surname>Bohring</surname>
            ,
            <given-names>H.</given-names>
          </string-name>
          &amp;
          <string-name>
            <surname>Auer</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          [
          <year>2005</year>
          ].
          <article-title>Mapping XML to OWL ontologies</article-title>
          .
          <source>in Leipziger Informatik-Tage</source>
          . pp.
          <fpage>147</fpage>
          -
          <lpage>156</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          3.
          <string-name>
            <given-names>Gomes</given-names>
            <surname>Jr</surname>
          </string-name>
          ,
          <string-name>
            <given-names>L. C.</given-names>
            &amp;
            <surname>Medeiros</surname>
          </string-name>
          ,
          <string-name>
            <surname>C. B.</surname>
          </string-name>
          [
          <year>2007</year>
          ].
          <article-title>Ecologically-aware queries for biodiversity research</article-title>
          .
          <source>in IX Brazilian Symp. on GeoInformatics</source>
          . pp.
          <fpage>73</fpage>
          -
          <lpage>84</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          4.
          <string-name>
            <surname>Jain</surname>
            ,
            <given-names>P.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Hitzler</surname>
            ,
            <given-names>P.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Yeh</surname>
            ,
            <given-names>P.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Verma</surname>
            ,
            <given-names>K.</given-names>
          </string-name>
          &amp;
          <string-name>
            <surname>Sheth</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          [
          <year>2010</year>
          ].
          <article-title>Linked data is merely more data</article-title>
          . in H. H. D.
          <string-name>
            <surname>Brickley</surname>
            ,
            <given-names>V. K.</given-names>
          </string-name>
          <string-name>
            <surname>Chaudhri</surname>
          </string-name>
          &amp;
          <string-name>
            <surname>D. McGuinness</surname>
          </string-name>
          , eds,
          <source>Linked Data Meets Arti cial Intelligence</source>
          . AAAI Press. Menlo Park, CA. pp.
          <fpage>82</fpage>
          -
          <lpage>86</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          5.
          <string-name>
            <surname>Janowicz</surname>
            ,
            <given-names>K.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Schade</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          , Broring,
          <string-name>
            <surname>A.</surname>
          </string-name>
          , Ke ler,
          <string-name>
            <given-names>C.</given-names>
            ,
            <surname>Maue</surname>
          </string-name>
          ,
          <string-name>
            <given-names>P.</given-names>
            &amp;
            <surname>Stasch</surname>
          </string-name>
          ,
          <string-name>
            <surname>C.</surname>
          </string-name>
          [2010].
          <article-title>Semantic enablement for spatial data infrastructures</article-title>
          .
          <source>in Trans. in GIS</source>
          . Vol.
          <volume>14</volume>
          (
          <issue>2</issue>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          6. Ke ler, C. and
          <string-name>
            <surname>Janowicz</surname>
            ,
            <given-names>K.</given-names>
          </string-name>
          [
          <year>2010</year>
          ].
          <article-title>Linking sensor data - Why, to What, and How?</article-title>
          ,
          <source>in Proc. of the 3rd Int'l workshop on SSN10, CEUR-WS</source>
          , vol.
          <volume>668</volume>
          .
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          7.
          <string-name>
            <surname>Lieberman</surname>
          </string-name>
          , J. [
          <year>2006</year>
          ].
          <source>Geospatial Semantic Web Interoperability Experiment Report. OGC Inc. OGC 06-002r1.</source>
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          8.
          <string-name>
            <surname>Page</surname>
            ,
            <given-names>K.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Roure</surname>
            ,
            <given-names>D. D.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Martinez</surname>
            ,
            <given-names>K.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Sadler</surname>
            ,
            <given-names>J.</given-names>
          </string-name>
          &amp;
          <string-name>
            <surname>Kit</surname>
            ,
            <given-names>O.</given-names>
          </string-name>
          [
          <year>2009</year>
          ].
          <article-title>Linked sensor data: RESTfully serving RDF and GML</article-title>
          . in Second Int'l Workshop on SSN2009.
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          9.
          <string-name>
            <surname>Patni</surname>
            ,
            <given-names>H.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Henson</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          &amp;
          <string-name>
            <surname>Sheth</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          [
          <year>2010</year>
          ].
          <article-title>Linked sensor data</article-title>
          . in IEEE, ed.,
          <source>2010 Int'l Symp. on Collaborative Technologies and Systems</source>
          . pp.
          <fpage>362</fpage>
          -
          <lpage>370</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          10.
          <string-name>
            <surname>Perry</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          &amp;
          <string-name>
            <surname>Herring</surname>
            ,
            <given-names>J.</given-names>
          </string-name>
          [
          <year>2011</year>
          ].
          <article-title>OGC GeoSPARQL - A geographic query language for RDF data</article-title>
          .
          <source>OGC Inc. OGC 11-052r3</source>
          . Url: http://portal.opengeospatial.org/ files/?artifact_id=
          <fpage>44722</fpage>
        </mixed-citation>
      </ref>
      <ref id="ref11">
        <mixed-citation>
          11.
          <string-name>
            <surname>Schade</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Cox</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Panho</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Santos</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          &amp;
          <string-name>
            <surname>Pundt</surname>
            ,
            <given-names>H.</given-names>
          </string-name>
          [
          <year>2010</year>
          ].
          <article-title>Linked data in SDI or how GML is not about trees</article-title>
          .
          <source>in Proc. of the 13th AGILE Int'l Conf. on Geographic Information Science - Geospatial Thinking.</source>
        </mixed-citation>
      </ref>
      <ref id="ref12">
        <mixed-citation>
          12.
          <string-name>
            <surname>Schenk</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Staab</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          [
          <year>2008</year>
          ].
          <article-title>Networked Graphs: a Declarative Mechanism for SPARQL Rules, SPARQL Views and RDF Data Integration on the Web</article-title>
          .
          <source>In: Proc. Int'l. WWW Conf</source>
          ., New York, NY, USA, ACM, pp.
          <fpage>585</fpage>
          -
          <lpage>594</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref13">
        <mixed-citation>
          13.
          <string-name>
            <surname>Zhao</surname>
            ,
            <given-names>T.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Zhang</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Wei</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          &amp;
          <string-name>
            <surname>Peng</surname>
            ,
            <given-names>Z.</given-names>
          </string-name>
          [
          <year>2008</year>
          ].
          <article-title>Ontology-Based geospatial data query and integration</article-title>
          . in T. Cova,
          <string-name>
            <given-names>H.</given-names>
            <surname>Miller</surname>
          </string-name>
          ,
          <string-name>
            <given-names>K.</given-names>
            <surname>Beard</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Frank</surname>
          </string-name>
          &amp; M. Goodchild, eds,
          <source>Geographic Information Science</source>
          . Vol.
          <volume>5266</volume>
          of LNCS. Springer Berlin. Heidelberg.
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>