Building Knowledge Bases - PowerPoint PPT Presentation

About This Presentation
Title:

Building Knowledge Bases

Description:

Knowledge engineering - Art & science of transforming worldly knowledge into ... Kentucky Fried Chicken. Dewey decimal. LoC. MeSh. Lecture 7-1. CS250: Intro to AI/Lisp ... – PowerPoint PPT presentation

Number of Views:22
Avg rating:3.0/5.0
Slides: 19
Provided by: kurtdfenst
Category:

less

Transcript and Presenter's Notes

Title: Building Knowledge Bases


1
Building Knowledge Bases
  • Lecture 7-1
  • February 16th, 1999
  • CS250

2
What do we get from logic?
  • Logics consist of
  • Syntax
  • Semantics
  • Proof theory
  • Expressive, but doesnt say what to express

3
A Few Terms
  • Knowledge engineering - Art science of
    transforming worldly knowledge into computer
    reasonable form
  • Knowledge acquisition - Squeezing knowledge from
    the heads of experts

4
Declarative Approach Rides Again
  • Write down what you know, and let the system
    figure out the rest
  • Separate inferencing from representation
  • Design an inferencing engine that works with many
    representations
  • Free to focus on the best representation

5
Good Qualities for a Knowledge Base
  • Clarity
  • Coherence
  • Extensibility
  • Avoid favoring encodings
  • Minimal ontological commitment
  • From Toward Principles for the Deisgn of
    Ontologies Used for Knowledge Sharing

6
KE Questions
  • For every sentence added to the knowledge base
  • Why is this true? Can its truth be decomposed?
  • Is it widely applicable? Can I broaden this
    observation?
  • Do I need a predicate to denote this class of
    objects? How does the class relate to other
    classes? Subclasses? Other class properties?

7
KE Strategy
  • Decide what to talk about
  • What to focus on, what to ignore
  • Vocabulary of predicates, functions constants
  • Encode general domain knowledge
  • Encode a specific problem instance
  • Sit back and ask questions

8
1-Bit Adder
1
1
2
3
2
9
What are We Talking About
  • Some concepts well need
  • Wires as connectors
  • Gates (AND, OR, XOR NOT)
  • Inputs
  • Outputs
  • What dont we need?

Latency, layout, CMOS, time
10
Representing Stuff
  • Distinguish gates from one another
  • Constants
  • Gate types
  • Type functions gt Type(X1) XOR
  • Terminals
  • Output terminal function Out(1, X1)
  • Connectivity

11
Encode General Rules
  • If two terminals are connected, they have the
    same signal
  • The signal at every terminal is either on or off
    (but not both)
  • An XOR gate is on iff its inputs are different

?t1,t2 Connected(t1,t2)? Signal(t1)Signal(t2)
?t Signal(t)On ? Signal(t)Off On?Off
?g Type(g)XOR? Signal(Out(1,g)On ?
Signal(In(1,g))?Signal(In(2,g))
12
Encode Specific Instance
  • Encode the circuit
  • Gate info
  • Connections among gates

13
Ask the 64,000 Question
  • When will the first output of C1 be off and the
    second output of C1 to be on?
  • Is the circuit correct?
  • What are the possible sets of values of all the
    terminals for the adder circuit?

?i1,i2,o1,o2 Signal(In(1,C1))i1 ?
Signal(In(2,C1))i2 ? Signal(In(3,C1))i3 ?
Signal(Out(1,C1))o1 ? Signal(Out(2,C1))o2
14
Other KRs
  • Case-based reasoning
  • Bayesian networks
  • Neural networks

15
General Ontologies
  • Categories
  • Measures
  • Composite Objects
  • Time, Space and Change
  • Events and Processes
  • Physical Objects
  • Substances
  • Mental Objects and Beliefs

16
Categories
  • Categories
  • Reification
  • How many people live on Earth?
  • Inheritance
  • Creating taxonomies
  • Kentucky Fried Chicken
  • Dewey decimal
  • LoC
  • MeSh

17
Measures
  • Examples Height, mass, cost
  • Measure Units function a Number

18
Composite Objects
  • Not inheritance
  • Difference between subclass and member
  • Schema
  • Script
Write a Comment
User Comments (0)
About PowerShow.com