Question: Which non-metropolitan district contains Chichester (postal code PO19)?
Choices:
West Dorset
Guildford
Norwich
Great Yarmouth
Carlisle
Preston
Kettering
Chichester
Craven
South Somerset
Answer: Chichester
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "non-metropolitan district" . ?e_1 <located_in_the_administrative_territorial_entity> ?e . ?e_1 <pred:name> "Chichester" . ?e_1 <postal_code> ?pv . ?pv <pred:value> "PO19" .   }
Program:
function: Find
inputs: Chichester
function: FilterStr
dependencies: 0
inputs: postal code
PO19
function: Relate
dependencies: 1
inputs: located in the administrative territorial entity
forward
function: FilterConcept
dependencies: 2
inputs: non-metropolitan district
function: What
dependencies: 3