Question: What is the connection between the University of Dhaka and Bangladesh (that has a diplomatic relationship with Chile)?
Choices:
political ideology
country
location of final assembly
location of discovery
rector
librettist
permanent resident of
facet of
exclave of
place of origin (Switzerland)
Answer: country
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "University of Dhaka" . ?e_2 <pred:name> "Bangladesh" . ?e_3 <diplomatic_relation> ?e_2 . ?e_3 <pred:name> "Chile" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: University of Dhaka
function: Find
inputs: Chile
function: Relate
dependencies: 1
inputs: diplomatic relation
forward
function: Find
inputs: Bangladesh
function: And
dependencies: 2
3
function: QueryRelation
dependencies: 0
4