Prototyping an Expert System Shell with the Logic-Based Approach

Expert system is a computer program that is different from other conventional computer programs in that it incorporates specific knowledge, which can be human judgment, experience, and expertise, in order to provide knowledgeable advice to users. The main difference is caused from the structure of an expert system that contains the two loosely coupled parts: knowledge inference engine and knowledge base, instead of one tightly integrated structure. The loose coupling allows knowledge base contents to be dynamically added, removed, modified, or even completely changed to another subject area, whereas the inference engine remains intact and needs no modification. We refer to the knowledge inference engine as an expert system shell because it can be viewed as an outer layer program to infer knowledge advice from the inner knowledge base core. The development of expert system shell can be efficiently achieved through the support of logic-based language such as Prolog. In this paper, we propose and demonstrate a different scheme of expert system shell development using a constraint-based paradigm with the ECLiPSe constraint system. Comparisons of the two paradigms have been done in terms of computational time, memory usage, and lines of code. The experimental results reveal that the difference in lines of code of the two paradigms is insignificance, but the constraint-based paradigm uses less memory during execution and provides more concise form of knowledge representation.

[1]  Shu-Hsien Liao,et al.  Expert system methodologies and applications - a decade review from 1995 to 2004 , 2005, Expert Syst. Appl..

[2]  Harshit Kumar,et al.  An Expert System for Wide Area Surveillance based on Ontology , 2012 .

[3]  Ingo Br,et al.  Prolog programming for artificial intelligence , 1990 .

[4]  Nittaya Kerdprasop,et al.  Frequent Pattern Discovery with Constraint Logic Programming , 2022 .

[5]  Jean-François Boulicaut,et al.  Using a Solver Over the String Pattern Domain to Analyze Gene Promoter Sequences , 2010, Inductive Databases and Constraint-Based Data Mining.

[6]  Jang-Jae Lee,et al.  A Design and Implementation of U-health Diagnosis System using Expert System and Neural Network , 2008 .

[7]  Jianchao Han,et al.  A Knowledge-Based System Implementation of Intrusion Detection Rules , 2010, 2010 Seventh International Conference on Information Technology: New Generations.

[8]  Gary Yat Chung Wong,et al.  Solving 3-SAT using constraint programming and fail detection , 2005 .

[9]  H. E. Pople,et al.  Internist-1, an experimental computer-based diagnostic consultant for general internal medicine. , 1982, The New England journal of medicine.

[10]  Luc De Raedt,et al.  Constraint programming for itemset mining , 2008, KDD.

[11]  Stefano Bistarelli,et al.  Soft constraint based pattern mining , 2007, Data Knowl. Eng..

[12]  Gary Riley,et al.  Expert Systems: Principles and Programming , 2004 .

[13]  Jaewan Lee,et al.  Healthcare Expert System Based on the Group Cooperation Model , 2007, The 2007 International Conference on Intelligent Pervasive Computing (IPC 2007).

[14]  John Durkin,et al.  Expert Systems , 1994 .

[15]  Verónica Dahl,et al.  Constraint Based Methods for Biological Sequence Analysis , 2006, J. Univers. Comput. Sci..

[16]  Shahram Jafari,et al.  An Expert System for Detection of Breast Cancer Using Data Preprocessing and Bayesian Network , 2011 .

[17]  Raheel Ahmad,et al.  Expert Systems: Principles and Programming , 2006, Scalable Comput. Pract. Exp..

[18]  Jean Paul Haton,et al.  Expert systems : principles and practice , 1988 .

[19]  E. Feigenbaum Expert Systems : Principles and Practice * , 1992 .

[20]  W B Schwartz,et al.  Medicine and the computer. The promise and problems of change. , 1970, The New England journal of medicine.

[21]  H. E. Pople,et al.  Internist-I, an Experimental Computer-Based Diagnostic Consultant for General Internal Medicine , 1982 .

[22]  Jaewan Lee,et al.  Healthcare Expert System based on the Group Cooperation Model , 2007 .

[23]  Edward H. Shortliffe,et al.  Computer-based medical consultations, MYCIN , 1976 .

[24]  Carlos León,et al.  Integrated expert system applied to the analysis of non-technical losses in power utilities , 2011, Expert Syst. Appl..

[25]  Miloš Šeda,et al.  Solving resource-constrained project scheduling problem as a sequence of multi-knapsack problems , 2006 .

[26]  Krzysztof R. Apt,et al.  Constraint logic programming using Eclipse , 2007 .