Knowledge and Application Flashcards

You may prefer our related Brainscape-certified flashcards:
1
Q

Declarative approach

A

Tell the agent what it needs to know and let it use reasoning to deduce consequences

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

Knowledge base

A

Contains facts, rules and general knowledge about the domain in some formal language

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

Reasoning engine

A

Produces relevant consequences of the knowledge base

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

Unary rule-based

A

Let Ka (assertions) contain:
CompetesInPremierLeague(LiverpoolFC)
CompetesInPremierLeague(EvertonFC)
Kr (rules):
CompetesInPremierLeague(x) -> CompetesInFACup(x)
Atomic assertions follow from K:
CompetesInFACup(Liverpool FC)
FootballCLub(Everton)

class(individual variable) -> individual is part of class

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

K be knowledge base and A(b) an atomic assertion

A

K |= A(b)
if whenever K is true, then A(b) is true since Kr allows us to prove this (acts like a bridge).
Ka - {A1(a)}
Kr = {A1(x) -> A2(x), A2(x) -> A3(x)} if x is in a1, then it is in a3
K |= {A1(a), A2(a), A3(a)}

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

Time Complexity

A

IndividualName*ClassName

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

Relation Name

A

Peter is the son of John
John is the son of Joseph
Relation name R denotes a set of pairs of individual objects, also called binary predicates:
onOf
grandsonOf
sonOf(Peter, John) - R(a,b) is atomic assertion

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

Propositional Logic

A

A statement that can be true or false.

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

Proof

A

a and q = m therefore I(m) = 1 (1 being true, 0 being false)*
f = q
!p = a
I(p) exists {0,1} -> I is the interpretation

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

=>

A

If P is false, then P=>Q is true.
If the first initial value is false.

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

Satisfiable

A

Propositional formula is satisfiable if there exists an interpretation under which it is true.
A . !A is a contradiction, because everything in the truth table adds up to false.

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

2^n interpretations

A

N propositional atoms creates combinatorial explosion.

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

Propositional Knowledge Base

A

Is a finite set of propositional formulas.

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

A

And

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

P=>Q

A

If P is false, Q is true.

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

{(p1 and p2)} |= (p1 or p2)

A

True, because all elements of AND that are true are true in OR.

17
Q

{p1, p1 => p2} |= p2

A

True, because when p1 AND p1=>p2 is equal true, p2 is equal to true.

18
Q

A

Or

19
Q

¬

A

Not

20
Q
A

And

21
Q

P1 … Pn is in X
Q = p1 … pn AND ¬P
If Q is unsatisfiable then X |= P

A

Q is not satisfiable then P is true because
p1…pn implies P stands true
Q = X AND ¬P
if Q was satisfiable, then at one point ¬P would stand true
therefore Q needs to be non-satisfiable

22
Q

Rule-based approach

A

They cannot contain ors, ands or nots since if it only an if something holds then something else holds.
Only propositional logic can.
Propositional logic, however, cannot express ‘any’ but rule-based can.

23
Q

Propositional Atoms

A

They are just propositions.

24
Q

Interpretation

A

Is the rule.

I(P) = true under interpretation I

25
Q

Combinatorial Explosion

A

2^n, with n being propositions and 2 being either they are true (1) or false (0).

26
Q

=>

A

Implies
whatever is on the left side, which is true, implies the right side is true
the sky is overcast |= the sun is not visible