Question: What country has been imported from Djibouti, with an inflation rate of 3.4%, and has diplomatic relations with Serbia?
Choices:
South Korea
Kiribati
Switzerland
Saudi Arabia
Angola
Cambodia
Yemen
Norway
Weimar Republic
Algeria
Answer: Yemen
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "sovereign state" . ?e_1 <exported_to> ?e . ?e_1 <pred:name> "Djibouti" . ?e_1 <inflation_rate> ?pv . ?pv <pred:unit> "percentage" . ?pv <pred:value> "3.4"^^xsd:double .  ?e <diplomatic_relation> ?e_2 . ?e_2 <pred:name> "Serbia" .  }
Program:
function: Find
inputs: Djibouti
function: FilterNum
dependencies: 0
inputs: inflation rate
3.4 percentage
=
function: Relate
dependencies: 1
inputs: exported to
forward
function: FilterConcept
dependencies: 2
inputs: sovereign state
function: Find
inputs: Serbia
function: Relate
dependencies: 4
inputs: diplomatic relation
backward
function: FilterConcept
dependencies: 5
inputs: sovereign state
function: And
dependencies: 3
6
function: What
dependencies: 7