Question: When was the population 76,220 in the native town of John Byrne, born 1940-01-06?
Choices:
2016-11-12
2017-11-23
1787-01-01
2000-02-06
2007-10-24
1976
1868-01-01
1861
2012
1971-06-22
Answer: 2012
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "town" . ?e_1 <place_of_birth> ?e . ?e_1 <pred:name> "John Byrne" . ?e_1 <date_of_birth> ?pv_1 . ?pv_1 <pred:date> "1940-01-06"^^xsd:date . ?e <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> "76220"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }
Program:
function: Find
inputs: John Byrne
function: FilterDate
dependencies: 0
inputs: date of birth
1940-01-06
=
function: Relate
dependencies: 1
inputs: place of birth
forward
function: FilterConcept
dependencies: 2
inputs: town
function: QueryAttrQualifier
dependencies: 3
inputs: population
76220
point in time