Question: Is the smaller area occupied by Cheshire or by Norfolk, location of the administrative division King's Lynn and West Norfolk?
Choices:
Somerset
Cumbria
East Riding of Yorkshire
Essex
West Midlands
Staffordshire
Northumberland
Norfolk
Derbyshire
Cheshire
Program:
function: Find
inputs: Cheshire
function: Find
inputs: King's Lynn and West Norfolk
function: Relate
dependencies: 1
inputs: contains administrative territorial entity
backward
function: Find
inputs: Norfolk
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: area
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Cheshire" .  } UNION { ?e <pred:name> "Norfolk" . ?e <contains_administrative_territorial_entity> ?e_1 . ?e_1 <pred:name> "King's Lynn and West Norfolk" .   } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Cheshire