Question: Does Norfolk (the one that contains the administrative division North Norfolk) or Dorset (the one whose population is 744041) have less area?
Choices: West Midlands
Warwickshire
East Riding of Yorkshire
Derbyshire
Cumbria
Somerset
Staffordshire
Essex
Dorset
Northumberland
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Norfolk" . ?e <contains_administrative_territorial_entity> ?e_1 . ?e_1 <pred:name> "North Norfolk" . } UNION { ?e <pred:name> "Dorset" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "744041"^^xsd:double . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: North Norfolk
function: Relate
dependencies: 0
inputs: contains administrative territorial entity
backward
function: Find
inputs: Norfolk
function: And
dependencies: 1
2
function: Find
inputs: Dorset
function: FilterNum
dependencies: 4
inputs: population
744041
=
function: SelectBetween
dependencies: 3
5
inputs: area
less
Answer: Dorset