chapter 7 Flashcards

1
Q

What is bottom-up grounding?

A

To Ground relevant rules by gradually extending the atom base

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

What is a relavent rule?

A

when each positive body literal has a non-cyclic derivation
(ignoring negative literals)

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

Why is bottom-up Grounding in-efficient?

A

• Re-grounds rules from previous steps
• Performs no simplifications

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

How do you Perform simplifications during grounding?

A

• remove literals from rule bodies if possible
• omit rules if body cannot be satisfied

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

What does it mean when a rule depends on another?

A

If the body literals of rule 2 unify with the head elements in rule1.
if b ∈ B(r2) + ∪ B(r2)
− unifies with h ∈ h(r1)

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

What does foreach C in LP mean?

A

For each Component in a strongly connected component set.

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

Semi Naive grounding.

A

Semi Naive grounding originates from database systems [1])
To avoid recomputing the same atoms at each level,
semi-naive grounding focuses on newly generated atoms:
Any new atom at step i relies on at least one atom
newly derived at step i − 1

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

In relation to prepared rules, what are o, a, and n?

A

In relation to prepared rules, O is old, A is all, and n is New. You can only have one new atom with each iteration.

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

Which of the following algorithms only ground relevant rules?

A

Bottom Up and Semi Naive

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

Bottom Up grounding regrounds rules many times

A

True

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

You can use a dependency graph to reduce the number of rules that are reground, but we still reground some rules.

A

True

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

When we simplify a rule on the fly, we remove positive body literals we are sure that are true

A

True

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

When we simplify on the fly we remove negative body literals we are sure are true.

A

False, we remove the positive ones.

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