Question: Does the Massachusetts county containing Brookline have a population over 200, as determined by census?
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 > "200"^^xsd:double ) . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <determination_method> ?qpv . ?qpv <pred:value> "census" .  }
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
determination method
census
function: VerifyNum
dependencies: 3
inputs: 200
>