5.3 Ambivalence
A knowledge base is ambivalent if and only if, for
a permissible set of conditions, it is possible to in-
fer an impermissible set of hypotheses. For ambiva-
lence detection, VERITAS considers some types of
constraints (also referred as impermissible sets), rep-
resenting sets of contradictory conclusions. The con-
straints can be one following types:
Semantic Constraints – formed by literals that can-
not be present at the same time in the KB. For in-
stance, the installation
i cant be controlled remotely
and locally at same time.
∀i, t1, t2 : ⊥ ← Remote(
d,On,t1)∧
Local(
d,Off,t2) ∧ intersepts(t1, t2)
Single Value Constraints – formed by only one lit-
eral (
Device) but considering different values of its pa-
rameters. For instance, the device
d cant be on and off
at same time.
∀d, t1, t2 : ⊥ ← Device(
d,On,t1)∧
Device(
d,Off,t2) ∧ intersepts(t1, t2)
The relation intersepts checks wether two inter-
vals have some instant in common. Later, VERI-
TAS computes the various expansions for each item
present in a constraint and later determines if there
exist a minimal set of facts that allow to infer con-
tradictory conclusions/hypothesis and in such case an
anomaly is reported.
6 CONCLUSIONS
This paper described VERITAS, a verification tool
that successful combines formal methods, as struc-
tural analysis, and heuristics, in order to detect knowl-
edge anomalies and provide useful reports. During its
evaluation, the SPARSE was used as study case.
ACKNOWLEDGEMENTS
This work is partially supported by the Portuguese
MCT-FCT project EDGAR (POSI/EIA/61307/2004).
We would like to thanks the anonymous reviewers for
their useful and detailed feedback.
REFERENCES
Boehm, B. (1984). Verifying and validating software re-
quirements and design specifications. IEEE Software,
1(1):75–88.
Cragun, B. and Steudel, H. (1987). A decision table based
processor for checking completeness and consistency
in rule based expert systems. International Journal of
Man Machine Studies (UK), 26(5):633–648.
Fisher, M., Gabbay, D., and Vila, L., editors (2005). Hand-
book of Temporal Reasoning in Artificial Intelligence,
volume 1 of Foundations of Artificial Intelligence Se-
ries. Elsevier Science & Technology Books.
Gerevini, A. (1997). Reasoning about time and actions in
artificial intelligence: Major issues. In O.Stock, ed-
itor, Spatial and Temporal Reasoning, pages 43–70.
Kluwer Academic Pblishers.
Ginsberg, A. (1987). A new aproach to checking knowledge
bases for inconsistency and redundancy. In proced-
ings 3rd Annual Expert Systems in Government Con-
ference, pages 10–111.
Gonzalez, A. and Dankel, D. (1993). The Engineering
of Knowledge Based Systems - Theory and Practice.
Prentice Hall International Editions.
Kirschen, D. S. and Wollenberg, B. F. (1992). Intelligent
alarm processing in power systems. Proceedings of
the IEEE, 80(5):663–672.
Kleer, J. (1986). An assumption-based TMS. Artificial In-
telligence Holland, 2(28):127–162.
Nazareth, D. (1993). Investigating the applicability of
petri nets for rule based systems verification. IEEE
Transactions on Knowledge and Data Engineering,
4(3):402–415.
Nguyen, T., Perkins, W., Laffey, T., and Pecora, D.
(1987). Knowledge Based Verification. AI Magazine,
2(8):69–75.
Pipard, E. (1989). Detecting inconsistencies and incom-
pleteness in rule bases: the INDE system. In Proceed-
igns of the 8th International Workshop on Expert Sys-
tems and their Applications, 1989, Avignon,France;,
volume 3, pages 15–33, Nanterre, France. EC2.
Preece, A. (1998). Building the right system right. In
Proc.KAW’98 Eleventh Workshop on Knowledge Ac-
quisition, Modeling and Management.
Preece, A., Bell, R., and Suen, C. (1992). Verifying
knowledge-based systems using the cover tool. Proc-
cedings of 12th IFIP Congress, pages 231–237.
Preece, A. and Shinghal, R. (1994). Foundation and appli-
cation of knowledge base verification. International
Journal of Intelligent Systems, 9(8):683–702.
Rousset, M. (1988). On the consistency of knowl-
edge bases:the COVADIS system. In Procedings of
the European Conference on Artificial Intelligence
(ECAI’88), pages 79–84, Munchen.
Suwa, M., Scott, A., and Shortliffe, E. (1982). An aproach
to verifying completeness and consistency in a rule
based expert system. AI Magazine (EUA), 3(4):16–
21.
ICINCO 2007 - International Conference on Informatics in Control, Automation and Robotics
184