Question: How many Arizona counties, that share a border with the county of Arizona, have a population equal to 107232 (the determination method of this statement is estimation process)?
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 Arizona" . ?e_1 <shares_border_with> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "county of Arizona" . ?e_1 <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> "107232"^^xsd:double . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <determination_method> ?qpv . ?qpv <pred:value> "estimation process" .   }
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: population
107232
=
function: QFilterStr
dependencies: 1
inputs: determination method
estimation process
function: FilterConcept
dependencies: 2
inputs: county of Arizona
function: Relate
dependencies: 3
inputs: shares border with
forward
function: FilterConcept
dependencies: 4
inputs: county of Arizona
function: Count
dependencies: 5