Question: What number of Netherlands municipality contain Amsterdam (the one whose population is 206000)?
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> "municipality of the Netherlands" . ?e_1 <located_in_the_administrative_territorial_entity> ?e . ?e_1 <pred:name> "Amsterdam" . ?e_1 <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> "206000"^^xsd:double .   }
Program:
function: Find
inputs: Amsterdam
function: FilterNum
dependencies: 0
inputs: population
206000
=
function: Relate
dependencies: 1
inputs: located in the administrative territorial entity
forward
function: FilterConcept
dependencies: 2
inputs: municipality of the Netherlands
function: Count
dependencies: 3
Answer: 1