Question: Which has the largest population among the non-metropolitan districts that are an administrative division of Norfolk which is the origin of the name Norfolk County?
Choices:
South Somerset
North Norfolk
Guildford
Norwich
Kettering
Craven
Great Yarmouth
Carlisle
Chichester
King's Lynn and West Norfolk
Answer: King's Lynn and West Norfolk
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "non-metropolitan district" . ?e_1 <contains_administrative_territorial_entity> ?e . ?e_1 <pred:name> "Norfolk" . ?e_2 <named_after> ?e_1 . ?e_2 <pred:name> "Norfolk County" .  ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Norfolk County
function: Relate
dependencies: 0
inputs: named after
forward
function: Find
inputs: Norfolk
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: contains administrative territorial entity
forward
function: FilterConcept
dependencies: 4
inputs: non-metropolitan district
function: SelectAmong
dependencies: 5
inputs: population
largest