Question: Which one, Greater Manchester or County Durham, has less area?
Choices:
Derbyshire
Greater Manchester
Staffordshire
Northumberland
Cumbria
Warwickshire
County Durham
Norfolk
Somerset
Essex
Program:
function: Find
inputs: Greater Manchester
function: Find
inputs: County Durham
function: SelectBetween
dependencies: 0
1
inputs: area
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Greater Manchester" .  } UNION { ?e <pred:name> "County Durham" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Greater Manchester