Question: What is the postal code for Honolulu, the residence of Barack Obama?
Choices:
53233
CF
8023
77469
6500–6546
96801–96850
46383
80246–80252
23187-8795
07052
Program:
function: Find
inputs: Barack Obama
function: Relate
dependencies: 0
inputs: residence
forward
function: Find
inputs: Honolulu
function: And
dependencies: 1
2
function: QueryAttr
dependencies: 3
inputs: postal code
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:name> "Honolulu" . ?e_1 <residence> ?e . ?e_1 <pred:name> "Barack Obama" .  ?e <postal_code> ?pv .  }
Answer: 96801–96850