Question: What is the postal code for the area of London, Bromley, where Peter Frampton born?
Choices:
42101–42104
02861
33701, 33703-33705, 33710, 33712-33713, 33715
4020–4029
1010
BR1
52071
49014-49018; 49037
93035
75008
Answer: BR1
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "area of London" . ?e_1 <place_of_birth> ?e . ?e_1 <pred:name> "Peter Frampton" . ?e_1 <place_of_birth> ?e_2 . ?e_2 <pred:name> "Bromley" .  ?e <postal_code> ?pv .  }
Program:
function: Find
inputs: Bromley
function: Relate
dependencies: 0
inputs: place of birth
backward
function: Find
inputs: Peter Frampton
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: place of birth
forward
function: FilterConcept
dependencies: 4
inputs: area of London
function: QueryAttr
dependencies: 5
inputs: postal code