Question: Thomas Mann, who studied at Ludwig Maximilian University of Munich, had citizenship in how many historical countries?
Choices:
0
1
2
3
4
5
6
7
8
9
Program:
function: Find
inputs: Ludwig Maximilian University of Munich
function: Relate
dependencies: 0
inputs: educated at
backward
function: Find
inputs: Thomas Mann
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: country of citizenship
forward
function: FilterConcept
dependencies: 4
inputs: historical country
function: Count
dependencies: 5
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "historical country" . ?e_1 <country_of_citizenship> ?e . ?e_1 <pred:name> "Thomas Mann" . ?e_1 <educated_at> ?e_2 . ?e_2 <pred:name> "Ludwig Maximilian University of Munich" .   }
Answer: 1