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