Question: What is the relationship between Kaohsiung and Tulsa (the one that is the twinned administrative body of Kaohsiung)?
Choices:
military conflicts
license
item operated
twinned administrative body
main food source
product or material produced
has part
famous people
commander of
place of publication
Program:
function: Find
inputs: Kaohsiung
function: Find
inputs: Kaohsiung
function: Relate
dependencies: 1
inputs: twinned administrative body
forward
function: Find
inputs: Tulsa
function: And
dependencies: 2
3
function: QueryRelation
dependencies: 0
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Kaohsiung" . ?e_2 <pred:name> "Tulsa" . ?e_3 <twinned_administrative_body> ?e_2 . ?e_3 <pred:name> "Kaohsiung" . ?e_1 ?p ?e_2 .  }
Answer: twinned administrative body