Question: What is the number of independent cities in Germany that have the official name of Weimar.
Choices: 0
1
2
3
4
5
6
7
8
9
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "independent city of Germany" . ?e <official_name> ?pv . ?pv <pred:value> "Weimar" .  }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: official name
Weimar
function: FilterConcept
dependencies: 1
inputs: independent city of Germany
function: Count
dependencies: 2
Answer: 1