Question: What is the relationship between Townsville and Australia (the one that has a diplomatic relation with Jordan)?
Choices: country
from fictional universe
territory claimed by
original film format
military casualty classification
destination point
occupant
rector
convicted of
participant
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Townsville" . ?e_2 <pred:name> "Australia" . ?e_3 <diplomatic_relation> ?e_2 . ?e_3 <pred:name> "Jordan" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Townsville
function: Find
inputs: Jordan
function: Relate
dependencies: 1
inputs: diplomatic relation
forward
function: Find
inputs: Australia
function: And
dependencies: 2
3
function: QueryRelation
dependencies: 0
4
Answer: country