Question: Does the historical country, with a population less than 6100000 (the point in time of this statement is 1910), have a number of households less than 9000000?
Choices:
yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
Answer: yes
SPARQL: ASK { ?e <pred:instance_of> ?c . ?c <pred:name> "historical country" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 < "6100000"^^xsd:double ) . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv_1 ] <point_in_time> ?qpv . ?qpv <pred:year> 1910 . ?e <number_of_households> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> ?v . FILTER ( ?v < "9000000"^^xsd:double ) .  }
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: population
6100000
<
function: QFilterYear
dependencies: 1
inputs: point in time
1910
=
function: FilterConcept
dependencies: 2
inputs: historical country
function: QueryAttr
dependencies: 3
inputs: number of households
function: VerifyNum
dependencies: 4
inputs: 9000000
<