Question: What association does Sheldon Leonard have to Manhattan (death place of Eli Wallach)?
Choices:
military branch
has cause
takes place in fictional universe
office held by head of the organisation
place of birth
twinned administrative body
language of work or name
location of discovery
separated from
noble title
Program:
function: Find
inputs: Sheldon Leonard
function: Find
inputs: Eli Wallach
function: Relate
dependencies: 1
inputs: place of death
forward
function: Find
inputs: Manhattan
function: And
dependencies: 2
3
function: QueryRelation
dependencies: 0
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Sheldon Leonard" . ?e_2 <pred:name> "Manhattan" . ?e_3 <place_of_death> ?e_2 . ?e_3 <pred:name> "Eli Wallach" . ?e_1 ?p ?e_2 .  }
Answer: place of birth