Question: Does the city with millions of inhabitants, whose population is equal to 9305000, (the point in time of this statement is 2016), have a postal code equal to 500001?
Choices: yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
SPARQL: ASK { ?e <pred:instance_of> ?c . ?c <pred:name> "city with millions of inhabitants" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "9305000"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv_1 ] <point_in_time> ?qpv . ?qpv <pred:year> 2016 . ?e <postal_code> ?pv . ?pv <pred:value> "500001" .  }
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: population
9305000
=
function: QFilterYear
dependencies: 1
inputs: point in time
2016
=
function: FilterConcept
dependencies: 2
inputs: city with millions of inhabitants
function: QueryAttr
dependencies: 3
inputs: postal code
function: VerifyStr
dependencies: 4
inputs: 500001
Answer: yes