Question: Does the California county, postal code 95762, have more than 98000 (the determination method is demographic balance) residents?
Choices:
yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
Answer: yes
SPARQL: ASK { ?e <pred:instance_of> ?c . ?c <pred:name> "county of California" . ?e <postal_code> ?pv_1 . ?pv_1 <pred:value> "95762" . ?e <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> ?v . FILTER ( ?v > "98000"^^xsd:double ) . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <determination_method> ?qpv . ?qpv <pred:value> "demographic balance" .  }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: postal code
95762
function: FilterConcept
dependencies: 1
inputs: county of California
function: QueryAttrUnderCondition
dependencies: 2
inputs: population
determination method
demographic balance
function: VerifyNum
dependencies: 3
inputs: 98000
>