Question: Which non-metropolitan district in Surrey (whose NUTS code is UKJ23) has the smallest land area?
Choices:
North Norfolk
Carlisle
Kettering
Great Yarmouth
South Somerset
King's Lynn and West Norfolk
Craven
Guildford
Chichester
Woking
Program:
function: Find
inputs: Surrey
function: FilterStr
dependencies: 0
inputs: NUTS code
UKJ23
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
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> "Surrey" . ?e_1 <NUTS_code> ?pv_1 . ?pv_1 <pred:value> "UKJ23" . ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Woking