Question: Which has a lesser area, North Yorkshire (whose NUTS code is UKE2) or Cornwall?
Choices:
Derbyshire
Somerset
Staffordshire
Cumbria
Essex
West Midlands
Warwickshire
Cornwall
Norfolk
North Yorkshire
Answer: Cornwall
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "North Yorkshire" . ?e <NUTS_code> ?pv_1 . ?pv_1 <pred:value> "UKE2" . } UNION { ?e <pred:name> "Cornwall" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: North Yorkshire
function: FilterStr
dependencies: 0
inputs: NUTS code
UKE2
function: Find
inputs: Cornwall
function: SelectBetween
dependencies: 1
2
inputs: area
less