Question: Does West Yorkshire or Tyne and Wear cover a smaller area?
Choices:
Derbyshire
Essex
Warwickshire
Somerset
Staffordshire
West Yorkshire
West Midlands
Tyne and Wear
Cumbria
Norfolk
Program:
function: Find
inputs: West Yorkshire
function: Find
inputs: Tyne and Wear
function: SelectBetween
dependencies: 0
1
inputs: area
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "West Yorkshire" .  } UNION { ?e <pred:name> "Tyne and Wear" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Tyne and Wear