Question: Is the population of a county of California containing Coronado (the one whose elevation (above sea level) is 5 metre), determined using demographic balance,  7 million people ?
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_1 <located_in_the_administrative_territorial_entity> ?e . ?e_1 <pred:name> "Coronado" . ?e_1 <elevation_above_sea_level> ?pv_1 . ?pv_1 <pred:unit> "metre" . ?pv_1 <pred:value> "5"^^xsd:double . ?e <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> ?v . FILTER ( ?v != "7000000"^^xsd:double ) . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <determination_method> ?qpv . ?qpv <pred:value> "demographic balance" .  }
Program:
function: Find
inputs: Coronado
function: FilterNum
dependencies: 0
inputs: elevation above sea level
5 metre
=
function: Relate
dependencies: 1
inputs: located in the administrative territorial entity
forward
function: FilterConcept
dependencies: 2
inputs: county of California
function: QueryAttrUnderCondition
dependencies: 3
inputs: population
determination method
demographic balance
function: VerifyNum
dependencies: 4
inputs: 7000000
!=