Question: How many Illinois counties have a population of less than 4500000000 or an area that is over 9700 square kilometers?
Choices:
15
16
17
18
19
20
21
22
23
24
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: population
4500000000
<
function: FilterConcept
dependencies: 1
inputs: county of Illinois
function: FindAll
function: FilterNum
dependencies: 3
inputs: area
9700 square kilometre
>
function: FilterConcept
dependencies: 4
inputs: county of Illinois
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> "county of Illinois" .  { ?e <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> ?v . FILTER ( ?v < "4500000000"^^xsd:double ) .  } UNION { ?e <area> ?pv . ?pv <pred:unit> "square kilometre" . ?pv <pred:value> ?v . FILTER ( ?v > "9700"^^xsd:double ) .  } }
Answer: 18