Question: What is the connection between Tupac Shakur to Manhattan (the one that is the narrative location of Crimes and Misdemeanors)?
Choices:
symptoms
located on astronomical location
named after
culture
officeholder
director
residence
art director
publisher
founded by
Program:
function: Find
inputs: Tupac Shakur
function: Find
inputs: Crimes and Misdemeanors
function: Relate
dependencies: 1
inputs: narrative location
forward
function: Find
inputs: Manhattan
function: And
dependencies: 2
3
function: QueryRelation
dependencies: 0
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Tupac Shakur" . ?e_2 <pred:name> "Manhattan" . ?e_3 <narrative_location> ?e_2 . ?e_3 <pred:name> "Crimes and Misdemeanors" . ?e_1 ?p ?e_2 .  }
Answer: residence