Question: What is the postal code of the market town where UK citizen Tony Curtis was born?
Choices:
61801
3018
49201–49204
02215
75016
34149
84322
SA31-33
94304
07510
Answer: SA31-33
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "market town" . ?e_1 <place_of_birth> ?e . ?e_1 <pred:name> "Tony Curtis" . ?e_1 <country_of_citizenship> ?e_2 . ?e_2 <pred:name> "United Kingdom" .  ?e <postal_code> ?pv .  }
Program:
function: Find
inputs: United Kingdom
function: Relate
dependencies: 0
inputs: country of citizenship
backward
function: Find
inputs: Tony Curtis
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: place of birth
forward
function: FilterConcept
dependencies: 4
inputs: market town
function: QueryAttr
dependencies: 5
inputs: postal code