Question: Which unitary state that has a diplomatic relationship with Romania (whose citizens are the רומנייה people) has the lowest unemployment rate?
Choices:
Lithuania
Fiji
Cuba
Kosovo
Moldova
Greece
Finland
Tajikistan
Bulgaria
Kazakhstan
Answer: Moldova
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "unitary state" . ?e_1 <diplomatic_relation> ?e . ?e_1 <pred:name> "Romania" . ?e_1 <demonym> ?pv_1 . ?pv_1 <pred:value> "רומנייה" . ?e <unemployment_rate> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Romania
function: FilterStr
dependencies: 0
inputs: demonym
רומנייה
function: Relate
dependencies: 1
inputs: diplomatic relation
forward
function: FilterConcept
dependencies: 2
inputs: unitary state
function: SelectAmong
dependencies: 3
inputs: unemployment rate
smallest