BUILDING of a KNOWLEDGE BASE (KB)
- Knowledge Engineering
(KE)
a process of building a KB.
-
Knowledge Acquisition (KA)
process of elicitting knowledge about the domain
in question (preceeding KE)
-
Knowledge Engineering and Programming
|
|
|
|
|
|
| Step 1 : Choosing a LOGIC | Step 1 : Choosing a PROGRAMMING LANGUAGE |
| Step 2 : Building a KB | Step 2 : Writing a program |
| Step 3 : Implementing a proof theory | Step 3 : Choosing or writing a compiler |
| Step 4 : Infering new facts | Step 4 : Running the program |
|
|
|
| Less work, less committment. Declarative. | Additional work (details implementation). OOD, proc. |
- Knowledge Engineer's
Milestones
| (I) What to talk about and what to ignore - DOMAIN STRUCTURE |
| (II) Vocabulary for constants, functions, relations - ONTOLOGY |
| (III) Encoding the general knowledge about the domain - AXIOMS |
| (IV) Encoding the descritpion of the specific problem instance - PROBLEMS |
| (V) Posing the queries to the inference procedure and getting the answers - QUERIES |
- An example : Electronic Circuit Domain

| (I) What to talk about and what to ignore
- DOMAIN STRUCTURE
Keep : gates, their types, input and output terminals Ignore : wires, their paths, junctions, other components |
| (II) Vocabulary for constants, functions, relations
- ONTOLOGY
Gates : X1, X2, ... Types : Type(X1) = XOR, ... Terminals : In(1, X1), Out(2, X2), ... Connectivity : Connected(Out(1,X1), In(1,X2)), ... Signals : Signal(t) = On, Signal(u) = Off. |
| (III) Encoding the general knowledge about the domain
- AXIOMS
(i) "t1 "t2 Connected(t1,t2) ==> Signal(t1) = Signal(t2) (ii) "t Signal(t) = On V Signal(t) = Off (iii) "t1 "t2 Connected(t1,t2) ==> Connected(t2,t1) (iv) "g Type(g) = OR ==> Signal(Out(1,g))=On <==> $n Signal(In(n,g)) = On (v) .......... AND .......... (vi) .......... XOR .......... (vii) .......... NOT .......... |
| (IV) Encoding the descritpion of the specific problem
instance - PROBLEMS
Type(X1) = XOR Type(X2) = XOR Type(A1) = AND Type(A2) = AND Type(O1) = OR Connected(Out(1,X1), In(1,X2)) .......... Connected(In(1,C1), In(1,X1)) .......... .......... .......... .......... .......... |
| (V) Posing the queries to the inference
procedure and getting the answers - QUERIES
(i) $i1 $i2 $i3 Signal(In(1,C1)) = i1 & Signal(In(2,C1)) = i2 & Signal(In(3,C1)) = i3 & Signal(Out(2,C1)) = On (ii) $i1 $i2 $i3 $o1 $o2 Signal...... All Possibilities = Circuit Verification |
- General Ontology
(GO)
a theory of the representation for a broad selection
of objects and relations
(usually encoded in FOL but with more ontological committments) :
(i) CATEGORIES
|
||||||||||||||
(ii) MEASURES (mass, age, prices, ...)
|
||||||||||||||
(iii) COMPOSITE OBJECTS (how to represent structures of
c. o.)
|
||||||||||||||
| (iv) EVENTS (and PROCESSES (continuous and homogeneous
events, i.e. raining))
- grouped into their own categories
|
||||||||||||||
| (v) PHYSICAL OBJECTS (extend over space and time) | ||||||||||||||
| (vi) SUBSTANCES (tomato juice, water) | ||||||||||||||
| (vii) MENTAL OBJECTS and BELIEFS (whom to ask about tomato isle) |