Question: Bertoit Brecht was born in Augsburg, what country is that located in?
Choices:
Romania
Sint Maarten
Kingdom of Bavaria
Kingdom of the Netherlands
Denmark
Hong Kong
Thailand
Roman Republic
Russian Soviet Federative Socialist Republic
Weimar Republic
Answer: Kingdom of Bavaria
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Bertolt Brecht" . ?e_2 <pred:name> "Augsburg" . ?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: Bertolt Brecht
function: Find
inputs: Augsburg
function: QueryRelationQualifier
dependencies: 0
1
inputs: place of birth
country