Question: London, the birthplace of Friedrich Hollaender and Gary Oldman, is in which country?
Choices: Iceland
Curaçao
Poland
United Kingdom
Panama
Turkey
Brazil
Philippines
British Empire
Cambodia
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Gary Oldman" . ?e_2 <pred:name> "London" . ?e_3 <place_of_birth> ?e_2 . ?e_3 <pred:name> "Friedrich Hollaender" . ?e_1 <place_of_birth> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <place_of_birth> ; <pred:fact_t> ?e_2 ] <country> ?qpv .  }
Program:
function: Find
inputs: Gary Oldman
function: Find
inputs: Friedrich Hollaender
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 birth
country
Answer: United Kingdom