Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Consider a first-order logical knowledge base that describes worlds containing p

ID: 3813780 • Letter: C

Question

Consider a first-order logical knowledge base that describes worlds containing people, songs, albums (e.g., “Meet the Beatles”) and disks (i.e., particular physical instances of CDs). The vocabulary contains the following symbols:

CopyOf (d, a): Predicate. Disk d is a copy of album a.
Owns(p, d): Predicate. Person p owns disk d.
Sings(p, s, a): Albuma includes a recording of song s sung by person p.
Wrote(p, s): Person p wrote song s.

McCartney, Gershwin, BHoliday, Joe, EleanorRigby, TheManILove, Revolver : Are constants with the obvious meanings.

Express the following statements in first-order logic:

a. Gershwin wrote “The Man I Love.”
b. Gershwin did not write “Eleanor Rigby.”
c. Either Gershwin or McCartney wrote “The Man I Love.”
d. Joe has written at least one song. e. Joe owns a copy of Revolver.
f. Every song that McCartney sings on Revolver was written by McCartney.
g. Gershwin did not write any of the songs on Revolver.
h. Every song that Gershwin wrote has been recorded on some album. (Possibly different songs are recorded on different albums.)
i. There is a single album that contains every song that Joe has written.
j. Joe owns a copy of an album that has Billie Holiday singing “The Man I Love.”
k. Joe owns a copy of every album that has a song sung by McCartney. (Of course, each different album is instantiated in a different physical CD.)
l. Joe owns a copy of every album on which all the songs are sung by Billie Holiday.

Explanation / Answer

a.  Wrote( Gershwin, The Man I Love)

b. ¬Wrote( Gershwin, Eleanor Rigby)

c. Wrote(Gershwin, The Man I Love) v Wrote(McCartney, The Man I Love)

d. s Wrote(Joe, s)

e. x CopyOf( x, Revolver) ^ Owns( Joe, x)

f. s Sings(McCartney, s, Revolver) W(McCartney, s)

g. . ¬[ s Wrote(Gershwin, s) p Sings(p, s, Revolver)]

h. s Wrote(Gershwin, s) p, a Sings(p, s, a)

i. a s Wrote(Joe, s) p S(p, s, a)

j. d, a, s CopyOf(d, a) Owns(Joe, d) Sings(BHoliday, The Man I Love, a)

k. a [ s Sings(McCartney, s, a)] d CopyOf(d, a) Owns(Joe, d).

l. a [ s, p Sings(p, s, a) S(BHoliday, s, a)] d CopyOf(d, a) Owns(Joe, d)

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote