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