Question: Did the capital with the native label Santiago de Chile have fewer than 420,000,000 inhabitants in 2017?
Choices:
yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
Answer: yes
SPARQL: ASK { ?e <pred:instance_of> ?c . ?c <pred:name> "capital" . ?e <native_label> ?pv_1 . ?pv_1 <pred:value> "Santiago de Chile" . ?e <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> ?v . FILTER ( ?v < "420000000"^^xsd:double ) . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv . ?qpv <pred:year> 2017 .  }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: native label
Santiago de Chile
function: FilterConcept
dependencies: 1
inputs: capital
function: QueryAttrUnderCondition
dependencies: 2
inputs: population
point in time
2017
function: VerifyNum
dependencies: 3
inputs: 420000000
<