Question: How many county of Maryland lie in the elevation (above sea level) different from 3,400 m and there are 2,700,000,000 inhabitants living there ?
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> "county of Maryland" . ?e <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> "2700000000"^^xsd:double . ?e <elevation_above_sea_level> ?pv_1 . ?pv_1 <pred:unit> "metre" . ?pv_1 <pred:value> ?v . FILTER ( ?v != "3400"^^xsd:double ) .  }
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: population
2700000000
=
function: FilterConcept
dependencies: 1
inputs: county of Maryland
function: FindAll
function: FilterNum
dependencies: 3
inputs: elevation above sea level
3400 metre
!=
function: FilterConcept
dependencies: 4
inputs: county of Maryland
function: And
dependencies: 2
5
function: Count
dependencies: 6