Question: What country does Malibu (the one that is the death place of Brian Keith), where Burgess Meredith died, belong to ?
Choices:
Bulgaria
Taiwan
Austria
Russian Soviet Federative Socialist Republic
India
German Democratic Republic
Lebanon
United States of America
Burkina Faso
Kingdom of Saxony
Answer: United States of America
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Burgess Meredith" . ?e_2 <pred:name> "Malibu" . ?e_3 <place_of_death> ?e_2 . ?e_3 <pred:name> "Brian Keith" . ?e_1 <place_of_death> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <place_of_death> ; <pred:fact_t> ?e_2 ] <country> ?qpv .  }
Program:
function: Find
inputs: Burgess Meredith
function: Find
inputs: Brian Keith
function: Relate
dependencies: 1
inputs: place of death
forward
function: Find
inputs: Malibu
function: And
dependencies: 2
3
function: QueryRelationQualifier
dependencies: 0
4
inputs: place of death
country