Defines how information about the world is stored and structured in knowledge base. Focuses on what knowledge should be represented and how.
Knowledge representation can either be done using propositional logic or first-order logic. Here, first-order logic is assumed.
Substance
Substance is continuous, divisible.
Can either be:
- Intrinsic: color, density (retain under division).
- Extrinsic: weight, shape (lost when divided).
Object
Defines a physical entity with properties and relationships. Discrete entities.
Physical Composition
Objects can be parts of other objects using the relation:
- Transitive
PartOf(x,y)∧PartOf(y,z)⟹PartOf(x,z)
- Reflexive
PartOf(x,x)
Composite Objects
Objects made of multiple objects.
Categories
Group of objects. Grouped for reasoning and prediction.
Agents use categories to:
- Infer unseen object properties.
- Predict behavior from category membership.
Relations between a group and its members:
- Membership
B∈Basketballs
- Subclass
Basketballs⊂Balls
- Property inheritance
(x∈Basketballs)⟹Spherical(x)
Relations between 2 groups:
- Disjoint: no shared members
Disjoint(Animals, Vegetables)
- Exhaustive decomposition: must belong to one
ExhaustiveDecomposition(Americans, Canadians, Mexicans, NorthAmericans)
- Partition: both disjoint and exhaustive
Partition(Males, Females, Animals)
Measurements
Objects can have measurable properties. Objects can be ordered by such measures even when non-numeric.
Quantitative
Numeric objective measurements such as length, weight.
Qualitative
Non-numeric subjective measurements such as beauty, spiciness.
Time and Event Calculus
Basic Terms
- Action: logical term representing activity (e.g., Turn(Right))
- Fluent: predicate/function varying over time
- Atemporal predicates: permanent truths (e.g., Gold(G1))
Event Calculus
Used to model actions over time intervals.
Predicates
| Predicate | Meaning |
|---|
| T(f,t) | Fluent f true at time t |
| Happens(e,i) | Event e occurs over interval i |
| Initiates(e,f,t) | e starts f at time t |
| Terminates(e,f,t) | e stops f at time t |
| Clipped(f,i) | f ceases to hold within i |
| Restored(f,i) | f becomes true within i |
Axioms
- Happens(e,(t1,t2))∧Initiates(e,f,t1)∧¬Clipped(f,(t1,t))∧t1<t⇒T(f,t)
- Happens(e,(t1,t2))∧Terminates(e,f,t1)∧¬Restored(f,(t1,t))∧t1<t⇒¬T(f,t)
Processes
Aka. liquid events. Continuous events where any subinterval is also valid:
Suppose e∈Processes and tn denotes a timestamp (tn<tn+1):
Happens(e,(t1,t4))⟹Happens(e,(t2,t3))
Intervals
Zero duration intervals are moments. Non-zero duration intervals are extended intervals.
Allen’s Relations
| Relation | Definition |
|---|
| Meet(i,j) | End(i)=Begin(j) |
| Before(i,j) | End(i)<Begin(j) |
| During(i,j) | Begin(j)<Begin(i)<End(i)<End(j) |
| Overlap(i,j) | Begin(i)<Begin(j)<End(i)<End(j) |
| Begins(i,j) | Begin(i)=Begin(j) |
| Finishes(i,j) | End(i)=End(j) |
| Equals(i,j) | Begin(i)=Begin(j)∧End(i)=End(j) |
Mental Events and Mental Objects
Agents can reason about their own and others’ beliefs.
Knowledge bases now include mental objects (beliefs, intentions, goals).
Relations expressing mental states:
- Believes(Lois,Flies(Superman))
- Knows(Lois,CanFly(Superman))
Referential Opacity
Substitution inside belief statements may fail:
(Superman=Clark)∧Knows(Lois,CanFly(Superman))
=Knows(Lois,CanFly(Clark))