Question: Among the non-metropolitan districts located in Norfolk (the one whose official website is http://www.norfolk.gov.uk/), which one has the largest population?
Choices:
South Somerset
Craven
West Dorset
Chichester
Norwich
Great Yarmouth
Guildford
Kettering
King's Lynn and West Norfolk
North Norfolk
Answer: King's Lynn and West Norfolk
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 <official_website> ?pv_1 . ?pv_1 <pred:value> "http://www.norfolk.gov.uk/" . ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Norfolk
function: FilterStr
dependencies: 0
inputs: official website
http://www.norfolk.gov.uk/
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
largest