Question: Is the population less than 4200 in 2000 for the census-designated place whose official name is Stanford?
Choices:
yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
Answer: no
SPARQL: ASK { ?e <pred:instance_of> ?c . ?c <pred:name> "census-designated place" . ?e <official_name> ?pv_1 . ?pv_1 <pred:value> "Stanford" . ?e <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> ?v . FILTER ( ?v < "4200"^^xsd:double ) . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv . ?qpv <pred:year> 2000 .  }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: official name
Stanford
function: FilterConcept
dependencies: 1
inputs: census-designated place
function: QueryAttrUnderCondition
dependencies: 2
inputs: population
point in time
2000
function: VerifyNum
dependencies: 3
inputs: 4200
<