Question: What is the connection between Tony Thomas (the one that died in Burbank) to Portsmouth (the one that is the twinned administrative body of Sydney)?
Choices: source of material
source of income
place of birth
derivative work
place of burial
sponsor
history of topic
parent astronomical body
instrument
developer
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Tony Thomas" . ?e_1 <place_of_death> ?e_3 . ?e_3 <pred:name> "Burbank" . ?e_2 <pred:name> "Portsmouth" . ?e_4 <twinned_administrative_body> ?e_2 . ?e_4 <pred:name> "Sydney" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Burbank
function: Relate
dependencies: 0
inputs: place of death
backward
function: Find
inputs: Tony Thomas
function: And
dependencies: 1
2
function: Find
inputs: Sydney
function: Relate
dependencies: 4
inputs: twinned administrative body
forward
function: Find
inputs: Portsmouth
function: And
dependencies: 5
6
function: QueryRelation
dependencies: 3
7
Answer: place of birth