Question: Germany includes how many German states?
Choices:
10
11
12
13
14
15
16
17
18
19
Answer: 12
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "state of Germany" . ?e <country> ?e_1 . ?e_1 <pred:name> "Germany" .   }
Program:
function: Find
inputs: Germany
function: Relate
dependencies: 0
inputs: country
backward
function: FilterConcept
dependencies: 1
inputs: state of Germany
function: Count
dependencies: 2