Question: Which non-metropolitan District that is an administrative division of Surrey (the one whose GSS code (2011) is E10000030) has the largest area?
Choices:
North Norfolk
West Dorset
Craven
Great Yarmouth
South Somerset
Woking
Chichester
Kettering
King's Lynn and West Norfolk
Guildford
Program:
function: Find
inputs: Surrey
function: FilterStr
dependencies: 0
inputs: GSS code (2011)
E10000030
function: Relate
dependencies: 1
inputs: contains administrative territorial entity
forward
function: FilterConcept
dependencies: 2
inputs: non-metropolitan district
function: SelectAmong
dependencies: 3
inputs: area
largest
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> "Surrey" . ?e_1 <GSS_code_(2011)> ?pv_1 . ?pv_1 <pred:value> "E10000030" . ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Guildford