Question: In what country is Michael Gough (who died in London-the birthplace of Jule Styne) from?
Choices:
United Kingdom
Australia
New Zealand
Union of South Africa
Russian Soviet Federative Socialist Republic
Peru
Pakistan
People's Republic of China
France
Poland
Answer: United Kingdom
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Michael Gough" . ?e_2 <pred:name> "London" . ?e_3 <place_of_birth> ?e_2 . ?e_3 <pred:name> "Jule Styne" . ?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: Michael Gough
function: Find
inputs: Jule Styne
function: Relate
dependencies: 1
inputs: place of birth
forward
function: Find
inputs: London
function: And
dependencies: 2
3
function: QueryRelationQualifier
dependencies: 0
4
inputs: place of death
country