Question: Was the population of a city, where Ben Johnson (the one whose Munzinger IBA is 01000001701) lives, higher than 8,300 in 2016 ?
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_1 <residence> ?e . ?e_1 <pred:name> "Ben Johnson" . ?e_1 <Munzinger_IBA> ?pv_1 . ?pv_1 <pred:value> "01000001701" . ?e <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> ?v . FILTER ( ?v > "8300"^^xsd:double ) . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv . ?qpv <pred:year> 2016 .  }
Program:
function: Find
inputs: Ben Johnson
function: FilterStr
dependencies: 0
inputs: Munzinger IBA
01000001701
function: Relate
dependencies: 1
inputs: residence
forward
function: FilterConcept
dependencies: 2
inputs: city
function: QueryAttrUnderCondition
dependencies: 3
inputs: population
point in time
2016
function: VerifyNum
dependencies: 4
inputs: 8300
>