Question: How many human settlements have an area that is not equal to 65 acres or a local dialing code of 201?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 2
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "human settlement" .  { ?e <area> ?pv . ?pv <pred:unit> "acre" . ?pv <pred:value> ?v . FILTER ( ?v != "65"^^xsd:double ) .  } UNION { ?e <local_dialing_code> ?pv . ?pv <pred:value> "201" .  } }
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: area
65 acre
!=
function: FilterConcept
dependencies: 1
inputs: human settlement
function: FindAll
function: FilterStr
dependencies: 3
inputs: local dialing code
201
function: FilterConcept
dependencies: 4
inputs: human settlement
function: Or
dependencies: 2
5
function: Count
dependencies: 6