Question: What is the relation of Bangladesh whose inflation rate is 10.2 percentage to Denmark?
Choices:
commander of
relative
statistical leader
rector
approved by
diplomatic relation
father
cause of death
applies to jurisdiction
production designer
Answer: diplomatic relation
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Bangladesh" . ?e_1 <inflation_rate> ?pv . ?pv <pred:unit> "percentage" . ?pv <pred:value> "10.2"^^xsd:double . ?e_2 <pred:name> "Denmark" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Bangladesh
function: FilterNum
dependencies: 0
inputs: inflation rate
10.2 percentage
=
function: Find
inputs: Denmark
function: QueryRelation
dependencies: 1
2