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