Question: Which has less of an unemployment rate, Greece or Moldova?
Choices:
Kosovo
Fiji
Cuba
Lithuania
Finland
Tajikistan
Bulgaria
Kazakhstan
Greece
Moldova
Program:
function: Find
inputs: Greece
function: Find
inputs: Moldova
function: SelectBetween
dependencies: 0
1
inputs: unemployment rate
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Greece" .  } UNION { ?e <pred:name> "Moldova" .  } ?e <unemployment_rate> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Moldova