Question: How is Hanoi related to Victoria that is the capital of Seychelles?
Choices:
political alignment
twinned administrative body
foundational text
publisher
military conflicts
vehicle normally used
basin country
child
ancestral home
mouth of the watercourse
Answer: twinned administrative body
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Hanoi" . ?e_2 <pred:name> "Victoria" . ?e_3 <capital> ?e_2 . ?e_3 <pred:name> "Seychelles" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Hanoi
function: Find
inputs: Seychelles
function: Relate
dependencies: 1
inputs: capital
forward
function: Find
inputs: Victoria
function: And
dependencies: 2
3
function: QueryRelation
dependencies: 0
4