Question: What is the ceremonial county of England with the capital Durham whose postal code is DH1?
Choices:
West Midlands
County Durham
Cumbria
Kent
Norfolk
Staffordshire
Somerset
Essex
Derbyshire
Warwickshire
Answer: County Durham
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "ceremonial county of England" . ?e_1 <capital_of> ?e . ?e_1 <pred:name> "Durham" . ?e_1 <postal_code> ?pv . ?pv <pred:value> "DH1" .   }
Program:
function: Find
inputs: Durham
function: FilterStr
dependencies: 0
inputs: postal code
DH1
function: Relate
dependencies: 1
inputs: capital of
forward
function: FilterConcept
dependencies: 2
inputs: ceremonial county of England
function: What
dependencies: 3