Chapter 10 - Knowledge representation Flashcards

1
Q

What is this chapter about?

A

We are now interested in understanding what type of content we should add to our knowledge base.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is ontology?

A

Ontology is a formal representation of a set of concepts within a domain, and the relationships between those concepts.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Complex domains require flexible and general representations. What should we concentrate on?

A

We should focus on general concepts, such as Events, Time, Physical Objects, Beliefs. These abstract concepts are present in most domains.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Elaborate on leaving placeholders for new knowledge

A

Instead of defining everything at once, we can leave placeholders for new knowledge. For instance, we can define what it means to be a physical object, and then the finer details of specific objects can be filled in later.

There is a good analogy to object oriented programming. We create interfaces with a certain behavior, but we leave out the implementation. Also, framworks like Swing/JavaFX includes objects called WINDOW, which allows user to use this interface/abstract class as a starting point to fill out their own more detailed objects.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What do we call the “general framework of concepts” in our AI-model/world?

A

Upper ontology. upper ontology is a framework, a structure of foundational concepts and relations acorss various domains of knowledge. They have the most general concepts at the top, and then more specific concepts below them.

Another definition is: Upper ontology is an ontology that consists of very general terms that are common across all domains.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

In an ontology (upper ontology) “diagram”, what does each link mean?

A

Each link means that the lower concept is a specialization of the concept above.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is the most important caveat in this topic?

A

Uncertainty. Using logic, either FOL or propositional make the world work in absolutes. This is often not the case. For instance, while it would be tempting to use the rule “Tomatoes are red”, tomatoes can indeed be yellow and orange. Therefore, is it paramount to handle these uncertainties.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Of what use is an upper ontology?

A

It provides a generality that is useful for us.

For instance, in the Wompus world, we could use the creature “Being”. This allows the world to have different animals besides the wompus while the agent can learn things about them.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What are the characteristics of general-purpose ontologies?

A

1) A general purpose ontology should be applicable in more or less ANY special-purpose domain

2) In any sufficiently demanding domain, different areas of knowledge must be unified, because reasoning and problem solving could involve several areas simultaneously. In other words, the ontology must be capable of bridging different areas of knowledge.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Elaborate shortly on special-purpose vs general purpose ontologies.

A

a special-purpose ontology would only consider a specific level of knowledge. For instance, a very specific purpose ontology could consider the side effects of one particular type of medicine?

this would be useful if this was our only problem. However, we want our ontology to be general, so that it can serve multiple purposes

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Why do we want the ontology to be more general?

A

by making our ontology more general, we will enable our agent to function in more complex and interconnected systems.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Elaborate on organization of objects into categories.

A

Vital part of knowledge representation. This is because a lot of reasoning actually happens at the category-level, and not at the specific object-level.

There are many reasons for this. Some include:
1) Mimics the way humans thinks. We are often interested in buying a nice object, rather than buying a nice, specific item.

2) Inheritance. Categories allow for inheritance of properties. Kind of like in Java.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

how can we represent categories in first-order logic?

A

Either one of two ways:

1) Objects
2) Predicates

We can use the predicate to indicate membership, like Basketball(b).

Or, we could reify and use objects. Reify is short for reification. Refers to turning a proposition into an object.
We would then use something like Basketballs, and then use a predicate to test for membership.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What is a subcategory?

A

A subcategory means a category is a subset of another category. For instance, basketball is a subcategory of balls.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What is a taxonomic hierarchy?

A

A taxonomic hierarchy is basically just taxonomy. Taxonomy is categorizing things based on their characteristics.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Here are some facts about categories, open up:

A

e means membership of set

“An object is a member of a category”
BB9 ∈ Basketballs

A category is a subclass of another category
Basketballs ⊆ Balls

“All members of a category have some properties”
(x e Basketballs) => Spherical(x)

“Member of a category can be recognized by some properties”
Organge(x) AND Round(x) AND Diameter(x)=9.5 AND x e Balls => x e Basketballs

“A category as a whole has some properties”
Dogs e DomesticatedSpecies

17
Q

We also want to specify relations between categories that are not subclasses of each other. How do we do this?

A

One way is the disjoint property. Two or more categories are disjoint if they have no elements/members in common.

another way is using “Exhaustive decomposition”. We say that an exhaustive decomoposition of disjoint sets is known as a partition. This of course means that ALL MEMBERS of the original category falls in under one of the subcategories of the original/parent category. For instance, if we have a category called Vehicle, then all instances of Vehicle must be categorized as one of the subclasses of Vehicle.

18
Q

Elaborate on exhaustive decomposition

A

Exhaustive refers to applying to ALL members.
Decomposition is a type of split.

We say that an exhaustive decomoposition of disjoint sets is known as a partition. This of course means that ALL MEMBERS of the original category falls in under one of the subcategories of the original/parent category. For instance, if we have a category called Vehicle, then all instances of Vehicle must be categorized as one of the subclasses of Vehicle.

19
Q

How can we define rules for category membership=

A

We just state some. For instance, if we want a rule that tells us a certain object is a Bachelor, we can do this:

x e Bachelors <=> Unmarried(x) AND x e Adults AND x e Males

20
Q

What is the “partOf” relations?

A

the partOf relation is used to say that some object is a part of something else. For instance:

PartOf(Europe, Earth)

the PartOf relation is transitive and reflexive:

PartOf(x,x)

PartOf(y,x) AND PartOf(y,z) => PartOf(x,z)

21
Q

What do we do if we want to define composite objects with definite aprts but no particular structure?

A

We use a “bunch”.

For instance:

BunchOf({Apple1, Apple2, Apple3}) denotes the composite object with 3 apples as parts. We can then use the bunch as a normal object.

22
Q

How do we represent measurements, such as length?

A

We can use this:

Length(L1) = Inches(1.5) = Centimeters(3.81)
Diameter(Basketball12) = Inches(9.5)
ListPrice(Basketball12) = $(19)

These are called unit-functions.

Generally, they are called “Measures” or “Measurements”

23
Q

What is the most important aspect of measurements?

A

It is NOT the actual values. The actual values are often very diffcult to measure exactly.

The most important aspect, is that they can be ordered. This means, we can use “<” and “>” to indicate relative ordering.

24
Q

What is qualitative physics?

A

Qualitative physics is a subfield within AI that investigates how to reason about physical systems without detailed equations and numerical simulations.

25
Q

How can one view objects?

A

2 kinds:

1) Primitive objects
2) Composite objects

However, we usually reason at the level of rather large objects (like apples, cars etc) so that we dont need to take individual particles into account.

26
Q

Elaborate on individuation

A

Individuation is about division into distinct objects. For instance, for many objects is is easy to say “we have x amount of this object”, like “I see one dog”. However, there are many objects that dont naturally have this distinct ability. For instance, butter. What is one object of butter?

Objects that seems to defy obvious individuation is called “Stuff”.

Therefore, we have a distinction between stuff and things. Stuff is more liquid, while things are distinct.

27
Q

How to linguistics differ between stuff and things?

A

Count nouns and mass nouns.

Count nouns are things, while mass nouns are stuff.

28
Q

Elaborate on intrinsic vs extrinsic properties of things and stuff

A

Stuff are characterized by their intrinsic properties. These properties belong to the substance itself, rather than the object as a whole.

Things are characterized by their extrinsic properties. We would loose these properties by cutting the thing in 2 pieces.

29
Q

Why do we use event calculus?

A

We use event calculus to handle the aspect of time during events.

In the Wompus world, we only discussed discrete events that occured instnatly. The time to shoot was 0 etc. In real life, this is usually not the case. For instance, filling a hot tub. A very simple agent would treat it as a instant event, but would then not be able to function in the mean time.

30
Q

What are the objects of event calculus?

A

the objects of event calculus are:
1) Fluents
2) events
3) Time points

Fluents are aspects of the world that change. Such as “HaveBullet” in the game oneInTheChamber.

At(Shankar, Berkeley) is a fluent.

An event can be described like this:

E_I e Flyings AND Flyer(E_1, Shankar) AND origin(E_1, SF) AND Destination(E_1, DC)

Here above, Flyings is the category of all flying events. Like this, we can add any arbitrary information about them.

To assert that a fluent is actually true at some point in time t_1, and continuing to t_2, we use the predicate “T”.

T(At(Shankar, Berkeley), t_1, t_2)

31
Q

Give the set of predicates we use for this version of event calculus

A

T(f, t1, t2): Fluent f is true for all times between t1 and t2.

Happens(e, t1, t2): Event e starts at time t1 and ends at time t2.

Initiates(e, f, t): Event e causes fluent f to become true at time t

Terminates(e, f, t): Event e causes fluent f to cease to be true at time t.

Initiated(f, t1, t2): Fluent f become true at some point between t1 and t2

Terminated(f, t1, t2): Fluent f cease to be true at some point between t1 and t2.

t1 < t2: Time1 happens before time 2

32
Q

What is the purpose of the distinguished event “Start”?

A

Start describes the initial state by saying which fluents are true and which are false at the start time. Therefore, Start will use the predicates Initiates(e,f,t) to find out what fluents are true. It will also use Terminated to find the ones that are false.

33
Q

Elaborate on event calculus and time

A

We can talk about time points and time intervals.

Moments vs extended intervals.

Moments have zero duration.

34
Q
A