Question: Does Sweden or Finland have the lower median income value?
Choices:
Finland
Lithuania
Cuba
Bulgaria
Sweden
Fiji
Kazakhstan
Luxembourg
Greece
Tajikistan
Program:
function: Find
inputs: Sweden
function: Find
inputs: Finland
function: SelectBetween
dependencies: 0
1
inputs: median income
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Sweden" .  } UNION { ?e <pred:name> "Finland" .  } ?e <median_income> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Finland