Question: Among the non-metropolitan districts located in Norfolk (the one whose area is 5371 square kilometre),which one has the smallest population ?
Choices:
King's Lynn and West Norfolk
Guildford
Norwich
Carlisle
Chichester
Kettering
North Norfolk
Great Yarmouth
South Somerset
Craven
Program:
function: Find
inputs: Norfolk
function: FilterNum
dependencies: 0
inputs: area
5371 square kilometre
=
function: Relate
dependencies: 1
inputs: located in the administrative territorial entity
backward
function: FilterConcept
dependencies: 2
inputs: non-metropolitan district
function: SelectAmong
dependencies: 3
inputs: population
smallest
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "non-metropolitan district" . ?e <located_in_the_administrative_territorial_entity> ?e_1 . ?e_1 <pred:name> "Norfolk" . ?e_1 <area> ?pv_1 . ?pv_1 <pred:unit> "square kilometre" . ?pv_1 <pred:value> "5371"^^xsd:double . ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Great Yarmouth