Question: How many Netherlands municipalities are an administrative division of the Netherlands province whose detail map is Prov-Zuid-Holland-OpenTopo.jpg?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 4
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "municipality of the Netherlands" . ?e_1 <contains_administrative_territorial_entity> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "province of the Netherlands" . ?e_1 <detail_map> ?pv . ?pv <pred:value> "Prov-Zuid-Holland-OpenTopo.jpg" .   }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: detail map
Prov-Zuid-Holland-OpenTopo.jpg
function: FilterConcept
dependencies: 1
inputs: province of the Netherlands
function: Relate
dependencies: 2
inputs: contains administrative territorial entity
forward
function: FilterConcept
dependencies: 3
inputs: municipality of the Netherlands
function: Count
dependencies: 4