java + prolog

12
Java + Prolog Java + Prolog I have not invented a knife, but a new way to use a knife !!! 1 Author: Ibrahim Itambo Author: Ibrahim Itambo

Upload: cynthia-nolan

Post on 01-Jan-2016

26 views

Category:

Documents


0 download

DESCRIPTION

Java + Prolog. I have not invented a knife, but a new way to use a knife !!!. Ze Expert. An application of Artificial Intelligence. Introduction. Ze Expert is a cocktail of Java and Prolog using AI techniques and AI principles. Possible configurations: Expert System - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: Java + Prolog

Java + PrologJava + Prolog

I have not invented a knife, but a new way to use a knife !!!

11Author: Ibrahim ItamboAuthor: Ibrahim Itambo

Page 2: Java + Prolog

Ze ExpertZe Expert

An application of An application of

Artificial Intelligence Artificial Intelligence

22Author: Ibrahim ItamboAuthor: Ibrahim Itambo

Page 3: Java + Prolog

IntroductionIntroduction

• Ze Expert is a cocktail of Java and Prolog using AI techniques and AI principles.

• Possible configurations:

1. Expert System

2. Automated Help Desk

3. Comp Aided Learning tool

• It uses natural written language !!!

33Author: Ibrahim ItamboAuthor: Ibrahim Itambo

Page 4: Java + Prolog

MotivationsMotivations

Institutions and Companies as artificial persons

a. Can own propertyb. Can dispose propertyc. Can sued. Can be sued, among others

But unlike natural persons they lack the ability toa. Share their experiences, and b. Share their accumulated knowledge

44Author: Ibrahim ItamboAuthor: Ibrahim Itambo

Page 5: Java + Prolog

Motivations cont’dMotivations cont’d

• They actually do have experiences and knowledge and may sometimes be documented but all this information is not readily accessible and actionable (not need-based).

• Most useful information is held by individual employees and other persons who are (or were) part of the organization instead of the organization itself.

• Access to this information depends on the availability and willingness of possessors of this information to share.

55Author: Ibrahim ItamboAuthor: Ibrahim Itambo

Page 6: Java + Prolog

ScenariosScenarios

1. Procurement staff may want to know why is that for every purchase of a fridge there is always another order for a ‘fridge guard’. They may need this to improve their productivity and judgment in future.

2. A radio installation employee/contractor may want to know the acceptable signal levels for particular applications or the company’s policy regarding this.

3. A sales guy may just want to know what is a ‘Twisted Pair’ cable and what is it used for, among other pieces of information.

• Getting information typically involves calling or physically contacting concerned persons (these persons may hold divergent views) potentially wasting time and competitiveness (info may be urgent).

• What is needed is a system wide repository of knowledge and experiences which is accessible by all concerned personnel in a company in order to speed up sharing and dissemination of info.

66Author: Ibrahim ItamboAuthor: Ibrahim Itambo

Page 7: Java + Prolog

Human KnowledgeHuman Knowledge

a. Human knowledge is perishable (forgetting, leaving a company, death, etc).

b. “Will I be rewarded for sharing this information?”

c. “If I share this information I will be less influential and less important.”

d. “This knowledge is mine and am not entitled to share it.”

77Author: Ibrahim ItamboAuthor: Ibrahim Itambo

Page 8: Java + Prolog

FACTSFACTS

• It is true that staff are recruited based on their competences and expertise.

• It is also true that these employees learn from other employees and the employer (e.g. seminars, office internet, workplace friends) as well.

• Therefore it is important to give back to the company as well.

88Author: Ibrahim ItamboAuthor: Ibrahim Itambo

Page 9: Java + Prolog

Intervention - Ze ExpertIntervention - Ze Expert

Features:a. It uses natural written language as the interaction mechanism i.e. (Q n A)

e.g.Q. “what is a mouse ?”A. “it is an input device used in GUIs”

b. It requires one or more knowledge engineers who will be in charge of adding new knowledge and supervising ‘the expert’ in the learning process using PROLOG.

c. It provides a tool to teach Prolog and to test new knowledge before it is actually asserted.

d. It is potentially possible to teach ‘the expert’ to understand any language.

e. ONLY YOUR IMAGINATION AND CREATIVITY IS THE LIMIT

99Author: Ibrahim ItamboAuthor: Ibrahim Itambo

Page 10: Java + Prolog

1.1. EXPERT SYSTEMEXPERT SYSTEM

• This is used to provide organization wide consultancy services and knowledge dissemination.

• This may be useful – In hospital setup– Technology company to provide a single

organization view

1010Author: Ibrahim ItamboAuthor: Ibrahim Itambo

Page 11: Java + Prolog

2. AUTOMATED HELP DESK2. AUTOMATED HELP DESK

• To provide consistent responses to user questions

• To deal with monotony and other possibly ‘boring’ questions

• 24/7 availability of Client Support

NB:Ze Expert allows the user/client to customize the interaction language (words, phrases etc).

1111Author: Ibrahim ItamboAuthor: Ibrahim Itambo

Page 12: Java + Prolog

Thank YouThank You

Author: Ibrahim ItamboAuthor: Ibrahim Itambo 1212