Question: What is the relationship between Martin Short and Hamilton (the one that is the filming location of Resident Evil: Apocalypse)?
Choices:
cause of death
official religion
lowest point
continent
studied by
use
academic degree
exclave of
place of birth
item operated
Answer: place of birth
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Martin Short" . ?e_2 <pred:name> "Hamilton" . ?e_3 <filming_location> ?e_2 . ?e_3 <pred:name> "Resident Evil: Apocalypse" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Martin Short
function: Find
inputs: Resident Evil: Apocalypse
function: Relate
dependencies: 1
inputs: filming location
forward
function: Find
inputs: Hamilton
function: And
dependencies: 2
3
function: QueryRelation
dependencies: 0
4