Question: Is the area less for Staffordshire or West Yorkshire?
Choices:
Staffordshire
Warwickshire
West Midlands
Norfolk
West Yorkshire
Northumberland
Essex
Somerset
Derbyshire
East Riding of Yorkshire
Program:
function: Find
inputs: Staffordshire
function: Find
inputs: West Yorkshire
function: SelectBetween
dependencies: 0
1
inputs: area
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Staffordshire" .  } UNION { ?e <pred:name> "West Yorkshire" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: West Yorkshire