Question: Which county has fewer people, County Donegal or County Roscommon?
Choices:
County Monaghan
County Donegal
County Limerick
County Kilkenny
County Kildare
County Galway
County Roscommon
County Meath
County Sligo
County Tipperary
Program:
function: Find
inputs: County Donegal
function: Find
inputs: County Roscommon
function: SelectBetween
dependencies: 0
1
inputs: population
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "County Donegal" .  } UNION { ?e <pred:name> "County Roscommon" .  } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: County Roscommon