Question: What is the connection between samba to Brazil (the one that has a diplomatic relation with Argentina)?
Choices: continent
presenter
geographic distribution
software engine
distribution
designed to carry
country of origin
derivative work
legal form
fictional universe described in
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "samba" . ?e_2 <pred:name> "Brazil" . ?e_3 <diplomatic_relation> ?e_2 . ?e_3 <pred:name> "Argentina" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: samba
function: Find
inputs: Argentina
function: Relate
dependencies: 1
inputs: diplomatic relation
forward
function: Find
inputs: Brazil
function: And
dependencies: 2
3
function: QueryRelation
dependencies: 0
4
Answer: country of origin