Question: Was the population of a city, whose official name is راولپنڈی, under 270 million in 1998 ?
Choices:
yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
Answer: yes
SPARQL: ASK { ?e <pred:instance_of> ?c . ?c <pred:name> "city" . ?e <official_name> ?pv_1 . ?pv_1 <pred:value> "راولپنڈی" . ?e <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> ?v . FILTER ( ?v < "270000000"^^xsd:double ) . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv . ?qpv <pred:year> 1998 .  }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: official name
راولپنڈی
function: FilterConcept
dependencies: 1
inputs: city
function: QueryAttrUnderCondition
dependencies: 2
inputs: population
point in time
1998
function: VerifyNum
dependencies: 3
inputs: 270000000
<