Question: How many states of Germany are where the person known by the pseudonym of Franz Walsch live?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 1
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "state of Germany" . ?e_1 <residence> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "human" . ?e_1 <pseudonym> ?pv . ?pv <pred:value> "Franz Walsch" .   }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: pseudonym
Franz Walsch
function: FilterConcept
dependencies: 1
inputs: human
function: Relate
dependencies: 2
inputs: residence
forward
function: FilterConcept
dependencies: 3
inputs: state of Germany
function: Count
dependencies: 4