Question: What is the connection between Kuala Lumpur to Shiraz (the one that is the twinned administrative body of Kuala Lumpur)?
Choices:
organisation directed from the office or person
fabrication method
theme music
child
home port
military casualty classification
twinned administrative body
editor
professional or sports partner
quotes work
Program:
function: Find
inputs: Kuala Lumpur
function: Find
inputs: Kuala Lumpur
function: Relate
dependencies: 1
inputs: twinned administrative body
backward
function: Find
inputs: Shiraz
function: And
dependencies: 2
3
function: QueryRelation
dependencies: 0
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Kuala Lumpur" . ?e_2 <pred:name> "Shiraz" . ?e_2 <twinned_administrative_body> ?e_3 . ?e_3 <pred:name> "Kuala Lumpur" . ?e_1 ?p ?e_2 .  }
Answer: twinned administrative body