Question: Which one has lesser population between Tyne & Wear and Dorset, whose area is 2653 square kilometre?
Choices: Cumbria
Norfolk
Staffordshire
Derbyshire
Warwickshire
Dorset
Essex
Somerset
West Midlands
Northumberland
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Tyne and Wear" . } UNION { ?e <pred:name> "Dorset" . ?e <area> ?pv_1 . ?pv_1 <pred:unit> "square kilometre" . ?pv_1 <pred:value> "2653"^^xsd:double . } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Tyne and Wear
function: Find
inputs: Dorset
function: FilterNum
dependencies: 1
inputs: area
2653 square kilometre
=
function: SelectBetween
dependencies: 0
2
inputs: population
less
Answer: Dorset