Question: For which work was John Ford (the one that is buried in Holy Cross Cemetery) awarded an Academy Award for Best Picture?
Choices:
The Four Seasons
The Rape of Richard Beck
Saving Grace
Basic Instinct 2
The Quiet Man
Capote
I See You (Theme from Avatar)
The Spy Next Door
Algiers
Erin Brockovich
Program:
function: Find
inputs: Holy Cross Cemetery
function: Relate
dependencies: 0
inputs: place of burial
backward
function: Find
inputs: John Ford
function: And
dependencies: 1
2
function: Find
inputs: Academy Award for Best Picture
function: QueryRelationQualifier
dependencies: 3
4
inputs: nominated for
for work
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "John Ford" . ?e_1 <place_of_burial> ?e_3 . ?e_3 <pred:name> "Holy Cross Cemetery" . ?e_2 <pred:name> "Academy Award for Best Picture" . ?e_1 <nominated_for> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e_2 ] <for_work> ?qpv .  }
Answer: The Quiet Man