Question: How is Cruzeiro E. C. connected to Brazil (the one that has a diplomatic relation with Indonesia)?
Choices: registered with
eye color
student of
country
record label
works in collection
member of political party
executive producer
collection
nutrient
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Cruzeiro E.C." . ?e_2 <pred:name> "Brazil" . ?e_3 <diplomatic_relation> ?e_2 . ?e_3 <pred:name> "Indonesia" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Cruzeiro E.C.
function: Find
inputs: Indonesia
function: Relate
dependencies: 1
inputs: diplomatic relation
forward
function: Find
inputs: Brazil
function: And
dependencies: 2
3
function: QueryRelation
dependencies: 0
4
Answer: country