Question: What record label is headquartered in the special ward of Japan whose postal code is 〒105-8511 (the country of this statement is Japan)?
Choices:
Southern Lord Records
Avex Trax
Century Media Records
Nikon
Hollywood Records
Imperial Records
Epitaph Records
Capitol Records
Play It Again Sam
Hudson Soft
Answer: Avex Trax
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "record label" . ?e <headquarters_location> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "special ward of Japan" . ?e_1 <postal_code> ?pv . ?pv <pred:value> "〒105-8511" .  [ <pred:fact_h> ?e ; <pred:fact_r> <headquarters_location> ; <pred:fact_t> ?e_1 ] <country> ?qpv . ?qpv <pred:value> "Japan" .  }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: postal code
〒105-8511
function: FilterConcept
dependencies: 1
inputs: special ward of Japan
function: Relate
dependencies: 2
inputs: headquarters location
backward
function: QFilterStr
dependencies: 3
inputs: country
Japan
function: FilterConcept
dependencies: 4
inputs: record label
function: What
dependencies: 5