Question: Does the historical country of The Hague—which originated in 1526—have a population under 270000000?
Choices: yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
SPARQL: ASK { ?e <pred:instance_of> ?c . ?c <pred:name> "historical country" . ?e_1 <country> ?e . ?e_1 <pred:name> "The Hague" .  [ <pred:fact_h> ?e_1 ; <pred:fact_r> <country> ; <pred:fact_t> ?e ] <start_time> ?qpv . ?qpv <pred:year> 1526 . ?e <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> ?v . FILTER ( ?v < "270000000"^^xsd:double ) .  }
Program:
function: Find
inputs: The Hague
function: Relate
dependencies: 0
inputs: country
forward
function: QFilterYear
dependencies: 1
inputs: start time
1526
=
function: FilterConcept
dependencies: 2
inputs: historical country
function: QueryAttr
dependencies: 3
inputs: population
function: VerifyNum
dependencies: 4
inputs: 270000000
<
Answer: yes