Question: For the U.S. city that is the death place of Eileen Brennan (the country of this statement is United States of America), its postal code of 91506 belongs to what country?
Choices:
Weimar Republic
United States of America
Kingdom of Bavaria
Italy
Armenia
Venezuela
Burkina Faso
Ireland
Panama
Slovenia
Answer: United States of America
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "city of the United States" . ?e_1 <place_of_death> ?e . ?e_1 <pred:name> "Eileen Brennan" . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <place_of_death> ; <pred:fact_t> ?e ] <country> ?qpv_1 . ?qpv_1 <pred:value> "United States of America" . ?e <postal_code> ?pv . ?pv <pred:value> "91506" . [ <pred:fact_h> ?e ; <pred:fact_r> <postal_code> ; <pred:fact_t> ?pv ] <country> ?qpv .  }
Program:
function: Find
inputs: Eileen Brennan
function: Relate
dependencies: 0
inputs: place of death
forward
function: QFilterStr
dependencies: 1
inputs: country
United States of America
function: FilterConcept
dependencies: 2
inputs: city of the United States
function: QueryAttrQualifier
dependencies: 3
inputs: postal code
91506
country