Question: The Illinois county with 268,486 in population on 2011-07-01) has a common border with how many other Illinois counties?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 3
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:instance_of> ?c_1 . ?c_1 <pred:name> "county of Illinois" . ?e_1 <population> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "268486"^^xsd:double . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <population> ; <pred:fact_t> ?pv_1 ] <point_in_time> ?qpv . ?qpv <pred:date> "2011-07-01"^^xsd:date .   }
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: population
268486
=
function: QFilterDate
dependencies: 1
inputs: point in time
2011-07-01
=
function: FilterConcept
dependencies: 2
inputs: county of Illinois
function: Relate
dependencies: 3
inputs: shares border with
backward
function: FilterConcept
dependencies: 4
inputs: county of Illinois
function: Count
dependencies: 5