Question: What unitary state has Israel–Sweden diplomatic relations with Israel (whose inflation rate is 444.9 percent)?
Choices:
Sweden
Kosovo
Bulgaria
Lithuania
Greece
Fiji
Malta
Tajikistan
Kazakhstan
Finland
Answer: Sweden
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "unitary state" . ?e_1 <diplomatic_relation> ?e . ?e_1 <pred:name> "Israel" . ?e_1 <inflation_rate> ?pv . ?pv <pred:unit> "percentage" . ?pv <pred:value> "444.9"^^xsd:double .  [ <pred:fact_h> ?e_1 ; <pred:fact_r> <diplomatic_relation> ; <pred:fact_t> ?e ] <statement_is_subject_of> ?qpv . ?qpv <pred:value> "Israel–Sweden relations" .  }
Program:
function: Find
inputs: Israel
function: FilterNum
dependencies: 0
inputs: inflation rate
444.9 percentage
=
function: Relate
dependencies: 1
inputs: diplomatic relation
forward
function: QFilterStr
dependencies: 2
inputs: statement is subject of
Israel–Sweden relations
function: FilterConcept
dependencies: 3
inputs: unitary state
function: What
dependencies: 4