Question: How is Rio de Janeiro, twinned administrative body of Buenos Aires, related to Seoul?
Choices:
source of income
cause of death
writing system
noble title
religious order
twinned administrative body
license
film crew member
Wikidata property
chairperson
Program:
function: Find
inputs: Buenos Aires
function: Relate
dependencies: 0
inputs: twinned administrative body
backward
function: Find
inputs: Rio de Janeiro
function: And
dependencies: 1
2
function: Find
inputs: Seoul
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Rio de Janeiro" . ?e_1 <twinned_administrative_body> ?e_3 . ?e_3 <pred:name> "Buenos Aires" . ?e_2 <pred:name> "Seoul" . ?e_1 ?p ?e_2 .  }
Answer: twinned administrative body