Question: Is the postal code of a human settlement, whose female population counted over 8,200 on 1st January 2011, 88001?
Choices:
yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
Answer: no
SPARQL: ASK { ?e <pred:instance_of> ?c . ?c <pred:name> "human settlement" . ?e <female_population> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 > "8200"^^xsd:double ) . [ <pred:fact_h> ?e ; <pred:fact_r> <female_population> ; <pred:fact_t> ?pv_1 ] <point_in_time> ?qpv . ?qpv <pred:date> "2011-01-01"^^xsd:date . ?e <postal_code> ?pv . ?pv <pred:value> "88001" .  }
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: female population
8200
>
function: QFilterDate
dependencies: 1
inputs: point in time
2011-01-01
=
function: FilterConcept
dependencies: 2
inputs: human settlement
function: QueryAttr
dependencies: 3
inputs: postal code
function: VerifyStr
dependencies: 4
inputs: 88001