Question: What is the number of provinces in the Netherlands having an area that is not 200 acres and sharing a border with North Holland?
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> "province of the Netherlands" . ?e <area> ?pv . ?pv <pred:unit> "acre" . ?pv <pred:value> ?v . FILTER ( ?v != "200"^^xsd:double ) . ?e_1 <shares_border_with> ?e . ?e_1 <pred:name> "North Holland" .  }
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: area
200 acre
!=
function: FilterConcept
dependencies: 1
inputs: province of the Netherlands
function: Find
inputs: North Holland
function: Relate
dependencies: 3
inputs: shares border with
forward
function: FilterConcept
dependencies: 4
inputs: province of the Netherlands
function: And
dependencies: 2
5
function: Count
dependencies: 6