Question: What is the connection between Austria to India (the one that has a diplomatic relation with Paraguay)?
Choices: designated as terrorist by
product or material produced
part of
headquarters location
notable work
general manager
diplomatic relation
present in work
located in the administrative territorial entity
collection
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Austria" . ?e_2 <pred:name> "India" . ?e_3 <diplomatic_relation> ?e_2 . ?e_3 <pred:name> "Paraguay" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Austria
function: Find
inputs: Paraguay
function: Relate
dependencies: 1
inputs: diplomatic relation
forward
function: Find
inputs: India
function: And
dependencies: 2
3
function: QueryRelation
dependencies: 0
4
Answer: diplomatic relation