Question: What is the connection between Romania (the one that has a diplomatic relation with Vietnam) to Bucharest?
Choices: found
edition or translation of
general manager
original language of film or TV show
mouth of the watercourse
capital
rector
author
license
founded by
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Romania" . ?e_1 <diplomatic_relation> ?e_3 . ?e_3 <pred:name> "Vietnam" . ?e_2 <pred:name> "Bucharest" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Vietnam
function: Relate
dependencies: 0
inputs: diplomatic relation
backward
function: Find
inputs: Romania
function: And
dependencies: 1
2
function: Find
inputs: Bucharest
function: QueryRelation
dependencies: 3
4
Answer: capital