<!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>RelClus: Clustering-based Relationship Search</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Yanan Zhang</string-name>
          <email>ynzhang@smail.nju.edu.cn</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Gong Cheng</string-name>
          <email>gcheng@nju.edu.cn</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Yuzhong Qu</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>State Key Laboratory for Novel Software Technology, Nanjing University</institution>
          ,
          <addr-line>Nanjing 210023</addr-line>
          ,
          <country country="CN">P.R. China</country>
        </aff>
      </contrib-group>
      <abstract>
        <p>Searching and browsing relationships between entities is an important task in many domains. To support users in interactively exploring a large set of relationships, we present a novel relationship search engine called RelClus, which automatically groups search results into a dynamically generated hierarchy with meaningful labels. This hierarchical clustering of relationships exploits their schematic patterns and a similarity measure based on information theory.</p>
      </abstract>
      <kwd-group>
        <kwd>Association discovery</kwd>
        <kwd>exploratory browsing</kwd>
        <kwd>hierarchical clustering</kwd>
        <kwd>path nding</kwd>
        <kwd>relationship search</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>Introduction</title>
      <p>
        Many information needs in various domains can be met by using an information
system that supports searching and browsing relationships (a.k.a. associations)
between entities, which are represented as paths in RDF graph. Whereas path
finding has been efficiently implemented (e.g. [
        <xref ref-type="bibr" rid="ref4">4</xref>
        ]), a major challenge that
remains is how to organize the results, which could be a large set of relationships
and cause information overload. To address this issue, efforts (e.g. [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ]) have been
made to rank the results according to various criteria. Another line of work such
as [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ], inspired by recent advances in exploratory search [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ], provides faceted
categories to organize search results into groups and serve as filters, each of which
characterizes a common feature of the underlying relationships such as their
length, or a type of a node (i.e. a class) or edge (i.e. a property) involved.
Differently, in this demo we will present a relationship search engine called RelClus1
that practices another implementation of exploratory search, namely clustering.
RelClus measures the similarity between relationships based on their schematic
patterns by using information theory, and returns a dynamically generated
hierarchical clustering with meaningful labels, to effectively guide the exploration
of search results. Figure 1 shows a screenshot of the system.
      </p>
    </sec>
    <sec id="sec-2">
      <title>Design and Implementation</title>
      <p>RelClus is based on the DBpedia data set (dbpedia.org), and consists of four
components: keyword mapping, path finding, relationship clustering, and result
presentation, which will be detailed in the following.
1 http://ws.nju.edu.cn/relclus/.
User interaction starts with two keyword phrases, e.g. Sydney and Melbourne
in Fig. 1, describing two entities between which the relationships are
requested. Featured by the autocomplete functionality implemented based on Apache
Lucene (lucene.apache.org), RelClus can help the user conveniently determine
the mapping from keyword phrases to entities. In addition, when necessary, the
user can change the default length limit on the relationships to be returned, by
choosing an appropriate value from the drop-down list next to the search button.
2.2</p>
      <sec id="sec-2-1">
        <title>Path Finding</title>
        <p>Once the search button is clicked, RelClus will start to find all the paths (subject
to a length limit) between the two entities specified by the user. In particular,
edges in a relationship are not required to go the same direction because the
inverse of a property also has meaning for human readers. Figure 2 illustrates
an RDF graph containing five relationships, R1–R5, from Sydney to Melbourne,
as our running example.</p>
        <p>Paths are found by using bidirectional breadth-first search (bi-BFS), which
runs two simultaneous searches from the two entities given and finds paths when
the two meet in the middle. According to our experimental results, bi-BFS is
generally faster than a single BFS or DFS, though requiring more memory than
DFS. To further reduce the time needed, our bi-BFS runs concurrently in
multiple threads. Besides, a cache is used to avoid repeated path finding for repeated
queries in the future.
2.3</p>
      </sec>
      <sec id="sec-2-2">
        <title>Relationship Clustering</title>
        <p>As a key step of RelClus, all the relationships found by bi-BFS will be clustered
into a hierarchy. For simplicity, the relationships are firstly grouped by length,
(R1)
residence (R2) Lleyton Hewitt
Sydney
deathPlace (R3)
and then each group is processed individually. We will illustrate our clustering
algorithm by using R1–R5 in Fig. 2, all of which are of length three.</p>
        <p>Our clustering algorithm follows an agglomerative manner; that is, each
relationship starts in its own cluster, and a hierarchy of clusters is built by
progressively merging the most similar pair of clusters.</p>
        <p>Before describing the similarity measure, we need to introduce how we assign
a meaningful and representative label to each cluster. The label of a cluster is a
relationship pattern, which is a high-level abstraction of relationships where the
nodes can be either entities or classes, and the directions of edges are omitted;
the label of a singleton cluster is just the unique relationship it contains. For
instance, in Fig. 3, R4 labels the singleton cluster {R4}; P1 is a relationship
pattern that labels the cluster {R4; R5}, where ⊤P denotes the top property
that is a superproperty of all the properties.</p>
        <p>
          We call P1 a superpattern of R4 and R5 in the sense that for each entity, class,
and property in R4 and R5, the element in the corresponding position in P1
is either the same or its type, superclass, and superproperty, respectively; in
particular, it is the least common element among the possibilities. For instance,
Leslie Cody in R4 and William Bowrey in R5 are instances of both Person and
Athlete, and we choose Athlete in P1 because it is the least common type given
Athlete being a subclass of Person, and thus contains the most information
content as discussed in [
          <xref ref-type="bibr" rid="ref5">5</xref>
          ].
        </p>
        <p>We define the similarity between two clusters as the information content
associated with the relationship pattern that labels their union, which indicates
how many commonalities the two clusters share. The information content
associated with a relationship pattern is the sum of the information contents of
its elements. So, at the beginning of the clustering process in our running
example, {R4} and {R5} are merged before {R1} and {R2} because the label of
{R4; R5}, which would be P1, contains more information content than P2 which
would label {R1; R2}, mainly because P2 contains one more top property, the
information content of which is trivially zero.</p>
        <p>In addition, after successively forming {R4; R5} labeled with P1 and {R1; R2}
labeled with P2, we will immediately merge {R1; R2} and {R3} into {R1; R2; R3},
still labeled with P2, because R3 also matches this pattern. Finally, the two</p>
        <p>Sydney</p>
        <p>P</p>
        <p>PopulatedPlace
P</p>
        <sec id="sec-2-2-1">
          <title>Australia country Melbourne</title>
        </sec>
        <sec id="sec-2-2-2">
          <title>Sydney birthPlace</title>
          <p>clusters labeled with P1 and P2 are merged into the root cluster labeled with P3,
and a hierarchy is formed.
A hierarchical clustering is visualized as a collapsible/expandable tree, as
illustrated in Fig. 1. Each entity is prefixed by a thumbnail if available; each class
is prefixed by some; the top property is omitted; and the top class is shown as
something. Each non-singleton cluster is suffixed by its size in parentheses, and
sibling clusters are sorted by their sizes decreasingly.</p>
          <p>Acknowledgments. This work was supported in part by the NSFC under
Grant 61100040 and 61223003, and in part by the JSNSF under Grant BK2012723.</p>
        </sec>
      </sec>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          1.
          <string-name>
            <surname>Aleman-Meza</surname>
            ,
            <given-names>B.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Halaschek-Wiener</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Arpinar</surname>
            ,
            <given-names>I.B.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Ramakrishnan</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Sheth</surname>
            ,
            <given-names>A.P.</given-names>
          </string-name>
          :
          <article-title>Ranking Complex Relationships on the Semantic Web</article-title>
          .
          <source>IEEE Internet Comput</source>
          .
          <volume>9</volume>
          (
          <issue>3</issue>
          ),
          <volume>37</volume>
          {
          <fpage>44</fpage>
          (
          <year>2005</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          2.
          <string-name>
            <surname>Hearst</surname>
            ,
            <given-names>M.A.</given-names>
          </string-name>
          :
          <article-title>Clustering versus Faceted Categories for Information Exploration</article-title>
          .
          <source>Comm. ACM</source>
          <volume>49</volume>
          (
          <issue>4</issue>
          ),
          <volume>59</volume>
          {
          <fpage>61</fpage>
          (
          <year>2006</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          3.
          <string-name>
            <surname>Heim</surname>
            ,
            <given-names>P.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Lohmann</surname>
          </string-name>
          . S.,
          <string-name>
            <surname>Stegemann</surname>
            ,
            <given-names>T.</given-names>
          </string-name>
          :
          <article-title>Interactive Relationship Discovery via the Semantic Web</article-title>
          . In: Aroyo,
          <string-name>
            <given-names>L.</given-names>
            ,
            <surname>Antoniou</surname>
          </string-name>
          ,
          <string-name>
            <given-names>G.</given-names>
            , Hyvonen, E.,
            <surname>ten Teije</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            ,
            <surname>Stuckenschmidt</surname>
          </string-name>
          ,
          <string-name>
            <given-names>H.</given-names>
            ,
            <surname>Cabral</surname>
          </string-name>
          ,
          <string-name>
            <given-names>L.</given-names>
            ,
            <surname>Tudorache</surname>
          </string-name>
          , T. (eds.)
          <source>ESWC</source>
          <year>2010</year>
          ,
          <string-name>
            <surname>Part</surname>
            <given-names>I. LNCS</given-names>
          </string-name>
          , vol.
          <volume>6088</volume>
          , pp.
          <volume>303</volume>
          {
          <fpage>317</fpage>
          . Springer, Heidelberg (
          <year>2010</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          4.
          <string-name>
            <surname>Janik</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Kochut</surname>
            ,
            <given-names>K.</given-names>
          </string-name>
          :
          <article-title>BRAHMS: A WorkBench RDF Store and High Performance Memory System for Semantic Association Discovery</article-title>
          . In: Gil,
          <string-name>
            <given-names>Y.</given-names>
            ,
            <surname>Motta</surname>
          </string-name>
          ,
          <string-name>
            <given-names>E.</given-names>
            ,
            <surname>Benjamins</surname>
          </string-name>
          ,
          <string-name>
            <given-names>V.R.</given-names>
            ,
            <surname>Musen</surname>
          </string-name>
          ,
          <string-name>
            <surname>M.A. (eds.) ISWC</surname>
          </string-name>
          <year>2005</year>
          .
          <article-title>LNCS</article-title>
          , vol.
          <volume>3729</volume>
          , pp.
          <volume>431</volume>
          {
          <fpage>445</fpage>
          . Springer, Heidelberg (
          <year>2005</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          5.
          <string-name>
            <surname>Resnik</surname>
            ,
            <given-names>P.</given-names>
          </string-name>
          :
          <article-title>Using Information Content to Evaluate Semantic Similarity in a Taxonomy</article-title>
          .
          <source>In: 14th International Joint Conference on Arti cial Intelligence</source>
          , Volume
          <volume>1</volume>
          , pp.
          <volume>448</volume>
          {
          <fpage>453</fpage>
          . Morgan Kaufmann, San Francisco (
          <year>1995</year>
          )
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>