Question: Is the population of the administrative territorial entity whose capital is Beaufort less than 40000000 (determined by the demographic balance method)?
Choices: yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
SPARQL: ASK { ?e <pred:instance_of> ?c . ?c <pred:name> "administrative territorial entity" . ?e <capital> ?e_1 . ?e_1 <pred:name> "Beaufort" .  ?e <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> ?v . FILTER ( ?v < "40000000"^^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: Beaufort
function: Relate
dependencies: 0
inputs: capital
backward
function: FilterConcept
dependencies: 1
inputs: administrative territorial entity
function: QueryAttrUnderCondition
dependencies: 2
inputs: population
determination method
demographic balance
function: VerifyNum
dependencies: 3
inputs: 40000000
<
Answer: yes