Question: What is the connection between Ned Kelly (the one that uses the language English) to Melbourne (the one that is the residence of Geoffrey Rush)?
Choices:
position held
theme music
place of death
director of photography
child
librettist
official language
had as last meal
located in the administrative territorial entity
architect
Answer: place of death
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Ned Kelly" . ?e_1 <languages_spoken,_written_or_signed> ?e_3 . ?e_3 <pred:name> "English" . ?e_2 <pred:name> "Melbourne" . ?e_4 <residence> ?e_2 . ?e_4 <pred:name> "Geoffrey Rush" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: English
function: Relate
dependencies: 0
inputs: languages spoken, written or signed
backward
function: Find
inputs: Ned Kelly
function: And
dependencies: 1
2
function: Find
inputs: Geoffrey Rush
function: Relate
dependencies: 4
inputs: residence
forward
function: Find
inputs: Melbourne
function: And
dependencies: 5
6
function: QueryRelation
dependencies: 3
7