• Convert E
1
∧ ¬E
2
by meaning-preserving Skol-
emization, resulting in the clause set Cs ∪ {C
′
0
},
where C
′
0
is the negative clause (← tc(x)).
• Transform the QA problem
hCs∪ {C
′
0
}, {(φ(yes) ← yes)}, φ(yes)i
using ET rules. By following the transformation
Steps 1–14 in Example 1 except that the initial
target clause is C
′
0
instead of C
0
, the clauses C
′
8
–
C
′
20
are successively produced, where for each i ∈
{8, . . . , 20},
– lhs(C
′
i
) =
/
0, and
– rhs(C
′
i
) = rhs(C
i
),
and C
1
–C
7
are removed. As a result, Cs ∪ {C
′
0
}
is transformed into {C
′
20
}, where C
′
20
= (←), and
the QA problem
h{C
′
20
}, {(φ(yes) ← yes)}, φ(yes)i
is obtained.
• SinceC
′
20
is the empty clause, the clause set {C
′
20
}
has no model, i.e., Models({C
′
20
}) =
/
0. So the
procedure outputs rep(yes) = {yes} as the answer
to the QA problem hE
1
∧ ¬E
2
, yesi.
It follows from Proposition 2 that the answer to the
proof problem hE
1
, E
2
i is “yes”, i.e., there exists
someone who gets discounted tax.
8 CONCLUSIONS
Previous approaches to solving QA problems are
proof-centered. They were developed for specific
subclasses of QA problems; for example, answer-
ing queries in logic programming and deductive
databases can be regarded as solving QA problems on
definite clauses and those on a restricted form of def-
inite clauses, respectively. There has been no general
solution method for QA problems on full first-order
formulas.
QA problems on full first-order logic are consid-
ered in this paper. We introduced the concept of em-
bedding and proposed how to embed proof problems
into QA problems. This embedding leads to a uni-
fied approach to dealing with proof problems and QA
problems, allowing one to use a method for solving
QA problems to solve proof problems. It enables
a QA-problem-centered approach to solving logical
problems.
Equivalent transformation (ET) is one of the most
fundamental principles of computation, and it pro-
vides a simple and general basis for verification of
computation correctness. We proposed a framework
for solving QA problems by ET. All computation
steps in this framework are ET steps, including trans-
formation of a first-order formula into an equivalent
formula in the extended clause space ECLS
F
and
transformation of extended clauses on ECLS
F
. To the
best of our knowledge, this is the only framework for
dealing with the full class of QA problems on first-
order formulas.
Since many kinds of ET rules can be employed,
the proposed ET-based framework opens up a wide
range of possibilities for computation paths to be
taken. As a result, the framework enables develop-
ment of a large variety of methods for solving logical
problems. The range of possible computation meth-
ods can also be further extended by using computa-
tion spaces other than ECLS
F
. Proof by resolution
can be seen as one specific example of these possible
methods. As demonstrated in (Akama and Nantajee-
warawat, 2012), it can be realized by using two kinds
of ET rules, i.e., resolution and factoring ET rules, on
a computation space that differs slightly from ECLS
F
.
REFERENCES
Akama, K. and Nantajeewarawat, E. (2011). Meaning-
Preserving Skolemization. In Proceedings of the 2011
International Conference on Knowledge Engineering
and Ontology Development, KEOD 2011, pages 322–
327.
Akama, K. and Nantajeewarawat, E. (2012). Proving Theo-
rems Based on Equivalent Transformation Using Res-
olution and Factoring. In Proceedings of the Second
World Congress on Information and Communication
Technologies, WICT 2012, pages 7–12.
Akama, K. and Nantajeewarawat, E. (2013). Embedding
Proof Problems into Query-Answering Problems and
Problem Solving by Equivalent Transformation. Tech-
nical report, Hokkaido University, Sapporo, Japan.
Beth, E. W. (1955). Semantic Entailment and Formal Deriv-
ability. Amsterdam : Noord-Hollandsche Uitg. Mij.
Chang, C.-L. and Lee, R. C.-T. (1973). Symbolic Logic and
Mechanical Theorem Proving. Academic Press.
Fitting, M. (1996). First-Order Logic and Automated The-
orem Proving. Springer-Verlag, second edition.
Gallier, J. H. (1986). Logic for Computer Science: Founda-
tions of Automatic Theorem Proving. Wiley.
Lloyd, J. W. (1987). Foundations of Logic Programming.
Springer-Verlag, second, extended edition.
Motik, B., Sattler, U., and Studer, R. (2005). Query An-
swering for OWL-DL with Rules. Journal of Web Se-
mantics, 3(1):41–60.
Newborn, M. (2000). Automated Theorem Proving: Theory
and Practice. Springer-Verlag.
Robinson, J. A. (1965). A Machine-Oriented Logic Based
on the Resolution Principle. Journal of the ACM,
12:23–41.
KEOD2013-InternationalConferenceonKnowledgeEngineeringandOntologyDevelopment
260