<!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>Finding Commonalities in Linked Open Data</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Simona Colucci</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Silvia Giannini</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Francesco M. Donini</string-name>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Eugenio Di Sciascio</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>DEI, Politecnico di Bari</institution>
          ,
          <addr-line>Bari</addr-line>
          ,
          <country country="IT">Italy</country>
        </aff>
        <aff id="aff1">
          <label>1</label>
          <institution>DISUCOM, Universita` della Tuscia</institution>
          ,
          <addr-line>Viterbo</addr-line>
          ,
          <country country="IT">Italy</country>
        </aff>
      </contrib-group>
      <fpage>324</fpage>
      <lpage>329</lpage>
      <abstract>
        <p>The availability of a data source as huge, open, accessible and machine-understandable as the Web of Data asks for new and sophisticated inferences to be implemented in order to deeply exploit such a rich informative content. Towards this direction, the paper proposes an approach for inferring clusters in collections of RDF resources on the basis of the features shared by their descriptions. The approach grounds on an algorithm for Common Subsumers computation proposed in a previous work of some of the authors. The clustering service introduced here returns not only di↵erent cluster proposals for a given collection, but also a description of the informative content shared by the RDF resources within the clusters, in terms of (generalized) RDF triples.</p>
      </abstract>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>-</title>
      <p>Introduction
a knowledge domain. In particular, we chose LOD by Chamber of Deputies of
Italian Parliament5 as case study.</p>
      <p>The paper is organized as follows: in the next section we describe the main
features of the proposed approach, together with some details on its
implementation. In Section 3, some preliminary results are shown, before closing the paper.
2</p>
      <p>The Approach
The approach we propose here aims at automatically clustering a target
collection of RDF resources according to a fully semantic-based classification. In
particular, RDF descriptions are investigated to infer clusters of resources
entailing the same sets of RDF triples, in order to provide a description of the
informative content shared within each cluster.</p>
      <p>
        The originality of the proposal lays in the choice of adopting deductive
services to learn6 clusters description from examples represented in RDF. In fact,
although clustering is a thoroughly investigated task in machine learning
literature, approaches solving it usually adopt induction to identify clusters according
to some—sometimes semantic-based—distance between elements in the same
cluster ([
        <xref ref-type="bibr" rid="ref6">6</xref>
        ], [
        <xref ref-type="bibr" rid="ref8">8</xref>
        ]).
      </p>
      <p>We propose to solve clustering through a deductive and fully semantic-based
approach, which relies on the iteration of the following two steps: i) the CS of two
randomly selected RDF resources (in the following referred as seed-resources)
is computed; ii) the rest of the target collection is queried in order to find other
items entailing the same CS. The sub-collection made up by the two initial
resources and those returned by step ii) is one cluster of the collection. Therefore,
it is subtracted from the initial target collection, and the two steps are iterated
until there are no more resources to be clustered.</p>
      <p>
        An anytime algorithm to compute a CS of pairs of RDF resources has been
proposed in [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ] by some of the authors. In order to ensure correctness and
computability, the CS computation refers to a customized representation of RDF
resources which we call r-graph: a portion of the Web of Data we consider
relevant for the description of each input resource. In a nutshell, the algorithm for
CS computation starts by computing the r-graphs corresponding to the input
resources t and s, and returns their CS as a pair hx, T i, made up by a blank
node x (i.e., the CS of t and s itself) and a set of (generalized) RDF triples T ,
entailed by the r-graphs of both input resources7.
      </p>
      <p>
        Then, the set T of triples is used to model a SPARQL [
        <xref ref-type="bibr" rid="ref5">5</xref>
        ] query, which returns
a subset P of the target collection R, such that the RDF description of each
item in P entails all triples in T .
      </p>
      <p>
        In order to exemplify our clustering approach, we adopt the LOD by
Chamber of Deputies of Italian Parliament as use case. Such an informative source
5 http://dati.camera.it/data/en/
6 In Machine Learning vocabulary, what we do is called unsupervised learning
7 Due to space limits, the CS extraction algorithm [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ] is only sketched through an
example in the sequel.
is organized in about thirty di↵erent interlinked RDF datasets 8 (last update on
the 5th November, 2012), accessible through a public SPARQL endpoint9. Each
dataset contains the metadata describing a resource (by properties dc:date,
dc:description, dc:title, and rdfs:label), and the statements about
possible relations between that resource and other domain-related or web ones. For
the current experimental evaluation, we cluster only resources contained in the
dataset deputato.rdf, even though their descriptions span multiple datasets.
      </p>
      <p>
        In Figure 1, the reader may find two example r-graphs describing a pair of
resources (ocd:d3140 10 and ocd:d270 10) in our reference dataset. In the most
general case, all triples of datasets of interest having the seed-resource as subject
are considered relevant for the description of the resource itself. Here, we adopt a
more restrictive strategy driven by specific knowledge of the domain, and discard
as not relevant for the description of a resource r also triples &lt;&lt;r p o&gt;&gt; such
that p 2 { dc:date, dc:title, foaf:depiction, foaf:firstName, foaf:nick,
foaf:surname, ocd:endDate, ocd:file, ocd:startDate, ods:modified, rdfs:
comment, rdfs:label, terms:isReferencedBy}.
In Table 1, we report a clustering proposal for all deputies of the 10th legislature,
where resources ocd:d3140 10 and ocd:d270 10 of the above example10 were
forcibly selected as seed pair for the extraction of the first cluster (P1). By
looking at the first row, one can notice how no other resource in the collection
shares the features of the CS originated by the first seed-pair, i.e., |P1| = 2. All
subsequent clusters have been extracted with a random selection of seed’s URIs.
:x1 :x2 :x3 "female" i"Lnasuergenaanitne.l"e@tittere;
n
o
i
t
p
i
r
c
s
e
d
:
c
d
"Laurea in
giurisprudenza;
avvocato"@it
e
r
a
t
n
e
m
a
l
r
a
P
o
i
c
i
f
f
u
f
i
r
:
d
o |P |
c
2
81
44
:x4 148
398
7
10 Notice that, although the resources are the same as in the above example, we here
adopt a di↵erent criterion for selecting relevant triples.
This paper proposed a new and deductive strategy for clustering collections of
RDF resources on the basis of the informative content shared by their
descriptions expressed in form of generalized RDF triples. The clustering mechanism
relies on the computation of the CS [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ] of pairs of resources used as seed. In order
for such a computation to be finite, we select a relevant portion of the Web of
Data to describe the seed resources, according to a characteristic function to be
determined on the basis of domain-dependent criteria.
      </p>
      <p>The evaluated execution time of the whole clustering approach, together with
the clustering results in terms of provided informative content, seem to support
the e↵ort spent in designing and implementing the clustering strategy.</p>
      <p>Part of the future work will be devoted to the extension of CS definition and
computation to other entailment regimes, to the investigation on (as general
as possible) criteria for the selection of relevant triples, aimed at the combined
optimization of both description expressiveness and computational complexity,
and to a comparative experimental evaluation involving the definition of a metric
for clusters quality assessment.
Acknoledgements
We acknowledge support of projects “A Knowledge based Holistic Integrated
Research Approach” (KHIRA - PON 02 00563 3446857) and “Enhance Risk
Management through Extended Sensors” (ERMES - PON01 03113/F3).</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          1.
          <string-name>
            <surname>Berners-Lee</surname>
            ,
            <given-names>T.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Hendler</surname>
            ,
            <given-names>J.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Lassila</surname>
            ,
            <given-names>O.</given-names>
          </string-name>
          :
          <article-title>The Semantic Web</article-title>
          .
          <source>Scientific American</source>
          <volume>248</volume>
          (
          <issue>4</issue>
          ) (
          <year>2001</year>
          ), (
          <fpage>34</fpage>
          -43)
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          2.
          <string-name>
            <surname>Cohen</surname>
            ,
            <given-names>W.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Borgida</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Hirsh</surname>
          </string-name>
          , H.:
          <article-title>Computing Least Common Subsumers in Description Logics</article-title>
          . In: Rosenbloom,
          <string-name>
            <given-names>P.</given-names>
            ,
            <surname>Szolovits</surname>
          </string-name>
          , P. (eds.)
          <source>Proc. of AAAI'92</source>
          . pp.
          <fpage>754</fpage>
          -
          <lpage>761</lpage>
          . AAAI Press (
          <year>1992</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          3.
          <string-name>
            <surname>Colucci</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Donini</surname>
            ,
            <given-names>F.M.</given-names>
          </string-name>
          ,
          <string-name>
            <given-names>Di</given-names>
            <surname>Sciascio</surname>
          </string-name>
          , E.:
          <article-title>Common Subsumers in RDF</article-title>
          .
          <source>In: Proc. of AI*IA</source>
          <year>2013</year>
          . LNAI, Springer (
          <year>2013</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          4.
          <string-name>
            <surname>Patel-Schneider</surname>
            ,
            <given-names>P.F.</given-names>
          </string-name>
          :
          <article-title>Reasoning in RDFS is Inherently Serial, At Least in The Worst Case</article-title>
          . In: Glimm,
          <string-name>
            <given-names>B.</given-names>
            ,
            <surname>Huynh</surname>
          </string-name>
          ,
          <string-name>
            <surname>D</surname>
          </string-name>
          . (eds.)
          <source>Proc. of ISWC'12 (Demos &amp; Posters)</source>
          .
          <source>CEUR Workshop Proceedings</source>
          , vol.
          <volume>914</volume>
          .
          <string-name>
            <surname>CEUR-WS.org</surname>
          </string-name>
          (
          <year>2012</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          5. P´erez, J.,
          <string-name>
            <surname>Arenas</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Gutierrez</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          :
          <article-title>Semantics and complexity of SPARQL</article-title>
          .
          <source>ACM Trans. Database Syst</source>
          .
          <volume>34</volume>
          (
          <issue>3</issue>
          ),
          <volume>16</volume>
          :
          <fpage>1</fpage>
          -
          <lpage>16</lpage>
          :
          <fpage>45</fpage>
          (Sep
          <year>2009</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          6.
          <string-name>
            <surname>Qi</surname>
            ,
            <given-names>L.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Lin</surname>
            ,
            <given-names>H.T.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Honavar</surname>
            ,
            <given-names>V.</given-names>
          </string-name>
          :
          <article-title>Clustering remote RDF data using SPARQL update queries</article-title>
          .
          <source>In: Data Engineering Workshops (ICDEW)</source>
          ,
          <year>2013</year>
          IEEE 29th International Conference on. pp.
          <fpage>236</fpage>
          -
          <lpage>242</lpage>
          . IEEE (
          <year>2013</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          7.
          <string-name>
            <surname>Shadbolt</surname>
            ,
            <given-names>N.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Hall</surname>
            ,
            <given-names>W.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Berners-Lee</surname>
            ,
            <given-names>T.</given-names>
          </string-name>
          :
          <article-title>The Semantic Web Revisited</article-title>
          .
          <source>Intelligent Systems, IEEE</source>
          <volume>21</volume>
          (
          <issue>3</issue>
          ),
          <fpage>96</fpage>
          -
          <lpage>101</lpage>
          (
          <year>2006</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          8.
          <string-name>
            <surname>Zhang</surname>
            ,
            <given-names>X.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Zhao</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Wang</surname>
            ,
            <given-names>P.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Zhou</surname>
            ,
            <given-names>F.</given-names>
          </string-name>
          :
          <article-title>Mining link patterns in Linked Data</article-title>
          .
          <source>In: Web-Age Information Management</source>
          , pp.
          <fpage>83</fpage>
          -
          <lpage>94</lpage>
          . Springer (
          <year>2012</year>
          )
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>