Question: Did the Massachusetts county containing Brookline have a population below 5000000 on 2012-07-01?
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 Massachusetts" . ?e_1 <located_in_the_administrative_territorial_entity> ?e . ?e_1 <pred:name> "Brookline" .  ?e <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> ?v . FILTER ( ?v < "5000000"^^xsd:double ) . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv . ?qpv <pred:date> "2012-07-01"^^xsd:date .  }
Program:
function: Find
inputs: Brookline
function: Relate
dependencies: 0
inputs: located in the administrative territorial entity
forward
function: FilterConcept
dependencies: 1
inputs: county of Massachusetts
function: QueryAttrUnderCondition
dependencies: 2
inputs: population
point in time
2012-07-01
function: VerifyNum
dependencies: 3
inputs: 5000000
<