Question: J. R. R. Tolkien was born in Bloemfontein, what country is that in ?
Choices: Roman Republic
Spain
Russian Soviet Federative Socialist Republic
Venezuela
Caribbean Netherlands
Kingdom of Bavaria
England
Orange Free State
Kazakhstan
Burkina Faso
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "J. R. R. Tolkien" . ?e_2 <pred:name> "Bloemfontein" . ?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: J. R. R. Tolkien
function: Find
inputs: Bloemfontein
function: QueryRelationQualifier
dependencies: 0
1
inputs: place of birth
country
Answer: Orange Free State