Question: Which country does Michael Haneke's birthplace Munich (which contains FC Bayern Munich II) belong to?
Choices:
Kingdom of Bavaria
Poland
Pakistan
Belgium
Caribbean Netherlands
Germany
Albania
Ecuador
Austria-Hungary
Israel
Program:
function: Find
inputs: Michael Haneke
function: Find
inputs: FC Bayern Munich II
function: Relate
dependencies: 1
inputs: located in the administrative territorial entity
forward
function: Find
inputs: Munich
function: And
dependencies: 2
3
function: QueryRelationQualifier
dependencies: 0
4
inputs: place of birth
country
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Michael Haneke" . ?e_2 <pred:name> "Munich" . ?e_3 <located_in_the_administrative_territorial_entity> ?e_2 . ?e_3 <pred:name> "FC Bayern Munich II" . ?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 .  }
Answer: Germany