Question: How many New York cities occupy other than 2300000 square feet or have a population other than 7000000?
Choices:
9
10
11
12
13
14
15
16
17
18
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: area
2300000 square foot
!=
function: FilterConcept
dependencies: 1
inputs: city of New York
function: FindAll
function: FilterNum
dependencies: 3
inputs: population
7000000
!=
function: FilterConcept
dependencies: 4
inputs: city of New York
function: Or
dependencies: 2
5
function: Count
dependencies: 6
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "city of New York" .  { ?e <area> ?pv . ?pv <pred:unit> "square foot" . ?pv <pred:value> ?v . FILTER ( ?v != "2300000"^^xsd:double ) .  } UNION { ?e <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> ?v . FILTER ( ?v != "7000000"^^xsd:double ) .  } }
Answer: 14