Question: Among the non-metropolitan districts located in Surrey (the one whose ISO 3166-2 code is GB-SRY),which one has the largest area ?
Choices:
Kettering
Great Yarmouth
Craven
Chichester
Guildford
Carlisle
South Somerset
Woking
North Norfolk
West Dorset
Answer: Guildford
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> "Surrey" . ?e_1 <ISO_3166-2_code> ?pv_1 . ?pv_1 <pred:value> "GB-SRY" . ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Surrey
function: FilterStr
dependencies: 0
inputs: ISO 3166-2 code
GB-SRY
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: area
largest