Question: What city's male population is 3406 on the date 2016-08-09 and postal code is 2650?
Choices:
Dundee
Wagga Wagga
Cairo
Kingston
Kilkenny
Trieste
Chihuahua
Cork
Abidjan
Santo Domingo
Answer: Wagga Wagga
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "city" . ?e <male_population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> "3406"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <male_population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv . ?qpv <pred:date> "2016-08-09"^^xsd:date . ?e <postal_code> ?pv_1 . ?pv_1 <pred:value> "2650" .  }
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: male population
3406
=
function: QFilterDate
dependencies: 1
inputs: point in time
2016-08-09
=
function: FilterConcept
dependencies: 2
inputs: city
function: FindAll
function: FilterStr
dependencies: 4
inputs: postal code
2650
function: FilterConcept
dependencies: 5
inputs: city
function: And
dependencies: 3
6
function: What
dependencies: 7