Question: When did the island with over 18,000 male inhabitants have a female population of 37,208?
Choices:
1675
1950-01-01
2010-02-01
1656-01-01
2009-06-01
1890
1990-06-03
1897-01-01
1500
2008-12-17
Answer: 1890
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "island" . ?e <male_population> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 > "18000"^^xsd:double ) . ?e <female_population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> "37208"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <female_population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: male population
18000
>
function: FilterConcept
dependencies: 1
inputs: island
function: QueryAttrQualifier
dependencies: 2
inputs: female population
37208
point in time