Question: How many Illinois counties that border DeKalb County whose population is 105160 or whose area is not equal to 70 acres?
Choices:
0
1
2
3
4
5
6
7
8
9
Program:
function: Find
inputs: DeKalb County
function: FilterNum
dependencies: 0
inputs: population
105160
=
function: Relate
dependencies: 1
inputs: shares border with
backward
function: FilterConcept
dependencies: 2
inputs: county of Illinois
function: FindAll
function: FilterNum
dependencies: 4
inputs: area
70 acre
!=
function: FilterConcept
dependencies: 5
inputs: county of Illinois
function: Or
dependencies: 3
6
function: Count
dependencies: 7
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "county of Illinois" .  { ?e <shares_border_with> ?e_1 . ?e_1 <pred:name> "DeKalb County" . ?e_1 <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> "105160"^^xsd:double .  } UNION { ?e <area> ?pv . ?pv <pred:unit> "acre" . ?pv <pred:value> ?v . FILTER ( ?v != "70"^^xsd:double ) .  } }
Answer: 2