<!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>Extending VoID for Expressing the Connectivity Metrics of a Semantic Warehouse</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Michalis Mountantonakis</string-name>
          <email>mountant@ics.forth.gr</email>
          <xref ref-type="aff" rid="aff0">0</xref>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Carlo Allocca</string-name>
          <email>carlo@ics.forth.gr</email>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Pavlos Fafalios</string-name>
          <email>fafalios@ics.forth.gr</email>
          <xref ref-type="aff" rid="aff0">0</xref>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Nikos Minadakis</string-name>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Yannis Marketakis</string-name>
          <email>marketak@ics.forth.gr</email>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Christina Lantzaki</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Yannis Tzitzikas</string-name>
          <email>tzitzik@ics.forth.gr</email>
          <xref ref-type="aff" rid="aff0">0</xref>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Computer Science Department, University of Crete</institution>
          ,
          <country country="GR">Greece</country>
        </aff>
        <aff id="aff1">
          <label>1</label>
          <institution>Institute of Computer Science</institution>
          ,
          <addr-line>FORTH-ICS</addr-line>
          ,
          <country country="GR">Greece</country>
        </aff>
      </contrib-group>
      <abstract>
        <p>VoID (Vocabulary of Interlinked Datasets) has been proposed by W3C as the vocabulary for expressing metadata about RDF datasets. Despite its important contributions, VoID cannot express metadata that concern the connectivity of semantic warehouses. We use the term semantic warehouse to refer to a read-only set of RDF triples fetched (and transformed) from different sources that aims at serving a particular set of query requirements. Connectivity metrics are important for evaluating the value of a semantic warehouse, since they reflect its query capabilities. Moreover they also quantify the contribution of each constituent source to the warehouse. To allow the representation, exchange, and querying of such measurements, in this paper we describe an extension of VoID that allows representing them. We demonstrate its applicability through the case of a real and operational semantic warehouse for the marine domain.</p>
      </abstract>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>-</title>
      <p>An increasing number of datasets is already available as Linked Data. For
exploiting this wealth of data, and building domain specific applications, in many
cases there is a need for fetching and assembling pieces of information coming
from more than one sources (including SPARQL endpoints). Then, these pieces
can be used for constructing a warehouse, for offering more complete browsing
and query services (in comparison to those offered by the underlying sources).</p>
      <p>
        We shall use the term Semantic Warehouse (for short warehouse) to refer to
a read-only set of RDF triples fetched (and transformed) from different sources
that aims at serving a particular set of query requirements. There are
various such warehouses (e.g. [
        <xref ref-type="bibr" rid="ref13 ref6 ref9">13, 9, 6</xref>
        ]), and there are various tools that can aid
the construction of such warehouses, including ODCleanStore [
        <xref ref-type="bibr" rid="ref8">8</xref>
        ], Sieve [
        <xref ref-type="bibr" rid="ref10">10</xref>
        ] and
MatWare [
        <xref ref-type="bibr" rid="ref16">16</xref>
        ]. However, putting triples together does not guarantee that they
will be connected. In general, the aspect of “connectivity” concerns both schema
and instances. One method to check and quantify the connectivity of a semantic
warehouse is through the connectivity metrics proposed in [
        <xref ref-type="bibr" rid="ref15">15</xref>
        ]. These metrics
provide an overview of the warehouse that reflects its query capabilities, and
also quantify the contribution of each constituent source to the warehouse. In
brief, the main metrics are: (a) the matrix of percentages of the common URIs
and/or literals, (b) the complementarity factor of the entities of interest, (c) the
increments in the average degree of each source, and (d) the unique triple
contribution of each source. The values of (a),(b),(c) allow evaluating the warehouse,
while (c) and (d) mainly concern each particular source.
      </p>
      <p>
        W3C proposed VoID (Vocabulary of Interlinked Datasets), a vocabulary for
describing open and linked datasets [
        <xref ref-type="bibr" rid="ref7">7</xref>
        ]. It aims at building a bridge between
the publishers and the users of a dataset and applications, ranging from data
discovery to cataloging and archiving of datasets. Based on Dublin Core [
        <xref ref-type="bibr" rid="ref11">11</xref>
        ] for
describing generic info, it is an RDF Schema vocabulary for expressing different
types of metadata such as general metadata (e.g. dc:title), access metadata (e.g.
void:sparqlPoint), structural metadata (e.g. void:exampleResource) and
description of links between RDF datasets (e.g. void:Linkset). The specification also
provides deployment advice and discusses how well-known URIs can be used to
locate a VoID file (which is a machine-readable description of an RDF dataset)
for its discovery [
        <xref ref-type="bibr" rid="ref7">7</xref>
        ]. However, VoID cannot model the aforementioned
connectivity metrics. For this reason, in this paper we describe an extension of VoID that
allows the representation of such measurements, and thus enables their exchange
and querying. We demonstrate its applicability through the case of a real and
operational semantic warehouse for the marine domain.
      </p>
      <p>
        In a nutshell, the key contributions of our work are: (a) we motivate (through
a concrete scenario) why VoID should be extended, (b) we propose an extension
of VoID that models all metrics proposed in [
        <xref ref-type="bibr" rid="ref15">15</xref>
        ], (c) we describe its applicability
through the use of a real and operational Semantic Warehouse of the marine
domain.
      </p>
      <p>The rest of this paper is organised as follows: Section 2 describes the required
background, i.e. the VoID vocabulary and the connectivity metrics. Section 3
describes the proposed extension of VoID and describes its applicability through
the case of a real and operational Semantic Warehouse for the marine domain.
Finally, Section 4 concludes the paper.
2</p>
    </sec>
    <sec id="sec-2">
      <title>Background</title>
      <p>Here we describe in brief VoiD (in §2.1), we synopsize the warehouse connectivity
metrics (in §2.2), and discuss related works (in §2.3).
2.1</p>
      <sec id="sec-2-1">
        <title>VoID</title>
        <p>
          This section describes briefly the current version of VoID (Vocabulary of
Interlinked Datasets) [
          <xref ref-type="bibr" rid="ref7">7</xref>
          ]. Informally, its design has been driven by representing a
number of both domain-dependent features (e.g. which type of data it contains)
and domain-independent ones (e.g. who published it).
        </p>
        <p>Conceptually, it has been built around the notions of void:Dataset, void:Linkset
and RDF Links. A void:Dataset is a set of RDF triples that are published,
maintained or aggregated by a single provider. A void:Linkset is a collection of RDF
Links between two datasets. An RDF Link is an RDF triple whose subject and
object are described in different void:Dataset.</p>
        <p>
          Based on Dublin Core [
          <xref ref-type="bibr" rid="ref11">11</xref>
          ], VoID provides properties that can be attached
to both void:Dataset and void:Linkset to express metadata of the type of:
General metadata helping users to decide whether the dataset is appropriate
for their purpose. Based on Dublin Core model, they refer to information
such as dcterms:title, dcterms:description, dcterms:license, dcterms:subject,
dcterms:creator, dcterms:publisher, dcterms:contributor, dcterms:created,
dcterms:issued, dcterms:modified, void:feature.
        </p>
        <p>Access metadata used to describe methods of accessing the RDF data using
various protocols. They are: void:sparqlEndpoint, void:dataDump, void:rootResourse,
void:uriLookupEndpoint, void:openSearchDescription.</p>
        <p>Structural metadata providing high-level information about the schema and
internal structure of a dataset and can be helpful when exploring and
querying the dataset. They are: void:exampleResource, void:uriSpace, void:uriRegexPattern,
void:vocabulary, void:subset, void:classPartition, void:propertyPartition, void:triples,
void:entities, void:classes, void:properties, void:distinctSubjects, void:distinctObjects,
void:documents.</p>
      </sec>
      <sec id="sec-2-2">
        <title>Description of links between datasets helpful for understanding how mul</title>
        <p>tiple datasets are related and can be used together. They are: void:Linkset,
void:target, void:linkPredicate and all patterns for describing datasets can
equally be used for void:Linkset.
2.2</p>
      </sec>
      <sec id="sec-2-3">
        <title>Connectivity Metrics</title>
        <p>
          One method to check and quantify the connectivity of a semantic warehouse
is through the connectivity metrics proposed in [
          <xref ref-type="bibr" rid="ref15">15</xref>
          ]. These metrics provide an
overview of the warehouse that reflect its query capabilities, and also quantify
the contribution of each constituent source to the warehouse.
        </p>
        <p>In brief, the main metrics are: (a) the matrix of percentages of the common
URIs and/or literals (it shows the percentage of common URIs/literals between
every pair of sources), (b) the complementarity factor of the entities of interest (it
is the number of sources that provided unique triples for each entity of interest),
(c) the table with the increments in the average degree of each source (it measures
the increment of the graph-theoretic degree of each entity when it becomes part
of the warehouse graph), and (d) the unique triple contribution of each source
(the number of triples provided by a source which are not provided by any other
source). The values of (a),(b),(c) allow valuating the warehouse, while (c) and
(d) mainly concern each particular source.</p>
        <p>For reasons of self-containedness, here we summarize the definition of the
metrics. Table 1 introduces the symbols that are required for defining the metrics.
However, for computing the metrics several policies can be followed for deciding
whether two URIs or two literals should be considered equivalent. The proposed
policies for equivalence are shown in Table 2. Finally, Table 3 shows how each
metric is defined.
Symbol Meaning
S = S1, . . . Sk the set of underlying sources.
triples(Si) the set of triples that each source contributes to the warehouse.
Ui the URIs that appear in triples(Si)
Liti the literals that appear in triples(Si)
W the triples in the warehouse
E the entities of interest, in the form of a set of literals and/or URIs
T a set of triples
degT (e) = |{(s, p, o) ∈ T | s = e or o = e}|, i.e. the degree of an entity e in T
degT (E) = avge∈E(degT (e)), i.e. the average degree of the entities E in T
ui a URI
last(ui) the string obtained by getting the substring after the last “/” or “#” of
ui, turning the letters of the picked substring to lowercase and deleting
the underscore letters that might exist.
sameAs the sameAs relationship between two URIs according to the entity
matching rules that are (or will be eventually) used for the warehouse.</p>
        <p>
          The metrics are currently used by the tool MatWare [
          <xref ref-type="bibr" rid="ref16">16</xref>
          ], and Figure 1 shows
the HTML that it is produced by this tool over a warehouse that integrates
information from WoRMS1, Ecoscope2, FishBase3, FLOD4 and DBpedia5.
        </p>
        <p>
          Another metric, that was not proposed in [
          <xref ref-type="bibr" rid="ref15">15</xref>
          ], but it is useful to have, is the
number of blank nodes that appear in the triples of a source Si, i.e. in triples(Si).
If these triples contain bnodes, then a blank node matching algorithm, like those
proposed in [
          <xref ref-type="bibr" rid="ref14">14</xref>
          ], should be used, for improving the connectivity between the
sources.
In this section we review the main related work on modeling characteristics of
semantic data sources.
1 http://www.marinespecies.org/
2 http://www.ecoscopebc.ird.fr/EcoscopeKB/ShowWelcomePage.action
3 http://www.fishbase.org/
4 http://www.fao.org/figis/flod/
5 http://dbpedia.org/
Completeness. In [
          <xref ref-type="bibr" rid="ref4">4</xref>
          ] the authors introduce a formal framework for the declarative
specification of completeness statements about RDF data sources and underline
how the framework can complement existing initiatives like VoID. They also
show how to assess completeness of query answering over plain and RDF/S data
sources augmented with completeness statements, and they present an extension
of the completeness framework for federated data sources.
        </p>
        <p>
          Provenance. W3C has proposed the PROV Family of Documents6 which defines
a model, corresponding serializations and other supporting definitions to enable
the interoperable interchange of provenance information. In addition, the work
in [
          <xref ref-type="bibr" rid="ref5">5</xref>
          ] presents approaches to integrate provenance information into the Web of
Data and illustrates how this information can be consumed. In particular, the
authors introduce a Provenance Vocabulary which, by using it together with VoID,
assists providers of Linked Data to describe the provenance of their data using
RDF. The authors also discuss possibilities to make such provenance metadata
accessible as part of the Web of Data and they describe how this metadata can
be queried and consumed to identify outdated information.
        </p>
        <p>
          Connectivity among Concepts / Fuzzy LinkSets. In [
          <xref ref-type="bibr" rid="ref2">2</xref>
          ] the authors propose
extensions of VoID for (i) distinguishing datasets, and (ii) describing fuzzy linksets,
i.e. links between different datasets that are not explicitly stated. As regards
(i), the authors define the notion of “semantic datasets”, i.e. partitions of
resources that share certain semantic features. Specifically, they propose the use
of two new classes (voidgen:ConnectedDataset and voidgen:ConceptualDataset)
for identifying connected sets of resources or sets of conceptually similar
resources. Thereby, given two such semantic datasets and respective linksets, one
can, for instance, observe the connectivity among concepts. As regards (ii), they
introduce the notion of k-similarity where two subjects are k-similar, if k of their
predicate/object combinations are exact matches. For specifying a fuzzy linkset,
the authors propose a new class voidgen:FuzzyLinkset and a new attribute
voidgen:kSimilarity.
        </p>
        <p>
          Statistics. The RDF Data Cube Vocabulary7 [
          <xref ref-type="bibr" rid="ref3">3</xref>
          ] provides a means to publish
multi-dimensional data, such as statistics, on the web in such a way that it
can be linked to related datasets and concepts. The model underpinning the
Data Cube vocabulary is compatible with the cube model that underlies SDMX
(Statistical Data and Metadata eXchange)8, an ISO standard for exchanging
and sharing statistical data and metadata among organizations. As regards our
case, we should stress that what we call semantic warehouse is not necessary a
multi-dimensional dataset. Therefore, the Data Cube vocabulary cannot replace
the need for VoID and the extension that we propose. Of course, a semantic
warehouse could contain one or more multi-dimensional datasets (as for
example [
          <xref ref-type="bibr" rid="ref12">12</xref>
          ]) and such datasets could be described using the Data Cube vocabulary.
For instance, and for the MarineTLO-based warehouse [
          <xref ref-type="bibr" rid="ref16">16</xref>
          ], its part that
contains occurrences of species, could be expressed using the Data Cube vocabulary.
6 http://www.w3.org/TR/2013/NOTE-prov-overview-20130430/
7 http://www.w3.org/TR/2013/PR-vocab-data-cube-20131217/
8 http://sdmx.org/
However, for the connectivity metrics per se, the adoption of a multidimensional
modeling would not offer any benefit.
        </p>
        <p>
          In [
          <xref ref-type="bibr" rid="ref1">1</xref>
          ] the authors describe LODStats, a statement-stream-based approach
for gathering comprehensive statistics about RDF datasets. To represent the
statistics, they use VoID and the Data Cube Vocabulary. In addition, they link
a void:Dataset (a VoID class) to a qb:Observation (a Data Cube class) using a
newly defined object property (void-ext:observation), which is a simple extension
to VoID.
        </p>
        <p>Difference of our approach. The main difference of our approach is that
we focus on modeling metrics regarding the connectivity and the quality of a
Semantic Warehouse, thus it can complement existing initiatives like VoID and
it can be used together with approaches that focus on provenance, completeness,
statistics, etc. These metrics reflect the query capabilities of a warehouse (so they
are important for evaluating its value) and also quantify the contribution of the
underlying sources, allowing evaluating the importance of each source for the
warehouse at hand.
3</p>
      </sec>
    </sec>
    <sec id="sec-3">
      <title>The Proposed Extension of VoID</title>
      <p>At first we discuss the requirements (in §3.1), then we describe the proposed
conceptual model (in §3.2), then we provide an example of using that model (in
§3.3). Subsequently, we show how we can compute these metrics (in §3.4) and
how we can store and use their values (in §3.5). Figure 2 gives a total view of
the functionality of the metrics and the proposed extension.
In brief, we could say that the extension should allow all information expressed
in the tables of Figure 1 to be expressed in a machine processable (and
queryable) manner. If such information is exposed in a machine-readable format, it
could be exploited in various methods, e.g.:
– For producing visualizations that give an overview of the contents of a
warehouse.
– For comparing different warehouses and producing comparative reports.
– For aiding the automatic discovery of related data since software services/agents
based on these metrics could decide which SPARQL endpoints to query based
on time/cost constraints.
– For crediting good sources since these metrics make evident, and quantifiable,
the contribution of a source to the warehouse.</p>
      <p>Another requirement is that the proposed extension should be compatible with
the existing VoID vocabulary and the available VoID-based descriptions.</p>
      <sec id="sec-3-1">
        <title>3.2 Conceptual Model</title>
        <p>Figure 3 shows the core conceptual model as an implementation in RDF/S. As
one can easily see, the implementation reuses classes and properties from VoID,
Dublin Core, RDF/S and XML Schema Definition, while the new modeling
elements are defined in a separate namespace, generally named with the prefix
vdw and here depicted as the default namespace.</p>
        <p>We can see that there is the notion of Measurement which is actually a
specialization of Event and therefore inherits the property date. A measurement
is carried out by an agent using a specific metric according to one (or more)
configurations over one (or more) datasets (atomic or composite) and produces
a value (i.e. literal).</p>
        <p>Each metric is an individual with a URI and is defined by a resource (e.g. the
DOI of the scientific paper that defined that metric). The notion of Configuration
concerns issues that explain how the measurement was done. At this point, and
for the requirements at hand, we need two subclasses: the first concerns the way
URI equivalence is defined (e.g. through the policies given in Table 2), while the
second concerns how the entities of interest are defined. Regarding the latter
the current modeling allows someone to specify the desired set of entities by
providing a SPARQL query that returns them.</p>
        <p>The extension is currently published in http://www.ics.forth.gr/isl/
VoIDWarehouse, and apart from the vocabulary it contains URIs for the
connectivity metrics.
3.3</p>
      </sec>
      <sec id="sec-3-2">
        <title>Using VoID and the Proposed Extension to Describe the</title>
      </sec>
      <sec id="sec-3-3">
        <title>MarineTLO-based Warehouse</title>
        <p>
          Here we show how with VoID and the proposed extension we can describe
the MarineTLO-based warehouse [
          <xref ref-type="bibr" rid="ref16">16</xref>
          ] and the corresponding connectivity
metrics (this corresponds to the process “2. VoID extension” of Figure 2). At first
we discuss what we can describe using only VoID. The description is presented
in a modular way, i.e. Figure 4 shows the used namespaces, and the general and
administrative metadata of the warehouse, while Figure 5 shows the description
of the constituent datasets and of their schema mappings with the warehouse.
@prefix rdf: &lt;http://www.w3.org/2999/02/22-rdf-syntax-ns#&gt; .
@prefix rdfs: &lt;http://www.w3.org/2000/01/rdf-schema#&gt; .
@prefix owl: &lt;http://www.w3.org/2002/07/owl#&gt; .
@prefix void: &lt;http://rdfs.org/ns/void#&gt; .
@prefix dcterms: &lt;http://purl.org/dc/terms/&gt; .
@prefix dst: &lt;http://www.ics.forth.gr/isl#&gt; .
@prefix vdw: &lt;http://www.ics.forth.gr/isl/VoIDWarehouse#&gt; .
# General Description of the MarineTLO-based Warehouse
dst:MarineTLOWarehouse rdf:type void:Dataset;
dcterms:title "Marine TLO Warehouse version 4";
dcterms:publisher &lt;http://ics.forth.gr/isl&gt; ;
dcterms:description "Warehouse for i-Marine Project version 4"&gt; ;
dcterms:licence "Open Database License (ODC-ODbL)";
void:vocabulary &lt;http://ics.forth.gr/Ontology/MarineTLO/core&gt;;
dcterms:subject &lt;http://dbpedia.org/resource/Marine_ecosystem&gt;;
dcterms:subject &lt;http://dbpedia.org/resource/Species&gt;;
dcterms:subject &lt;http://dbpedia.org/resource/Predator&gt;;
dcterms:issued "2014-02-02T02:10:30"^^xsd:dateTime;
void:sparqlEndpoint &lt;http://virtuoso.i-marine.d4science.org:8890/sparql&gt;;
void:feature &lt;http://www.w3.org/ns/formats/N-Triples&gt;;
void:triples "3,500,000"
        </p>
        <p>
          Now, Figure 6 illustrates how the value of the connectivity metric called
common URIs, as computed over FLOD and Ecoscope, is represented using
the proposed extension. We can see that MatWare carried out this measurement
and computed 1,738 common URIs between these two sources, according to the
suffixCanonicalization-based URI equivalence. Also notice that exact definitions
of suffix Canonicalization and commonURIs, are given in the paper [
          <xref ref-type="bibr" rid="ref15">15</xref>
          ], whose
URL is connected with the measurement at hand. The description of the
measurement in triples is shown in Figure 7.
# Description of some of the components of the MarineTLO-based Warehouse
dst:MarineTLOWarehouse rdf:type void:Dataset;
void:subset dst:MarineTLO;
void:subset dst:FLODPart;
void:subset dst:EcoscopePart;
void:subset dst:Mappings
# MarineTLO
dst:MarineTLO rdf:type void:Dataset;
dcterms:title "MarineTLO ontology";
dcterms:publisher &lt;www.ics.forth.gr/isl&gt; ;
dcterms:description "MarineTLO is a top-level ontology for the marine domain";
dcterms:provenance &lt;http://www.ics.forth.gr/isl/MarineTLO/&gt; ;
void:triples "4,000"
# FLODPart
dst:FLODPart rdf:type void:Dataset;
dcterms:title "Part of FLOD source";
dcterms:publisher &lt;www.ics.forth.gr/isl&gt; ;
dcterms:description "Our Part from FAO data for marine domains";
dcterms:provenance &lt;http://www.fao.org&gt;;
void:triples "750,000"
# EcoscopePart
dst:EcoscopePart rdf:type void:Dataset;
dcterms:title "Part of Ecoscope source";
dcterms:publisher &lt;www.ics.forth.gr/isl&gt; ;
dcterms:description "Part of Ecoscope Data for Marine Domains";
dcterms:provenance &lt;http://www.ird.fr&gt;
void:triples "150,000"
# Mappings
dst:Mappings rdf:type void:Dataset;
void:subset dst:FLODPart2MarineTLO;
void:subset dst:EcoscopePart2MarineTLO;
void:subset dst:EcoscopePart2FLODPart
# Instance Matching EcoscopePart - FLODPart
dst:EcoscopePart2FLODPart rdf:type void:Linkset;
void:target dst:EcoscopePart;
void:target dst:FLODPart;
void:linkPredicate owl:sameAs
# Schema Mappings EcoscopePart - MarineTLO (SubClassOf)
dst:EcoscopePart2MarineTLO rdf:type void:Linkset;
void:target dst:EcoscopePart;
void:target dst:MarineTLO;
void:linkPredicate rdfs:subClassOf
# Schema Mappings FLODPart - MarineTLO (SubClassOf)
dst:FLODPart2MarineTLO rdf:type void:Linkset;
void:target dst:FLODPart;
void:target dst:MarineTLO;
void:linkPredicate rdfs:subClassOf
void:Dataset .
        </p>
        <p>void:Dataset .
vdw:measurement_1 rdf:type vdw:Measurement;
vdw:carriedOutBy dst:MatWare;
dcterms:date "2014-03-14T03:18:56"^^xsd:dateTime;
vdw:over dst:EcoscopePart;
vdw:over dst:FLODPart;
vdw:accordingTo vdw:suffixCanonicalization;
vdw:producesValue "1,738";
vdw:usesMetric vdw:commonUris .
vdw:commonUris rdfs:isDefinedBy &lt;http://ceur-ws.org/Vol-1133/paper-40.pdf&gt; .
vdw:suffixCanonicalization rdfs:isDefinedBy &lt;http://ceur-ws.org/Vol-1133/paper-40.pdf&gt; .
dst:MatWare rdf:type dcterms:Agent .</p>
      </sec>
      <sec id="sec-3-4">
        <title>Computing the Connectivity Metrics using SPARQL queries</title>
        <p>For making clear the entire life cycle, here we show how the values of the
connectivity metrics can be computed using SPARQL queries (this corresponds to
the process “1. SPARQL compute” of Figure 2).</p>
        <p>Common URIs. The metric Common URIs over two sources Si and Sj , can
be computed with the following query:
SELECT COUNT (DISTINCT ?o)
WHERE { graph :Si {{?s1 ?p1a ?o} UNION {?o ?p1b ?o1}} . FILTER(isURI(?o))</p>
        <p>graph :Sj {{?s2 ?p2a ?o} UNION {?o ?p2b ?o2}} }
In the context of the warehouse, this metric should be computed over all pairs
of sources, i.e. all (Si, Sj ) such that Si, Sj ∈ S and i 6= j. Note that this
metric is symmetric, i.e. the value of the pair (Si, Sj ) is equal to the value of (Sj , Si).
Common Literals. The Common Literals between two sources Si and Sj can
be computed in a similar manner, i.e.:
SELECT COUNT DISTINCT ?o
WHERE { graph :Si { ?s ?p ?o} . FILTER(isLiteral(?o))</p>
        <p>graph :Sj { ?a ?b ?o} }
Again, this metric should also be computed over all pairs (Si, Sj ) of the
warehouse.</p>
        <p>Unique Triples Contribution. To compute the unique triple contribution of
a source, say S1, to the warehouse S = S1, . . . , Sk, we have to count the number
of triples of S1 that do not intersect with the triples of any of the other sources
of S (i.e. with none of the sources in S2 ... Sn). This can be done using the
following query:
SELECT COUNT(*)
WHERE { graph :S1 { ?s ?p1 ?o} .</p>
        <p>FILTER NOT EXISTS { graph :S2 { ?s ?p2 ?o} } .</p>
        <p>...</p>
        <p>...</p>
        <p>FILTER NOT EXISTS { graph :Sn { ?s ?pn ?o} } }
Complementarity Factor. This metric is computed for a specific entity over
all sources of the warehouse. In particular, the complementarity factor of an
entity e is increased by 1 for each source Si ∈ S that contains at least one
unique triple having the entity e. This means that if all sources in S contain
unique triples for e, then its complementarity factor will be n. The query below
gives the complementarity factor of an entity e over S. Notice that the WHERE
clause contains n graph patterns. Each graph pattern i returns 1 if Si contains
unique triples for the entity e, or 0 otherwise.</p>
        <p>SELECT (?CF1+ .. + ?CFn) AS ?CF
WHERE { { SELECT xsd:integer(COUNT(*)&gt;0) as ?CF1</p>
        <p>WHERE { { graph :S1 { ?s ?p1 ?o } }</p>
        <p>FILTER NOT EXISTS { graph :S2 { ?s ?p2 ?o} } .</p>
        <p>...</p>
        <p>...</p>
        <p>FILTER NOT EXISTS { graph :Sn { ?s ?pn ?o} }
FILTER (regex(?s, e,’i’) || (regex(?o, e,’i’))) } }
...</p>
        <p>...
{ SELECT xsd:integer(COUNT(*)&gt;0) as ?CFn</p>
        <p>WHERE { { graph :Sn { ?s ?pn ?o } }</p>
        <p>FILTER NOT EXISTS { graph :S1 { ?s ?p1 ?o } } .</p>
        <p>...</p>
        <p>...</p>
        <p>FILTER NOT EXISTS { graph :Sn-1 { ?s ?pn-1 ?o } }</p>
        <p>FILTER (regex(?s, e,’i’) || (regex(?o, e,’i’))) } }
}
}
Increase in the Average Degree. Let E be a set of entities coming from a
source Si. To compute the increase in the average degree of these entities when
they “enter” into the warehouse, the following query computes both average
values (before and after the entrance to the warehouse) and reports back the
increase. Note that that above query considers the “entity matching” policy of
Table 2.</p>
        <p>SELECT ((?avgDW-?avgDS)/?avgDS) as ?IavgD
WHERE { { SELECT xsd:double((count(?in)+count(?out)))</p>
        <p>/xsd:double(count (distinct ?e)) as ?avgDS
FROM :Si
WHERE{ ?e rdf:type :E.</p>
        <p>{?e ?in ?o} UNION {?o1 ?out ?e} } }
{ SELECT xsd:double((count(?in)+count(?out)))</p>
        <p>/xsd:double(count (distinct ?e)) as ?avgDW
FROM :W
WHERE { ?e rdf:type :E .</p>
        <p>{ ?e ?in ?o} UNION {?o1 ?out ?e} } }
Time efficiency. Table 4 shows the query execution times for computing the
metric Common URIs for each of the three policies of Table 2, i.e. Exact String
Equality, Suffix Canonicalization and Entity Matching9. The first row
corresponds to the pure SPARQL approach that was presented earlier. The second
row corresponds to a hybrid approach, where more simple queries are used for
9 The experiments were conducted using Openlink Virtuoso V6.1, Ubuntu 12.10 64bit,
Quad-Core, 4 GB RAM
getting the resources of interest (i.e. the two sets of URIs, one for each source
Si, Sj), and Java code is used for computing their intersection. We observe that
the hybrid approach is faster than the pure SPARQL, as the comparisons are
implemented faster in Java. In general, we have observed that the hybrid approach
loses in time efficiency when the implemented queries return a big amount of
data (as in the case of Unique Triples Contribution), while it is faster (than pure
SPARQL) in comparisons.
The following query shows how SPARQL applies Suffix Canonicalization on URIs
using some functions of Virtuoso. Regarding this policy, the pure SPARQL
approach becomes less efficient, as the string comparisons cost more when
implemented over the endpoint. Regarding the third policy, both approaches are
increased by 1 minute. This uniform increase is reasonable as an additional graph
that contains the triples with the sameAs properties is taken into account.
SELECT DISTINCT bif:lower(bif:regexp_substr(’[^#|/]+\$’,?o,0)) as ?o
FROM :Si {{ ?s ?p ?o } UNION { ?o ?p ?s } FILTER(isURI(?o)) }
3.5</p>
      </sec>
      <sec id="sec-3-5">
        <title>Storing and Querying the Values of the Connectivity Metrics</title>
        <p>The measurements computed by the aforementioned queries can be represented
and exchanged using the VoID extension. They can also be stored in a graph
space in the triplestore; indeed MatWare can compute and store these triples in
a separate graph space in the same SPARQL endpoint (this corresponds to the
process “3. store” of Figure 2). Figure 8 gives an example of this procedure for
the metric Common Literals over the sources Ecoscope and FishBase. The query
both computes the metric and inserts the computed values (expressed using the
VoID extension) to a graphspace.</p>
        <p>After that, one could retrieve these values from the warehouse using SPARQL
queries (this corresponds to the process “4. query” of Figure 2). For example, the
query in Figure 9 returns all triples of the warehouse that concern the common
URIs metric.
4</p>
      </sec>
    </sec>
    <sec id="sec-4">
      <title>Concluding Remarks</title>
      <p>W3C has proposed VoID as the vocabulary for describing interlinked and open
linked datasets. Motivated by a concrete scenario of modeling connectivity
metrics in the context of an operational semantic warehouse of the marine domain,
we have proposed an extension of VoID which is able to represent these metrics.
prefix dcterms:&lt;http://purl.org/dc/terms/&gt;
prefix dst:&lt;http://www.ics.forth.gr/isl#&gt;
prefix vdw:&lt;http://www.ics.forth.gr/isl/VoIDWarehouse#&gt;
INSERT INTO dst:Metrics {
vdw:measurement_2 rdf:type vdw:Measurement ;
vdw:usesMetric vdw:commonLiterals;
vdw:producesValue ?commonLiterals;
dcterms:date "2014-03-14T03:19:45"^^xsd:dateTime;
vdw:carriedOutBy dst:Matware;
vdw:over dst:EcoscopePart;
vdw:over dst:FishbasePart . }
WHERE{{ SELECT (count(distinct ?o) as ?commonLiterals )</p>
      <p>WHERE { graph dst:EcoscopePart { ?s ?p ?o } . FILTER(isLiteral(?o))</p>
      <p>graph dst:FishbasePart { ?a ?b ?o } } } }</p>
      <p>The benefit of the proposed extension is that it allows someone to publish the
metrics and their associated values in a standard and machine processable way.
Finally, we have shown how the metrics can be computed and we have reported
the times required for computing these metrics either using solely SPARQL, or
SPARQL and programming language code.</p>
      <sec id="sec-4-1">
        <title>Acknowledgement</title>
        <p>This work was partially supported by the ongoing project iMarine (FP7 Research
Infrastructures, 2011-2014).</p>
      </sec>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          1.
          <string-name>
            <given-names>S.</given-names>
            <surname>Auer</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Demter</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Martin</surname>
          </string-name>
          ,
          <string-name>
            <surname>and J. Lehmann.</surname>
          </string-name>
          <article-title>LODStats - an Extensible Framework for High-Performance Dataset Analytics</article-title>
          .
          <source>In Knowledge Engineering and Knowledge Management</source>
          , pages
          <fpage>353</fpage>
          -
          <lpage>362</lpage>
          . Springer,
          <year>2012</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          2.
          <string-name>
            <surname>C.</surname>
          </string-name>
          <article-title>B¨ohm</article-title>
          , J. Lorey, and
          <string-name>
            <given-names>F.</given-names>
            <surname>Naumann</surname>
          </string-name>
          .
          <article-title>Creating VoID Descriptions for Web-Scale Data</article-title>
          .
          <source>Web Semantics: Science, Services and Agents on the World Wide Web</source>
          ,
          <volume>9</volume>
          (
          <issue>3</issue>
          ):
          <fpage>339</fpage>
          -
          <lpage>345</lpage>
          ,
          <year>2011</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          3.
          <string-name>
            <given-names>R.</given-names>
            <surname>Cyganiak</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Field</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Gregory</surname>
          </string-name>
          ,
          <string-name>
            <given-names>W.</given-names>
            <surname>Halb</surname>
          </string-name>
          , and
          <string-name>
            <given-names>J.</given-names>
            <surname>Tennison</surname>
          </string-name>
          . Semantic Statistics:
          <article-title>Bringing Together SDMX and SCOVO</article-title>
          . LDOW,
          <volume>628</volume>
          ,
          <year>2010</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          4.
          <string-name>
            <given-names>F.</given-names>
            <surname>Darari</surname>
          </string-name>
          ,
          <string-name>
            <given-names>W.</given-names>
            <surname>Fariz</surname>
          </string-name>
          ,
          <string-name>
            <given-names>W.</given-names>
            <surname>Nutt</surname>
          </string-name>
          , G. Pirro, and
          <string-name>
            <given-names>S.</given-names>
            <surname>Razniewski</surname>
          </string-name>
          .
          <article-title>Completeness Statements about RDF Data Sources and their Use for Query Answering</article-title>
          .
          <source>In The Semantic Web-ISWC</source>
          <year>2013</year>
          , pages
          <fpage>66</fpage>
          -
          <lpage>83</lpage>
          . Springer,
          <year>2013</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          5.
          <string-name>
            <given-names>O.</given-names>
            <surname>Hartig</surname>
          </string-name>
          and
          <string-name>
            <given-names>J.</given-names>
            <surname>Zhao</surname>
          </string-name>
          .
          <article-title>Publishing and Consuming Provenance Metadata on the Web of Linked Data</article-title>
          .
          <source>In Provenance and Annotation of Data and Processes</source>
          , pages
          <fpage>78</fpage>
          -
          <lpage>90</lpage>
          . Springer,
          <year>2010</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          6.
          <string-name>
            <given-names>Y.</given-names>
            <surname>Hu</surname>
          </string-name>
          ,
          <string-name>
            <given-names>K.</given-names>
            <surname>Janowicz</surname>
          </string-name>
          ,
          <string-name>
            <given-names>G.</given-names>
            <surname>McKenzie</surname>
          </string-name>
          ,
          <string-name>
            <given-names>K.</given-names>
            <surname>Sengupta</surname>
          </string-name>
          , and
          <string-name>
            <given-names>P.</given-names>
            <surname>Hitzler</surname>
          </string-name>
          .
          <article-title>A Linked-Datadriven and Semantically-enabled Journal Portal for Scientometrics</article-title>
          .
          <source>In The Semantic Web-ISWC</source>
          <year>2013</year>
          , pages
          <fpage>114</fpage>
          -
          <lpage>129</lpage>
          . Springer,
          <year>2013</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          7.
          <string-name>
            <surname>M. H. Keith Alexander</surname>
            , Richard Cyganiak and
            <given-names>J.</given-names>
          </string-name>
          <string-name>
            <surname>Zhao</surname>
          </string-name>
          .
          <article-title>Describing linked datasets with the void vocabulary</article-title>
          , w3c interest group note,
          <year>2011</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          8.
          <string-name>
            <given-names>T.</given-names>
            <surname>Knap</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Michelfeit</surname>
          </string-name>
          , J. Daniel,
          <string-name>
            <given-names>P.</given-names>
            <surname>Jerman</surname>
          </string-name>
          , D. Rychnovsky`,
          <string-name>
            <given-names>T.</given-names>
            <surname>Soukup</surname>
          </string-name>
          , and
          <string-name>
            <surname>M.</surname>
          </string-name>
          <article-title>Neˇcasky`. ODCleanStore: a Framework for Managing and Providing Integrated Linked Data on the Web</article-title>
          .
          <source>In Web Information Systems Engineering-WISE</source>
          <year>2012</year>
          , pages
          <fpage>815</fpage>
          -
          <lpage>816</lpage>
          . Springer,
          <year>2012</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          9.
          <string-name>
            <given-names>K.</given-names>
            <surname>Makris</surname>
          </string-name>
          ,
          <string-name>
            <given-names>G.</given-names>
            <surname>Skevakis</surname>
          </string-name>
          ,
          <string-name>
            <given-names>V.</given-names>
            <surname>Kalokyri</surname>
          </string-name>
          ,
          <string-name>
            <given-names>P.</given-names>
            <surname>Arapi</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Christodoulakis</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Stoitsis</surname>
          </string-name>
          ,
          <string-name>
            <given-names>N.</given-names>
            <surname>Manolis</surname>
          </string-name>
          , and
          <string-name>
            <given-names>S. L.</given-names>
            <surname>Rojas</surname>
          </string-name>
          .
          <article-title>Federating Natural History Museums in Natural Europe</article-title>
          .
          <source>In Metadata and Semantics Research</source>
          , pages
          <fpage>361</fpage>
          -
          <lpage>372</lpage>
          . Springer,
          <year>2013</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          10.
          <string-name>
            <given-names>P. N.</given-names>
            <surname>Mendes</surname>
          </string-name>
          , H. Mu¨hleisen, and
          <string-name>
            <given-names>C.</given-names>
            <surname>Bizer</surname>
          </string-name>
          . Sieve:
          <article-title>Linked Data Quality Assessment and Fusion</article-title>
          .
          <source>In Proceedings of the 2012 Joint EDBT/ICDT Workshops</source>
          , pages
          <fpage>116</fpage>
          -
          <lpage>123</lpage>
          . ACM,
          <year>2012</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref11">
        <mixed-citation>
          11.
          <string-name>
            <given-names>A.</given-names>
            <surname>Powell</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Nilsson</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Naeve</surname>
          </string-name>
          , and
          <string-name>
            <given-names>P.</given-names>
            <surname>Johnston</surname>
          </string-name>
          . Dublin core metadata initiative - abstract model,
          <year>2005</year>
          . White Paper.
        </mixed-citation>
      </ref>
      <ref id="ref12">
        <mixed-citation>
          12.
          <string-name>
            <surname>M. Sabou</surname>
            ,
            <given-names>I.</given-names>
          </string-name>
          <article-title>Arsal, and</article-title>
          <string-name>
            <given-names>A. M.</given-names>
            <surname>Bra</surname>
          </string-name>
          <article-title>¸soveanu. Tourmislod: A tourism linked data set</article-title>
          .
          <source>Semantic Web</source>
          ,
          <volume>4</volume>
          (
          <issue>3</issue>
          ):
          <fpage>271</fpage>
          -
          <lpage>276</lpage>
          ,
          <year>2013</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref13">
        <mixed-citation>
          13.
          <string-name>
            <given-names>Y.</given-names>
            <surname>Tzitzikas</surname>
          </string-name>
          ,
          <string-name>
            <given-names>C.</given-names>
            <surname>Alloca</surname>
          </string-name>
          ,
          <string-name>
            <given-names>C.</given-names>
            <surname>Bekiari</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Y.</given-names>
            <surname>Marketakis</surname>
          </string-name>
          ,
          <string-name>
            <given-names>P.</given-names>
            <surname>Fafalios</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Doerr</surname>
          </string-name>
          ,
          <string-name>
            <given-names>N.</given-names>
            <surname>Minadakis</surname>
          </string-name>
          ,
          <string-name>
            <given-names>T.</given-names>
            <surname>Patkos</surname>
          </string-name>
          , and
          <string-name>
            <given-names>L.</given-names>
            <surname>Candela</surname>
          </string-name>
          .
          <article-title>Integrating Heterogeneous and Distributed Information about Marine Species through a Top Level Ontology</article-title>
          .
          <source>In Proceedings of the 7th Metadata and Semantic Research Conference (MTSR'13)</source>
          , Thessaloniki, Greece,
          <year>November 2013</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref14">
        <mixed-citation>
          14.
          <string-name>
            <given-names>Y.</given-names>
            <surname>Tzitzikas</surname>
          </string-name>
          ,
          <string-name>
            <given-names>C.</given-names>
            <surname>Lantzaki</surname>
          </string-name>
          , and
          <string-name>
            <given-names>D.</given-names>
            <surname>Zeginis</surname>
          </string-name>
          .
          <article-title>Blank Node Matching and RDF/S Comparison Functions</article-title>
          . In
          <source>International Semantic Web Conference (1)</source>
          , pages
          <fpage>591</fpage>
          -
          <lpage>607</lpage>
          . Springer,
          <year>2012</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref15">
        <mixed-citation>
          15.
          <string-name>
            <given-names>Y.</given-names>
            <surname>Tzitzikas</surname>
          </string-name>
          ,
          <string-name>
            <given-names>N.</given-names>
            <surname>Minadakis</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Y.</given-names>
            <surname>Marketakis</surname>
          </string-name>
          ,
          <string-name>
            <given-names>P.</given-names>
            <surname>Fafalios</surname>
          </string-name>
          ,
          <string-name>
            <given-names>C.</given-names>
            <surname>Alloca</surname>
          </string-name>
          , and
          <string-name>
            <given-names>M.</given-names>
            <surname>Mountantonakis</surname>
          </string-name>
          .
          <article-title>Quantifying the Connectivity of a Semantic Warehouse</article-title>
          .
          <source>In Proceedings of the 4th International Workshop on Linked Web Data Management (LWDM</source>
          <year>2014</year>
          )
          <article-title>in conjunction with the 17th</article-title>
          <source>International Conference on Extending Database Technology (EDBT</source>
          <year>2014</year>
          ),
          <year>2014</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref16">
        <mixed-citation>
          16.
          <string-name>
            <given-names>Y.</given-names>
            <surname>Tzitzikas</surname>
          </string-name>
          ,
          <string-name>
            <given-names>N.</given-names>
            <surname>Minadakis</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Y.</given-names>
            <surname>Marketakis</surname>
          </string-name>
          ,
          <string-name>
            <given-names>P.</given-names>
            <surname>Fafalios</surname>
          </string-name>
          ,
          <string-name>
            <given-names>C.</given-names>
            <surname>Allocca</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Mountantonakis</surname>
          </string-name>
          ,
          <string-name>
            <surname>and I. Zidianaki.</surname>
          </string-name>
          <article-title>MatWare: Constructing and Exploiting Domain Specific Warehouses by Aggregating Semantic Data</article-title>
          .
          <source>In 11th Extended Semantic Web Conference (ESWC'14)</source>
          , Anissaras, Crete, Greece, May
          <year>2014</year>
          .
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>