Until now, all the knowledge of these inquiries
involved is consistent. Now suppose that a third
doctor has already provided the following
information to us:
C
11
:D
2
(x):t∨~(S
3
(x):t)
Put the rules and “datum” that these three doctors
and pathology doctor provides together, when
inconsistence is needed to process. Because using
the rules Doctor 3 provides and data pathology
doctor provides may infer that Tom suffers disease
D
2
. Similarly, from the data Doctor 2 provides and
rules pathology doctor provides we can infer that
Tom suffers disease D
1
. Thus, Tom suffers both
disease D1 and disease D2. Therefore, when the rule
C
11
in knowledge base is considered, it can infer out
D
1
(Tom):Τ. The steps of mega-inference of ~
(D
1
(Tom ):Τ) are as following:
G
1
: ~(D
1
(Tom):Τ) (initial inquiry)
G
2
:~(S
2
(Tom):f)∨~S
3
(Tom):t∨~
(D
1
(Tom ):f) (Decomposes of C
4
and G
1
)
G
3
: ~(S
3
(Tom):t)∨~(D
1
(Tom):f)
(resolvent of G
2
and C
8
)
G
4
: ~(D
1
(Tom):f) (resolvent of G
3
and C
10
)
G
5
: ~(D
2
(Tom ):t) (resolvent of G
4
and C
2
)
G
6
: ~(S
3
(Tom ):t) (resolvent of G
5
and C
11
)
G
7
: (resolvent of G
6
and C
10
)
5 CONCLUSIONS AND FURTHER
WORKS
In this paper, we investigate how to use XML to
realize automatic reasoning of paraconsistent logic.
As we know, it is easy to produce the inconsistence
from knowledge discovery in WEB environment.
Therefore it is an appropriate way to express and
deal with coordinated logic. At present, XML is
more and more popular in the WWW community, so
using XML as a tool of Web knowledge discovery
and the expression of incompatible knowledge is a
very natural way.
In this paper, the prefect match of XML and Java
is subtly used to realize the inference mechanism of
Annotated Logic. In our implementation, the logic
truth is limited on Lattice Four. Under the complete
Lattice Four, the frame of Annotated logic was
modified and inference rule is reconstructed. This
modification does not lose the completeness. In the
implementation of the reasoning system, Java Jdom
package is used to parse and process the XML
document, in which inconsistent knowledge is
represented. Seeing from the process of knowledge
acquirement and knowledge inference, the
knowledge representation based on XML and with
the help of Java Jdom has a sound readability and
good efficiency of reasoning. It is a big step to made
paraconsistent reasoning from theory towards
practical application.
Our further research may concentrate on whether
the automatic reasoning theory that under the
classical logic come into existence under the
Annotated Logic. For example, besides most basic
binary mega-refutation, whether the hyper-
refutation, negative hyper-refutation, unit-refutation
and equality refutation inference mechanism or the
strategy are applicable in Annotated Logic. If true,
whether XML is a suitable tool to implement these
inference mechanisms and strategies is also a
research topic. Furthermore, the soundness and
completeness of these mechanisms and strategies
should be discussed and investigated too.
REFERENCE
Da Costa, 1992. Automated Theorem Proving in
Paraconsistent Logic Theory and Implementation. In
10th Int. Conf. on Automated Deduction. pp: 72-86.
Kifer, M., Subrahmanian, V. S. 1992. Theory of
Generalized Annotated Logic Programming and its
Applications. In Journal of Logic Programming,
12(4):335-368.
Kifer, M., Lozinskii, E.L., 1992. A Logic for Reasoning
with Inconsistency. IN Journal of Automated
Reasoning, 9(2): 179-215.
Gui, Q.Q., Chen, Z.L., Zhu, F.X., 2002. Paraconsisten
Logic and Artificial Intelligence, The press of Wuhan
University.
Zhu, F. X., Liu, L. P., Fu, J.M. 1998. Automatic
Reasoning in Paraconsisten Logic, In J. of Wuhan
University(Science Edition) 581
~
594.
ANNOTATED LOGIC REASONING BASED ON XML
233