Question: Was the population of a census-designated place, whose native label is Stanford, under 71,000 on 1st January 2010 ?
Choices: yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
SPARQL: ASK { ?e <pred:instance_of> ?c . ?c <pred:name> "census-designated place" . ?e <native_label> ?pv_1 . ?pv_1 <pred:value> "Stanford" . ?e <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> ?v . FILTER ( ?v < "71000"^^xsd:double ) . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv . ?qpv <pred:date> "2010-01-01"^^xsd:date .  }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: native label
Stanford
function: FilterConcept
dependencies: 1
inputs: census-designated place
function: QueryAttrUnderCondition
dependencies: 2
inputs: population
point in time
2010-01-01
function: VerifyNum
dependencies: 3
inputs: 71000
<
Answer: yes