<!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>Hybrid Graph based Keyword Query Interpretation on RDF</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Kaifeng Xu</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Junquan Chen</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Haofen Wang</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Yong Yu</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Apex Data and Knowledge Management Lab Shanghai Jiao Tong University</institution>
          ,
          <addr-line>Shanghai, 200240</addr-line>
          ,
          <country country="CN">China</country>
        </aff>
      </contrib-group>
      <abstract>
        <p>Adopting keyword query interface to semantic search on RDF data can help users keep away from learning the SPARQL query syntax and understanding the complex and fast evolving data schema. The existing approaches are divided into two categories: instance-based approaches and schema-based approaches. The instance-based approaches relying on the original RDF graph can generate precise answers but take a long processing time. In contrast, the schema-based approaches relying on the reduced summary graph require much less processing time but cannot always generate correct answers. In this paper, we propose a novel approach based on a hybrid graph which can achieve signi cant improvements on processing time with a limited accuracy drop compared with instance-based approaches, and meanwhile, can achieve promising accuracy gains at an a ordable time cost compared with schema-based approaches.</p>
      </abstract>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>-</title>
      <p>
        Introduction
On the way to Semantic Web, Resource Description Framework (RDF) is a
language for representing information about resources in the World Wide Web.
The ever growing semantic data in RDF format provides fertile soil for semantic
search, and formal query languages (e.g. SPARQL) are adopted by most current
semantic search systems[
        <xref ref-type="bibr" rid="ref1 ref2">1, 2</xref>
        ] to accurately express complex information needs.
However, the disadvantages of formal queries are: (1) Complex Syntax : It is hard
to learn and remember complex syntax of formal queries for ordinary users. (2)
Priori Knowledge: Users have to know the schema of the underlying semantic
data beforehand. In contrast, keyword queries cater to user habits since keywords
(or known as keyword phrases) are easier to be understood and convenient to
use. An approach that can leverage the advantages of both query types is to
provide a keyword user interface and then translate keyword queries into formal
queries.
      </p>
      <p>
        In XML and database communities, bridging the gap between keyword queries
and formal queries has been widely studied. However, there exists a limited
amount of work on how to answer keyword queries on semantic data in RDF
format. As an early attempt to build a semantic search system, SemSearch [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ]
employed a template-based approach to capture the restricted interpretations
of given keywords. Later, improved approaches [
        <xref ref-type="bibr" rid="ref4 ref5">4, 5</xref>
        ] have been proposed to
address the problem of nding all possible interpretations. In particular, Thanh
et al. [
        <xref ref-type="bibr" rid="ref5">5</xref>
        ] employed the RDF graph (instance-based approaches ) to discover the
connections between nodes matching the input keywords, through which the
interpretation accuracy can be ensured, but at the cost of a longer processing
time. This problem has been recently tackled by [
        <xref ref-type="bibr" rid="ref6 ref7">6, 7</xref>
        ], where keyword queries
are translated using a summary graph extracted from the RDF data
(schemabased approaches). Although schema-based approaches signi cantly speed up
the processing, the schema-graph loses too much connectivity information of the
corresponding RDF graph to guarantee the interpretation accuracy.
      </p>
      <p>In this paper, we propose a novel e ective and e cient keyword query
interpretation approach based on a hybrid graph carefully constructed from the
original RDF graph. A hybrid graph is much smaller than the original RDF
graph, and meanwhile it can preserve as much connectivity information as
possible. In this way, we construct the hybrid graph under the guidance of a graph
score which re ects the best tradeo between e ectiveness and e ciency of
keyword query interpretation.
2</p>
      <p>The Hybrid Graph based Approach</p>
      <p>The construction of hybrid graph is an iterative process which extracts and
re nes a quali ed subgraph from the original RDF graph by means of a graph
score. The graph score is used to de ne the overall interpretation performance,
which plays an important role from the starting point to the ending point of each
interaction in the whole construction process. More precisely, the graph score is
the linear combination of the size of the hybrid graph and the amount of the
connectivity information contained in the graph. The work ow of a hybrid graph
construction is illustrated in Figure 2(a) which takes the original RDF graph as
input. A construction unit (CU) is employed to carry out the re nement on the
given RDF graph to generate a quali ed hybrid subgraph. The CUs are
additionally used several times for further re nement on the remaining unquali ed
RDF subgraphs. Finally, several quali ed hybrid subgraphs are returned, and
combined together to form an overall hybrid graph.</p>
    </sec>
    <sec id="sec-2">
      <title>RDF Graph</title>
    </sec>
    <sec id="sec-3">
      <title>Unqualified</title>
    </sec>
    <sec id="sec-4">
      <title>Subgraph CU CU</title>
    </sec>
    <sec id="sec-5">
      <title>Unqualified</title>
    </sec>
    <sec id="sec-6">
      <title>Subgraph</title>
      <p>…
…
CU</p>
    </sec>
    <sec id="sec-7">
      <title>Qualified</title>
    </sec>
    <sec id="sec-8">
      <title>Subgraph</title>
    </sec>
    <sec id="sec-9">
      <title>Qualified</title>
    </sec>
    <sec id="sec-10">
      <title>Subgraph</title>
      <p>…
…</p>
    </sec>
    <sec id="sec-11">
      <title>Qualified</title>
    </sec>
    <sec id="sec-12">
      <title>Subgraph CU</title>
    </sec>
    <sec id="sec-13">
      <title>Hybrid</title>
    </sec>
    <sec id="sec-14">
      <title>Graph</title>
    </sec>
    <sec id="sec-15">
      <title>RDF Graph</title>
    </sec>
    <sec id="sec-16">
      <title>Unqualified Subgraph</title>
    </sec>
    <sec id="sec-17">
      <title>Qualified Subgraph</title>
    </sec>
    <sec id="sec-18">
      <title>Instance Node</title>
    </sec>
    <sec id="sec-19">
      <title>Cluster Node</title>
      <p>We compare our approach with instance-based approches and schema-based
counterparts on three di erent datasets (i.e., semanticweb.org, DBpedia, DBLP)
in terms of processing time and interpretation accuracy. Table 1 lists The
statistics of the three data sets. We manually construct 42 scenarios (17 from
semanticweb.org, 10 from DBpedia, and 5 from DBLP) for the comparison.</p>
      <p>Data set ]Category ]Instance ]Relation ]Inst.degree ]Rel.kind ]Rel/kind
semanticweb.org 5:06 102 7:483 103 1:628 104</p>
      <p>DBLP 1:0 101 1:640 106 3:176 106
DBpedia 2:694 105 2:520 106 6:868 106
0.20 
0.00 </p>
      <sec id="sec-19-1">
        <title>Instance</title>
        <p>1.00 
0.88 
0.53 </p>
      </sec>
      <sec id="sec-19-2">
        <title>Schema</title>
        <p>1.00  0.93 
0.40 
0.33 
SemanticWeb
DBLP
Data set</p>
        <p>27 26
SemanticWeb</p>
        <sec id="sec-19-2-1">
          <title>Instance</title>
        </sec>
        <sec id="sec-19-2-2">
          <title>Schema HG</title>
          <p>973
803
13
DBLP
Data set</p>
        </sec>
      </sec>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          1.
          <string-name>
            <surname>Broekstra</surname>
            ,
            <given-names>J.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Kampman</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Van Harmelen</surname>
            ,
            <given-names>F.</given-names>
          </string-name>
          :
          <article-title>Sesame: A generic architecture for storing and querying rdf and rdf schema</article-title>
          .
          <source>In: ISWC</source>
          . (
          <year>2002</year>
          )
          <volume>54</volume>
          {
          <fpage>68</fpage>
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          2.
          <string-name>
            <surname>Lu</surname>
            ,
            <given-names>J.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Ma</surname>
            ,
            <given-names>L.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Zhang</surname>
            ,
            <given-names>L.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Brunner</surname>
            ,
            <given-names>J.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Wang</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Pan</surname>
            ,
            <given-names>Y.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Yu</surname>
            ,
            <given-names>Y.</given-names>
          </string-name>
          :
          <article-title>SOR: a practical system for ontology storage, reasoning and search</article-title>
          . In: VLDB. (
          <year>2007</year>
          )
          <volume>1402</volume>
          {
          <fpage>1405</fpage>
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          3.
          <string-name>
            <surname>Lei</surname>
            ,
            <given-names>Y.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Uren</surname>
            ,
            <given-names>V.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Motta</surname>
          </string-name>
          , E.:
          <article-title>Semsearch: A search engine for the semantic web</article-title>
          .
          <source>In: EKAW</source>
          . (
          <year>2006</year>
          )
          <fpage>238</fpage>
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          4.
          <string-name>
            <surname>Zhou</surname>
            ,
            <given-names>Q.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Wang</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Xiong</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Wang</surname>
            ,
            <given-names>H.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Yu</surname>
            ,
            <given-names>Y.</given-names>
          </string-name>
          :
          <article-title>Spark: Adapting keyword query to semantic search</article-title>
          . In: ISWC/ASWC. (
          <year>2007</year>
          )
          <fpage>694</fpage>
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          5.
          <string-name>
            <surname>Tran</surname>
            ,
            <given-names>T.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Cimiano</surname>
            ,
            <given-names>P.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Rudolph</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Studer</surname>
          </string-name>
          , R.:
          <article-title>Ontology-based interpretation of keywords for semantic search</article-title>
          . In: ISWC/ASWC. (
          <year>2007</year>
          )
          <fpage>523</fpage>
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          6.
          <string-name>
            <surname>Wang</surname>
            ,
            <given-names>H.</given-names>
          </string-name>
          , Zhang,
          <string-name>
            <given-names>K.</given-names>
            ,
            <surname>Liu</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Q.</given-names>
            ,
            <surname>Tran</surname>
          </string-name>
          ,
          <string-name>
            <given-names>T.</given-names>
            ,
            <surname>Yu</surname>
          </string-name>
          ,
          <string-name>
            <surname>Y.</surname>
          </string-name>
          :
          <article-title>Q2Semantic: A lightweight keyword interface to semantic search</article-title>
          . In: ESWC. (
          <year>2008</year>
          )
          <fpage>584</fpage>
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          7.
          <string-name>
            <surname>Tran</surname>
            ,
            <given-names>T.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Wang</surname>
            ,
            <given-names>H.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Rudolph</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Cimiano</surname>
            ,
            <given-names>P.</given-names>
          </string-name>
          :
          <article-title>Top-k exploration of query candidates for e cient keyword search on graph-shaped (RDF) data</article-title>
          . In: ICDE. (
          <year>2009</year>
          )
          <volume>405</volume>
          {
          <fpage>416</fpage>
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>