Question: What is the connection between Dubai (the one that is imported from People's Republic of China) to Dubai (the one that is the twinned administrative body of Karachi)?
Choices:
notable work
connects with
separated from
capital
followed by
professional or sports partner
color
diplomatic relation
has contributing factor
honorific prefix
Program:
function: Find
inputs: People's Republic of China
function: Relate
dependencies: 0
inputs: exported to
forward
function: Find
inputs: Dubai
function: And
dependencies: 1
2
function: Find
inputs: Karachi
function: Relate
dependencies: 4
inputs: twinned administrative body
forward
function: Find
inputs: Dubai
function: And
dependencies: 5
6
function: QueryRelation
dependencies: 3
7
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Dubai" . ?e_3 <exported_to> ?e_1 . ?e_3 <pred:name> "People's Republic of China" . ?e_2 <pred:name> "Dubai" . ?e_4 <twinned_administrative_body> ?e_2 . ?e_4 <pred:name> "Karachi" . ?e_1 ?p ?e_2 .  }
Answer: capital