Question: Which has a smaller GDP (PPP), Moldova or Denmark?
Choices:
Bulgaria
Cuba
Fiji
Moldova
Denmark
Tajikistan
Kazakhstan
Finland
Sweden
Kosovo
Answer: Moldova
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Moldova" .  } UNION { ?e <pred:name> "Denmark" .  } ?e <GDP_(PPP)> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Moldova
function: Find
inputs: Denmark
function: SelectBetween
dependencies: 0
1
inputs: GDP (PPP)
less