Question: Which area is smaller, King's Lynn and West Norfolk or West Dorset?
Choices:
Kettering
South Somerset
North Norfolk
King's Lynn and West Norfolk
West Dorset
Guildford
Chichester
Craven
Carlisle
Woking
Program:
function: Find
inputs: King's Lynn and West Norfolk
function: Find
inputs: West Dorset
function: SelectBetween
dependencies: 0
1
inputs: area
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "King's Lynn and West Norfolk" .  } UNION { ?e <pred:name> "West Dorset" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: West Dorset