Question: How is Hearst related to San Francisco (the one that is the narrative location of The Book of Eli) ?
Choices:
candidate
natural product of taxon
coextensive with
distribution
dissertation submitted to
doctoral advisor
location of formation
film crew member
published in
signatory
Answer: location of formation
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Hearst" . ?e_2 <pred:name> "San Francisco" . ?e_3 <narrative_location> ?e_2 . ?e_3 <pred:name> "The Book of Eli" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Hearst
function: Find
inputs: The Book of Eli
function: Relate
dependencies: 1
inputs: narrative location
forward
function: Find
inputs: San Francisco
function: And
dependencies: 2
3
function: QueryRelation
dependencies: 0
4