Question: How many big cities are in the country of the Weimar Republic?
Choices:
14
15
16
17
18
19
20
21
22
23
Answer: 17
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "big city" . ?e <country> ?e_1 . ?e_1 <pred:name> "Weimar Republic" .   }
Program:
function: Find
inputs: Weimar Republic
function: Relate
dependencies: 0
inputs: country
backward
function: FilterConcept
dependencies: 1
inputs: big city
function: Count
dependencies: 2