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