Question: Which area is smaller, West Midlands (the one whose NUTS code is UKG3) or Lancashire?
Choices:
Lancashire
Derbyshire
Cumbria
Essex
Norfolk
Northumberland
Warwickshire
Staffordshire
West Midlands
East Riding of Yorkshire
Answer: West Midlands
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "West Midlands" . ?e <NUTS_code> ?pv_1 . ?pv_1 <pred:value> "UKG3" . } UNION { ?e <pred:name> "Lancashire" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: West Midlands
function: FilterStr
dependencies: 0
inputs: NUTS code
UKG3
function: Find
inputs: Lancashire
function: SelectBetween
dependencies: 1
2
inputs: area
less