Question: Tell me the relationship between Auckland City and Brisbane (which is the twinned administrative body of Bangkok)
Choices:
country of origin
discoverer or inventor
mascot
twinned administrative body
based on
general manager
allegiance
art director
political ideology
interests
Program:
function: Find
inputs: Auckland City
function: Find
inputs: Bangkok
function: Relate
dependencies: 1
inputs: twinned administrative body
backward
function: Find
inputs: Brisbane
function: And
dependencies: 2
3
function: QueryRelation
dependencies: 0
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Auckland City" . ?e_2 <pred:name> "Brisbane" . ?e_2 <twinned_administrative_body> ?e_3 . ?e_3 <pred:name> "Bangkok" . ?e_1 ?p ?e_2 .  }
Answer: twinned administrative body