<!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>Re ections on: Reasoning and Querying Web-scale Open Data based on DL-LiteA in a Divide-and-Conquer Way</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Zhenzhen Gu</string-name>
          <email>guzhenzhen0720@163.com</email>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Songmao Zhang</string-name>
          <email>smzhang@math.ac.cn</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Cungen Cao</string-name>
          <email>cgcao@ict.ac.cn</email>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Academy of Mathematics and Systems Sciences, Chinese Academy of Sciences</institution>
          ,
          <addr-line>Beijing</addr-line>
          ,
          <country country="CN">China</country>
        </aff>
        <aff id="aff1">
          <label>1</label>
          <institution>Institute of Computing Technology, Chinese Academy of Sciences</institution>
          ,
          <addr-line>Beijing</addr-line>
          ,
          <country country="CN">China</country>
        </aff>
      </contrib-group>
      <abstract>
        <p>Problem Description. Although the sheer size of the open datasets [2] in Linked Open Data (LOD) [3] can be viewed as a positive sign for Semantic Web initiatives, it causes performance bottlenecks for systems and tools that provide data managing and query answering services over the LOD datasets. Moreover, as the growth of the schema knowledge described by OWL, realizing e cient reasoning and expressive query answering has become a challenging task for both data publishers and end users. Most of the studies in this respect (for example, [4{6]) focused on dealing with the scalability issue whereas inferring knowledge through reasoning is often ignored. Moreover, when reasoning is considered, most of the time only lightweight RDFS reasoning can be supported. Proposal of DL-LiteA. Motivated by a statistic analysis of the BTC 2012 dataset3, we propose to use DL-LiteA [10] techniques to reason and query the web-scale open datasets (knowledge bases) described by Semantic Web standards like RDF and OWL due to the low reasoning complexity and suitable expressivity of the language. The distinguished feature of DL-LiteA is FOL-rewritability. This means that in DL-LiteA, by schema knowledge reasoning, both satis ability checking and conjunctive query (CQ) answering can be eventually reduced to answering queries over the data layers of the corresponding knowledge bases (KBs). Moreover the separation between schema knowledge and data layer reasoning makes it possible to use highly optimized database management systems and engines in practice for query answering. Bottleneck of DL-LiteA. Unfortunately, even with low reasoning complexity, when facing the real-life scalability challenge, the actual reasoning and CQ answering realized by DL-LiteA may become infeasible by the following two factors. Firstly, for both satis ability checking and CQ answering, a polynomial size of queries may need to be answered over the data layers of the corresponding KBs w.r.t. the size of the schema knowledge of these KBs. Secondly, for the KBs with massive individual assertions, evaluating a single query over the data layers may be highly time-consuming. The combination of these two factors makes 3 https://km.aifb.kit.edu/projects/btc-2012/</p>
      </abstract>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>Introduction</title>
      <p>the situation even worse, calling for new techniques for DL-LiteA to tackle the
scalability and e ciency challenge.</p>
      <p>Our Solution{Divide-and-Conquer. In computer science, divide-and-conquer
is the basis of e cient algorithms for all kinds of problems. This impels us to
seek for a divide-and-conquer reasoning and query answering approach for
DLLiteA, with the basic idea of partitioning both KBs and CQs into smaller chunks
and decomposing the original reasoning and query answering tasks into a group
of independent sub-tasks such that the overall performance can be improved by
taking advantage of the parallelization and distribution techniques.</p>
      <p>The challenge for designing such an approach lies in how to carry out KB
and CQ partitioning and reasoning reduction in a sound and complete way.
Motivated by hash partitioning of RDF graphs (the partitions with the local
feature of star-query answering) [15], we expect the smaller KB chunks to have
the local feature for both satis ability checking and simple-query answering. Here
simple-queries (SQs) are the CQs whose query atoms share a common variable
or individual. For CQ answering, we expect to partition a CQ into smaller SQs
and evaluate them over smaller KB chunks.</p>
      <p>Under these expectations, our divide-and-conquer approach is constructed
from both theoretical and practical perspectives. Theoretically, de nitions of
KB partitions and CQ partitions are presented and the su cient and necessary
conditions are identi ed to determine whether a KB partition holds the desired
features and whether a CQ can be answered in the desired way. Practically, based
on the theoretical results, the concrete ways of partitioning KBs and CQs and
evaluating CQ partitions over KB partitions are described. Moreover, a strategy
of optimizing the procedure of evaluating CQ partitions over KB partitions is
provided to improve the overall query answering performance. To verify our
proposal and approach, experiments are conducted on two web-scale open datasets,
i.e., DBpedia and BTC 2012 dataset, and the testing results indicate that the
proposed approach opens new possibilities for realizing performance-critical
applications on the Web with both expressivity and high scalability.</p>
      <p>To the best of our knowledge, this is the rst study on partitioning DL-LiteA
KBs and CQs for the purpose of e ciently reasoning with and querying
largescale datasets. We assume that the readers are familiar with DL-LiteA and CQs.
Next, we illustrate our main scienti c contributions, containing KB partitioning,
query partitioning, optimization and experiments. The technique details can be
seen in [1]. In this paper, for a CQ Q and DL-LiteA KB K, we use Ans(Q; K) to
denote the set of all the certain answers of Q over K. Moreover, we use Hd(Q)
and Bd(Q) to denote the head and body of Q, respectively. For two tuples x and
u with the same dimension, we use [x=u] to denote a substitution.
2</p>
      <p>DL-LiteA KB partitioning
Here, we discuss partitioning DL-LiteA KBs into small chunks with the desired
feature, containing the formalization of KB partitions, the conditions of detecting
the desired KB partitions and the concrete way of computing such KB partitions.
Formalizing KB partitions. Before de ning DL-LiteA KB partitions, we rst
provide a way of computing a smaller sub-TBox for a given sub-ABox.
Procedure 1. For a DL-LiteA KB (T ; A) and sub-ABox A0 A, we use T jA0
to denote a sub-TBox of T constructed by the steps 1{2. Let T jA0 = ;. Then:
Step 1. For each 2 T , add to T jA0 if has the form v : or Fun(S) and each
name in occurs in (T jA0 ; A0), or has the form v and the name in
occurs in (T jA0 ; A0);
Step 2. Iterate Step 1, until T jA0 do not change anymore.</p>
      <p>
        Since for a sub-ABox, not all the axioms are relevant in terms of satis
ability checking and CQ answering, and smaller TBoxes can make the considered
reasoning tasks be realized more quickly. The correctness is shown below:
Lemma 1. For a DL-LiteA KB (T ; A) and A0 A, (
        <xref ref-type="bibr" rid="ref1">1</xref>
        ) (T jA0; A0) is satis able
i (T ; A0) is satis able; and (
        <xref ref-type="bibr" rid="ref2">2</xref>
        ) Ans(Q; (T jA0; A0)) = Ans(Q; (T ; A0)) for CQ Q.
      </p>
      <p>
        By Lemma 1, partitions of DL-LiteA KBs are de ned in the de nition below.
n
De nition 1. For DL-LiteA KB K = (T ; A), the set S = [i=1f(Ti; Ai)g of
DLn
LiteA KBs is called a partition of K if A = [i=1Ai and Ti = T jAi . S is called a
SCSQA-local partition of K i (
        <xref ref-type="bibr" rid="ref1">1</xref>
        ) K is satis able i each KB in S is satis able;
and (
        <xref ref-type="bibr" rid="ref2">2</xref>
        ) if K is satis able then Ans(Q; K) = [K02S Ans(Q; K0) for each SQ Q.
Detecting SCSQA-local partitions. By analyzing the algorithms of satis
ability checking and CQ rewriting [10], we found that in DL-LiteA, both
satisability checking and SQ answering can be reduced to answering SQs over the
ABoxes of the corresponding KBs, shown in the lemma below.
      </p>
      <p>
        Lemma 2. For a DL-LiteA KB K = (T ; A), (
        <xref ref-type="bibr" rid="ref1">1</xref>
        ) there exists a set Q of SQs so
that K is satis able i [Q2QAns(Q; (;; A) = ;; and (
        <xref ref-type="bibr" rid="ref2">2</xref>
        ) if K is satis able then for
each SQ Q, there exists a set Q of SQs so that Ans(Q; K) = [Q02QAns(Q0; (;; A)).
      </p>
      <p>All the query atoms in a SQ share a common individual or variable. Therefore,
by Lemma 2, we can get that in the scenario of KB partitioning, for the local
feature of satis ability checking and SQ answering, the assertions in the original
KB and sharing a common individual should be put in an identical sub-KB.
Proposition 1. For DL-LiteA KB K = (T ; A) and partition S of K, if for each
U A satisfying that all the assertions in U share a common individual, there
exists (T 0; A0) 2 S such that U A0, then S is a SCSQA-local partition of K.</p>
      <p>Without redundant individual assertions [1] (Theorem 1), the condition in
Proposition 1 can be used as a necessary and su cient condition.
Computing SCSQA-local partitions. By Proposition 1, SCSQA-local
partitions of DL-LiteA KBs can be obtained by the following procedure.
Procedure 2. For a DL-LiteA KB K = (T ; A), a SCSQA-local partition S of
K can be obtained by the following steps 1{2:
Step 1. Compute a partition A1; ; An of A by the following two sub-steps a{b:
a. Compute the set U = fUaja 2 Ig where I is the set of all the individuals of</p>
      <p>A, and Ua is the set consisting of all the assertions in A that contain a.
b. Compute a partition U1; ; Un of U. For each Ui, let Ai = [e2Ui e.
n
Step 2. For each 1 i n, compute the TBox T jAi for Ai. Let S = [i=1f(T jAi ; Ai)g.</p>
      <p>Di erent ways of partitioning U in step 1.b lead to di erent SCSQA-local
partitions of K. In terms of distribution and parallelization, the partitions
generating more balanced, smaller sized sub-ABoxes are more likely to achieve the
e ciency improvement. For a given size asize of ABoxes in KB partition, a
partition of U generating sub-ABoxes sized no more than asize can be obtained by:
b1. Compute an ordered tuple O = U1; ; Um of the elements in U such that jUij
jUi+1j for 1 i m 1;
b2. Continue the following procedure P, until O does not contain any element.</p>
      <p>P. Generate a sub-ABox A0. Let A0 = ;. For i from jOj to 1, if jA0 [ O[i]j asize
then let A0 = A0 [ O[i]; otherwise for j from 1 to i 1, if jA0 [ O[j]j asize
then let A0 = A0 [O[j], otherwise break the rst loop. Remove all the elements
used to generate A0 from O.</p>
      <p>The complexity of computing SCSQA-local partitions of DL-LiteA KBs is shown
below. Low complexity makes the proposed approach appealing for partitioning a
large-scale KB into smaller, independent sub-KBs with the desired local feature.
Theorem 1. For a KB K = (T ; A), a SCSQA-local partition of K can be
computed in O(jT j2) w.r.t. jT j and in O(jAj) w.r.t. jAj.
3</p>
    </sec>
    <sec id="sec-2">
      <title>Conjunctive query partitioning and evaluation</title>
      <p>Here, we discuss CQ partitioning and evaluation, containing the formalization of
CQ partitions, the conditions of detecting CQ partitions and the concrete way
of computing and evaluating CQ partitions.</p>
      <p>
        Formalizing CQ partitions. CQ partitions are de ned in the de nition below.
n
De nition 2. For a CQ Q, we say the set Q = [i=1fqig of CQs is a partition
of Q if (
        <xref ref-type="bibr" rid="ref1">1</xref>
        ) Bd(Q) = ]in=1Bd(qi) and (
        <xref ref-type="bibr" rid="ref2">2</xref>
        ) for each 1 i n, Hd(qi) consists of all
n
the variables in Bd(qi) that also occur either in Hd(Q) or [k=1;k6=iBd(qk). We
say that Q is a SQ-partition of Q i all the queries in Q are SQs.
      </p>
      <p>The concrete way of merging the certain answers of the sub-queries and the
correctness are shown in the following de nition and lemma, respectively.</p>
      <p>n
De nition 3. For a partition Q = [i=1fqig of a CQ Q and a partition S of a
DL-LiteA KB K, we de ne:</p>
      <p>Ans(Q; Q; S) = fx[x1=u1;
; xn=un]j(u1;
; un) 2
1
ng
where x = Hd(Q), for each 1 i n, xi = Hd(qi) and i = [K02S Ans(qi; K0), and
for each 1 i; j n, 1 k juij and 1 l juj j, if xi[k] = xj [l] then ui[k] = uj [l].
Lemma 3. Ans(Q; Q; S)</p>
      <p>Ans(Q; K) holds.</p>
      <p>By the semantics of CQs, we know that distinguished (dist.) variables and
non-dist. variables of CQs [1] are interpreted in di erent ways. Based on this, we
de ne the concept of SQ-reducibility and show that SQ-reducible CQs can be
answered in the descried way, i.e., by rst partitioning CQs into SQs and then
answering the smaller SQs over SCSQA-local partitions of DL-LiteA KBs.
De nition 4. For a CQ Q, we say Q is SQ-reducible i it has a SQ-partition
Q such that Hd(q) Q for each q 2 Q.
Lemma 4. For a CQ Q, if Q is SQ-reducible then there exists a SQ-partition
Q of Q such that for each satis able DL-LiteA KB K and each SQSQA-local
partition S of K, Ans(Q; K) = Ans(Q; Q; S) holds.</p>
      <p>Detecting SQ-reducible CQs. Not all CQs are SQ-reducible. This means that
there exist CQs Q and DL-LiteA KBs K such that evaluating any SQ-partition of
Q over any SCSQA-local partition of K cannot obtain all the certain answers of
Q over K. Thus in order to evaluate as many CQs in the desired way as possible,
we need to provide a i condition to decide whether a CQ is SQ-reducible.
Theorem 2. A CQ Q is SQ-reducible i there do not exist three query atoms
P (?x; ?y), and 0 in Q such that ?x and ?y are non-dist. variables of Q,
contains ?x but not ?y, and 0 contains ?y but not ?x.</p>
      <p>Theorem 3. Detecting whether a CQ Q is SQ-reducible can be done in O(jQj).</p>
      <p>Next, we present the concrete ways of partitioning and evaluating SQ-reducible
CQs and non-SQ-reducible CQs.</p>
      <p>Partitioning and evaluating SQ-reducible CQs. A SQ-reducible CQ may
have many SQ-partitions, so we need to rst detect the SQ-partitions that can
capture all the certain answers of CQs and then provide the procedure of
computing the desired SQ-partitions and the complexity of computing such partitions.
Theorem 4. For a SQ-reducible CQ Q, let Q be any SQ-partition of Q such
that Hd(q) Hd(Q) for each q 2 Q. Then Ans(Q; K) = Ans(Q; Q; S) holds, for
any satis able DL-LiteA KB K and any SCSQA-local partition S of K.
Procedure 3. For a SQ-reducible CQ Q, a SQ-partition Q of Q satisfying that
Hd(q) Hd(Q) for each q 2 Q can be obtained by the following steps 1{2.
Step 1. Let A = Bd(Q) and U = ;. Compute a partition U of Bd(Q) by the steps a-b.
a. For each non-dist. variable x of Q, compute the set Ux consisting of all the
atoms in A that contain x, and let U = U [ fUxg and A = A Ux. Then for
every two di erent non-dist. variables x and y of Q that occur in a same
atom in Q, replace Ux and Uy in U with Ux [ Uy;
b. For each dist. variable or individual x of Q, compute the set Ux consisting
of all the atoms in A that contain x, and let U = U [ fUxg and A = A Ux.
Step 2. For U 2 U, generate a CQ q such that Bd(q) = U and Hd(q) consists of all the
variables occurring in U that also occur in Hd(Q) or Bd(Q) U, add q to Q.
Theorem 5. For a SQ-reducible CQ Q, a partition Q of Q satisfying hd(q)
hd(Q) for each q 2 Q can be obtained in O(jQj).</p>
      <p>Partitioning and evaluating non-SQ-reducible CQs. If a CQ is not
SQreducible, then non-SQ-partitions need to be evaluated to obtain all the certain
answers of this CQ. By the semantics of CQs, we nd that if a certain answer
of a CQ Q over a KB is obtained by binding some non-dist. variables NV to
anonymous elements, then in the scenario of KB and query partitioning, this
certain answer can solely be obtained by evaluating a partition of Q in which the
sub-queries do not contain the variables in NV as dist. variables. The de nition
below illustrates the partitions that can capture such certain answers of Q.</p>
      <p>
        De nition 5. For a CQ Q and set NV of non-dist. variables of Q, we use QjSNQV
to denote a partition of Q satisfying that (
        <xref ref-type="bibr" rid="ref1">1</xref>
        ) each variable in NV solely occurs
in one query in Q, and (
        <xref ref-type="bibr" rid="ref2">2</xref>
        ) for each non-simple query q 2 Q and for every two
di erent atoms and 0 in q, there exists a sequence 1; ; n of atoms in q
such that 1 = , n = 0 and i and i+1 share a variable in NV for 1 i n 1.
      </p>
      <p>The concrete way of answering non-SQ-reducible CQs and the procedure of
computing the desired partitions as well as the complexity are shown below.
Theorem 6. Given a non-SQ-reducible CQ Q, for any satis able DL-LiteA KB
K and any SCSQA-local partition S of K, Ans(Q; K) = [NV'22NV Ans(Q; QjSNQV'; S)
holds where NV is the set consisting of all the non-dist. variables of Q.
Procedure 5. For a non-SQ-reducible CQ Q and set NV of some non-dist.
variables of Q, the partition QjSNQV, can be obtained by the following two steps:
Step 1. Let A = Bd(Q) and U = ;. Compute a partition U of Bd(Q) by the steps a{c.
a. Compute an undirected graph G with node set A. For each ( ; 0) 2 (A)2,
there exists an edge between and 0 i they share a variable in NV;
b. For each connected component l of G, generate an atom set U consisting of
all the nodes in l, and set U = U [ fUg and A = A U;
c. For each variable or individual x occurring in A, compute a set U consisting
of all the atoms in A that contain x, and set U = U [ fUg and A = A U.
Step 2. For each U 2 U, generate a CQ q so that Bd(q) = U and Hd(q) consists of all
the variables in U that also occur in Hd(Q) or Bd(Q) U, and add q to Q.
Theorem 7. The complexity of computing the partition QjSNQV of Q is O(jQj2).
4</p>
    </sec>
    <sec id="sec-3">
      <title>Optimizing the procedure of query partition evaluation</title>
      <p>Although query partitioning can reduce the nal number of queries needed to
be answered over the ABox of a KB signi cantly, a large amount of intermediate
results generated by answering sub-queries may also slow down the overall query
answering procedure. Thus we further provide an optimization strategy to reduce
the intermediate results as many and as early as possible by transferring values
between sub-queries, as shown in the following example and proposition.
Example 1. Let S be a partition of a KB. Consider the partition Q of a CQ Q:</p>
      <p>Q : R(a; ?x) ^ P (?x; ?y) ^ S(?y; ?z) ! q(?x; ?y; ?z)</p>
      <p>Q = fq1 : R(a; ?x) ^ P (?x; ?y) ! q(?x; ?y); q2 : S(?y; ?z) ! q(?y; ?z)g
After answering q1 over the KBs in S, suppose we obtain the answer set =
3
[i=1f(ai; bi)g. If we transfer the bindings of ?y to q2 before it is evaluated, i.e.,
3
replacing answering q2 with answering the CQs [i=1fS(bi; ?z) ! q(bi; ?z)g, then
we can avoid computing the answers of q2 which do not bind ?y to b1, b2 or b3.</p>
      <p>n
Proposition 2. For a partition Q = [i=1fqig of a CQ Q and a partition S of
a satis able DL-LiteA KB, the following equation holds:</p>
      <p>Ans(Q; Q; S) = fx[x1=u1;
where x = Hd(Q), for 1 i</p>
      <p>; xn=un]j(u1; ; un) 2 1jB1
n, xi = Hd(qi), B1 = ; and for 1 &lt; k
Bk = f[x1=u1;
; xk 1=uk 1]jxk j(u1;
; uk 1) 2
1jB1
njBn g
n:
k 1jBk 1 g
where 1jB1 = [K2S Ans(q1; K) and for 1 &lt; j
n, j jBj = [K2S [ 2Bj Ans(qj ; K).</p>
      <p>In Proposition 2, Bk denotes the set of the bindings of some variables of qk
obtained from the certain answers of the sub-queries evaluated before qk. By
observing the CQ rewriting procedure in DL-LiteA, we nd that the transferred
variable bindings do not a ect the query rewriting procedure. This means that
when answering a sub-query q over a sub-KB K = (T ; A) with a set B of variable
bindings, the CQs obtained by rst transferring the bindings in B to q and then
rewriting the resultant queries over T are equivalent to the CQs obtained by
rst rewriting q over T and then transferring the bindings in B to the rewritten
queries. Thus we actually need one time of query rewriting rather than jBj. Hence
the procedure of evaluating the partitions of queries can be further optimized.
Proposition 3. For a CQ q, satis able DL-LiteA KB K = (T ; A) and set B of
functions that maps some variables of q to names, then we can get that:
[ 2BPerfectRef(q ; T ) = [ 2Bfq0 jq0 2 PerfectRef(q; T )g</p>
      <p>[ 2BAns(q ; K) = [q02PerfectRef(q;T ) [ 2B Ans(q0 ; (;; A))
where PerfectRef denotes one classical query rewriting algorithm in DL-LiteA.</p>
      <p>Experiments presented in the subsequent section demonstrate that the value
transferring strategy can signi cantly improve the query answering performance.
5</p>
    </sec>
    <sec id="sec-4">
      <title>The evaluation</title>
      <p>In order to demonstrate the e ciency and rationality of our approach and
proposal, we have implemented a prototype system, where multi-thread techniques
are adopted to check the satis ability of and answer a single query over the
subKBs in a KB partition in a parallel way. We run the system on two web-scale,
real-world datasets, i.e., DBpedia 200 dataset extended with DBpedia ontology
and BTC 2012 dataset. Next, we present the main results of the experiments.
SCSQA-local partition computation. After materializing the name
equivalence relations, two DL-LiteA KBs Kdbp and Kbtc are constructed, respectively
with 233,227 axioms and 0.2 billion individual assertions and 339,519 axioms and
1.04 billion individual assertions. We randomly choose two numbers, 28 million
and 52 million, to respectively limit the size of the sub-ABoxes in KB partitions.
Then, a SCSQA-local partition Sdbp of Kdbp with 14 sub-KBs and a SCSQA-local
partition Sbtc of Kbtc with 30 sub-KBs are computed by Procedure 2.
Satis ability checking. Without KB partition, checking the satis ability of
Kdbp totally cost 6 minutes, and for Kbtc, after 6 hours an out-of-memory error
was reported caused by the failure in completing generating the queries needed
to be evaluated over its ABox. However, facilitated by KB partitioning equipped
with parallelization, satis ability checking of Kdbp and Kbtc has been
successfully done in 0.07 and 0.15 minutes, respectively. The testing results indicate
that KB partitioning equipped with parallelization can signi cantly improve the
performance of checking the satis ability of web-scale DL-LiteA KBs.
Query answering checking. In order to detect the e ect of KB and query
partitioning as well as sub-query value transfer on the performance of CQ answering,
we design 14 CQs (8 SQs and 6 non-SQs) for Kdbp and Kbtc, respectively.</p>
      <p>
        The SQ answering results indicate that no matter a SQ has a large or small
number of rewritten queries over the original KB or it can be evaluated e ciently
or ine ciently, in the situation of KB partitioning equipped with parallelization,
this SQ can be answered in an extremely e cient way. On the other hand, the
results of evaluating the tested non-SQ queries indicate that: (
        <xref ref-type="bibr" rid="ref1">1</xref>
        ) when a CQ
cannot be evaluated over the original KB e ciently, query partitioning combined
with KB partitioning and sub-query value transfer can make this query to be
evaluated in a very e cient way; (
        <xref ref-type="bibr" rid="ref2">2</xref>
        ) no matter with or without KB partitioning,
query partitioning can reduce the number of rewritten CQs signi cantly; (
        <xref ref-type="bibr" rid="ref3">3</xref>
        )
even when query partitioning cannot reduce the number of the rewritten queries,
evaluating query partitions over KB partitions with sub-query value transfer can
speed up the procedure; and (
        <xref ref-type="bibr" rid="ref4">4</xref>
        ) for the queries already e ciently answerable
over the original KBs, our approach may not further improve the performance.
Comparing with related systems. To demonstrate the rationality and e
ciency of our proposal and approach, we have compared our system with the two
state-of-the-art, centralized triple stores, Jena-TDB and Virtuoso which support
RDFS reasoning. The comparison results can be summarized as: (
        <xref ref-type="bibr" rid="ref1">1</xref>
        ) even with
KB and query partitioning, our approach is not as e cient as the two RDF
stores which evaluate queries directly without taking reasoning into
consideration; (
        <xref ref-type="bibr" rid="ref2">2</xref>
        ) when reasoning is considered, the performance of the two triple stores
drops signi cantly, and they do not perform as well as our approach; and (
        <xref ref-type="bibr" rid="ref3">3</xref>
        )
query answering without considering reasoning can miss many certain answers.
6
      </p>
    </sec>
    <sec id="sec-5">
      <title>Comparison with related work</title>
      <p>Compared with the works on querying LOD [4{9], our approach pursues both
expressivity and scalability, capturing more schema knowledge and handling
more expressive queries with the support of DL-LiteA techniques. For
scalability, we provide a divide-and-conquer reasoning and query answering approach
for DL-LiteA so that the massive knowledge in LOD can be managed by parallel
and distribution techniques.</p>
      <p>Compared with the works on DL KB modularity [12{14], we study a tractable
language DL-LiteA, and concentrate on satis ability checking and CQ answering
rather than entailment checking. Moreover, we provide a way of ABox
partitioning with linear data complexity where reasoning is not necessary. Compared
with the works on RDF graph partitioning [15{17], we consider RDF graphs as
DL-LiteA KBs so that constraints in these graphs can be captured.
Compared with the works on query rewriting optimization [18{21], our
approach features query rewriting optimization in DL-LiteA from the distinctive
perspective of query and KB partitioning, and the experiments on real-world
datasets show that the number of rewritten queries can be signi cantly reduced.
Compared with the works [22,23] on fast satis ability checking, we propose to
improve the performance in DL-LiteA from the perspective of KB partitioning.
Experiments on web-scale datasets demonstrate the e ciency of our approach.
Acknowledgments. This work has been supported by the National Key Research and
Development Program of China under grants 2017YFC1700300 and 2017YFB1002300.</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          1.
          <string-name>
            <surname>Gu</surname>
            ,
            <given-names>Z.</given-names>
          </string-name>
          , Zhang,
          <string-name>
            <given-names>S.</given-names>
            ,
            <surname>Cao</surname>
          </string-name>
          ,
          <string-name>
            <surname>C</surname>
          </string-name>
          ,:
          <article-title>Reasoning and Querying Web-scale Open Data based on DL-LiteA in a Divide-and-</article-title>
          <string-name>
            <surname>Conquer Way</surname>
          </string-name>
          .
          <source>J. Web Semant</source>
          .
          <volume>55</volume>
          :
          <fpage>122</fpage>
          -
          <lpage>144</lpage>
          (
          <year>2019</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          2.
          <string-name>
            <given-names>O</given-names>
            <surname>'Riain</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            ,
            <surname>Curry</surname>
          </string-name>
          ,
          <string-name>
            <given-names>E.</given-names>
            ,
            <surname>Harth</surname>
          </string-name>
          ,
          <string-name>
            <surname>A.</surname>
          </string-name>
          :
          <article-title>XBRL and open data for global nancial ecosystems: A linked data approach</article-title>
          .
          <source>Int. J. Accounting Inf. Systems</source>
          .
          <volume>13</volume>
          (
          <issue>2</issue>
          ):
          <fpage>141</fpage>
          -
          <lpage>162</lpage>
          (
          <year>2012</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          3.
          <string-name>
            <surname>Bauer</surname>
            ,
            <given-names>F.</given-names>
          </string-name>
          , Kaltenbock, M.:
          <article-title>Linked open data: The essentials</article-title>
          , Edition mono/monochrom, Vienna, Austria,
          <year>2011</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          4.
          <string-name>
            <surname>Bishop</surname>
            ,
            <given-names>B.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Kiryakov</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Ognyanov</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Peikov</surname>
            ,
            <given-names>I.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Tashev</surname>
            ,
            <given-names>Z.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Velkov</surname>
          </string-name>
          , R.:
          <article-title>FactForge: A fast track to the web of Data</article-title>
          .
          <source>Semantic Web</source>
          ,
          <volume>2</volume>
          (
          <issue>2</issue>
          ) (
          <year>2011</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          5.
          <string-name>
            <surname>Schwarte</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Haase</surname>
            ,
            <given-names>P.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Hose</surname>
            ,
            <given-names>K.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Schenkel</surname>
            ,
            <given-names>R.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Schmidt</surname>
            ,
            <given-names>M.:</given-names>
          </string-name>
          <article-title>FedX: Optimization Techniques for Federated Query Processing on Linked Data</article-title>
          .
          <source>In: ISWC</source>
          ,
          <year>2011</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          6.
          <string-name>
            <surname>Umbrich</surname>
            ,
            <given-names>J.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Hogan</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Polleres</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Decker</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          :
          <article-title>Link Traversal Querying for a diverse Web of Data</article-title>
          .
          <source>Semantic Web</source>
          ,
          <volume>6</volume>
          (
          <issue>6</issue>
          ) (
          <year>2012</year>
          )
          <fpage>585</fpage>
          -
          <lpage>624</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          7.
          <string-name>
            <surname>Montoya</surname>
            ,
            <given-names>G.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Skaf-Molli</surname>
            ,
            <given-names>H.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Molli</surname>
            ,
            <given-names>P.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Vidal</surname>
            ,
            <given-names>M. E.</given-names>
          </string-name>
          :
          <article-title>Federated SPARQL Queries Processing with Replicated Fragments</article-title>
          . In: ISWC,
          <year>2015</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          8.
          <string-name>
            <surname>Hartig</surname>
            ,
            <given-names>O.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Freytag</surname>
            ,
            <given-names>J. C.</given-names>
          </string-name>
          :
          <article-title>Foundations of traversal based query execution over Linked Data</article-title>
          .
          <source>In: ACM Hypertext</source>
          ,
          <year>2012</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          9.
          <string-name>
            <surname>Sabri</surname>
            ,
            <given-names>M. M.:</given-names>
          </string-name>
          <article-title>A Hybrid Framework for Online Execution of Linked Data Queries</article-title>
          . In: WWW,
          <year>2015</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          10.
          <string-name>
            <surname>Poggi</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Lembo</surname>
            ,
            <given-names>L.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Calvanese</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>De Giacomo</surname>
            ,
            <given-names>G.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Lenzerini</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Rosati</surname>
          </string-name>
          , R.:
          <article-title>Linking Data to Ontologies</article-title>
          .
          <source>J. Data Semantics</source>
          .
          <volume>10</volume>
          (
          <year>2008</year>
          )
          <fpage>133</fpage>
          -
          <lpage>173</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref11">
        <mixed-citation>
          11.
          <string-name>
            <surname>Calvanese</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>De Giacomo</surname>
            ,
            <given-names>G.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Lembo</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Lenzerini</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Rosati</surname>
            ,
            <given-names>R.</given-names>
          </string-name>
          :
          <article-title>Tractable reasoning and e cient query answering in description logics: The DL-Lite family</article-title>
          .
          <source>J. Autom. Reasoning</source>
          .
          <volume>39</volume>
          (
          <issue>3</issue>
          ) (
          <year>2007</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref12">
        <mixed-citation>
          12.
          <string-name>
            <surname>Grau</surname>
            ,
            <given-names>B. C.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Horrocks</surname>
            ,
            <given-names>I.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Kazakov</surname>
            ,
            <given-names>Y.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Sattler</surname>
            ,
            <given-names>U.</given-names>
          </string-name>
          :
          <article-title>Modular reuse of ontologies: theory and practice</article-title>
          .
          <source>J. Artif. Intell. Res</source>
          .
          <volume>31</volume>
          (
          <year>2008</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref13">
        <mixed-citation>
          13.
          <string-name>
            <surname>Botoeva</surname>
            ,
            <given-names>E.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Konev</surname>
            ,
            <given-names>B.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Lutz</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Ryzhikov</surname>
            ,
            <given-names>V.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Wolter</surname>
            ,
            <given-names>F.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Zakharyaschev</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          :
          <article-title>Inseparability and conservative extensions of description logic ontologies: A survey</article-title>
          .
          <source>In: Reasoning Wb</source>
          ,
          <year>2016</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref14">
        <mixed-citation>
          14.
          <string-name>
            <surname>Xu</surname>
            ,
            <given-names>J.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Shironoshita</surname>
            ,
            <given-names>P.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Visser</surname>
            ,
            <given-names>U.</given-names>
          </string-name>
          , John, N.,
          <string-name>
            <surname>Kabuka</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          :
          <article-title>Module Extraction for E cient Object Queries over Ontologies with Large ABoxes</article-title>
          .
          <source>Artif Intell Appl</source>
          .
          <volume>2</volume>
          (
          <issue>1</issue>
          ) (
          <year>2015</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref15">
        <mixed-citation>
          15.
          <string-name>
            <surname>Harbi</surname>
            ,
            <given-names>R.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Abdelaziz</surname>
            ,
            <given-names>I.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Kalnis</surname>
            ,
            <given-names>P.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Mamoulis</surname>
          </string-name>
          , N.:
          <article-title>Evaluating SPARQL queries on massive RDF datasets</article-title>
          .
          <source>Proceedings of the VLDB Endowment</source>
          ,
          <volume>8</volume>
          (
          <issue>12</issue>
          ) (
          <year>2015</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref16">
        <mixed-citation>
          16.
          <string-name>
            <surname>Potter</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Motik</surname>
            ,
            <given-names>B.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Horrocks</surname>
            ,
            <given-names>I.</given-names>
          </string-name>
          :
          <article-title>Querying Distributed RDF Graphs: The E ects of Partitioning</article-title>
          . In: SSWS@ISWC,
          <year>2014</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref17">
        <mixed-citation>
          17.
          <string-name>
            <surname>Yang</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Yan</surname>
            ,
            <given-names>X.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Zong</surname>
            ,
            <given-names>B.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Khan</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          :
          <article-title>Towards e ective partition management for large graphs</article-title>
          .
          <source>In: SIGMOD Conference</source>
          ,
          <year>2012</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref18">
        <mixed-citation>
          18.
          <string-name>
            <surname>Rosati</surname>
            ,
            <given-names>R.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Almatelli</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          :
          <article-title>Improving Query Answering over DL-Lite Ontologies</article-title>
          .
          <source>In: KR</source>
          ,
          <year>2010</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref19">
        <mixed-citation>
          19.
          <string-name>
            <surname>Venetis</surname>
            ,
            <given-names>T.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Stoilos</surname>
            ,
            <given-names>G.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Stamou</surname>
            ,
            <given-names>G. B.</given-names>
          </string-name>
          :
          <article-title>Query extensions and incremental query rewriting for OWL 2 QL ontologies</article-title>
          .
          <source>J. Data Semantics</source>
          ,
          <volume>3</volume>
          (
          <issue>1</issue>
          ) (
          <year>2014</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref20">
        <mixed-citation>
          20.
          <string-name>
            <surname>Bursztyn</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Goasdoue</surname>
            ,
            <given-names>F.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Manolescu</surname>
            ,
            <given-names>I.</given-names>
          </string-name>
          :
          <article-title>Teaching an RDBMS about ontological constraints</article-title>
          .
          <source>Proceedings of the VLDB Endowment</source>
          ,
          <volume>9</volume>
          (
          <issue>12</issue>
          ) (
          <year>2016</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref21">
        <mixed-citation>
          21.
          <string-name>
            <surname>Gottlob</surname>
            ,
            <given-names>G.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Orsi</surname>
            ,
            <given-names>G.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Pieris</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          :
          <article-title>Query rewriting and optimization for ontological databases</article-title>
          .
          <source>ACM Trans. Database Syst</source>
          .
          <volume>39</volume>
          (
          <issue>3</issue>
          ) (
          <year>2014</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref22">
        <mixed-citation>
          22.
          <string-name>
            <surname>Paulheim</surname>
            ,
            <given-names>H.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Stuckenschmidt</surname>
          </string-name>
          , H.:
          <article-title>Fast Approximate A-Box Consistency Checking Using Machine Learning</article-title>
          .
          <source>In: ESWC</source>
          ,
          <year>2016</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref23">
        <mixed-citation>
          23.
          <string-name>
            <surname>Fokoue</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Kershenbaum</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Ma</surname>
            ,
            <given-names>L.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Schonberg</surname>
            ,
            <given-names>E.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Srinivas</surname>
            ,
            <given-names>K.</given-names>
          </string-name>
          :
          <article-title>The Summary Abox: Cutting Ontologies Down to Size</article-title>
          . In: ISWC,
          <year>2006</year>
          .
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>