Question: How many islands located in New Zealand have a population equal to 270000?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 0
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "island" . ?e <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> "270000"^^xsd:double . ?e <located_in_the_administrative_territorial_entity> ?e_1 . ?e_1 <pred:name> "New Zealand" .  }
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: population
270000
=
function: FilterConcept
dependencies: 1
inputs: island
function: Find
inputs: New Zealand
function: Relate
dependencies: 3
inputs: located in the administrative territorial entity
backward
function: FilterConcept
dependencies: 4
inputs: island
function: And
dependencies: 2
5
function: Count
dependencies: 6