Question: What is the zip code of General Motors's headquarters in Detroit, birthplace of Xzibit?
Choices:
48265
LV-1000
20122
R
42001–42399
12180-3590
27261
100000
10000
08650
Program:
function: Find
inputs: General Motors
function: Find
inputs: Xzibit
function: Relate
dependencies: 1
inputs: place of birth
forward
function: Find
inputs: Detroit
function: And
dependencies: 2
3
function: QueryRelationQualifier
dependencies: 0
4
inputs: headquarters location
postal code
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "General Motors" . ?e_2 <pred:name> "Detroit" . ?e_3 <place_of_birth> ?e_2 . ?e_3 <pred:name> "Xzibit" . ?e_1 <headquarters_location> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <headquarters_location> ; <pred:fact_t> ?e_2 ] <postal_code> ?qpv .  }
Answer: 48265