Question: When did a city in Holy Roman Empire, in 962, reach the population of 98,499?
Choices:
1890-12-01
1829-01-01
2013
2009-07-01
2007-09-01
1688
1955-09-24
1972-01-01
2008-07-02
1974
Answer: 1974
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "city" . ?e <country> ?e_1 . ?e_1 <pred:name> "Holy Roman Empire" . [ <pred:fact_h> ?e ; <pred:fact_r> <country> ; <pred:fact_t> ?e_1 ] <start_time> ?qpv_1 . ?qpv_1 <pred:year> 962 . ?e <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> "98499"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }
Program:
function: Find
inputs: Holy Roman Empire
function: Relate
dependencies: 0
inputs: country
backward
function: QFilterYear
dependencies: 1
inputs: start time
962
=
function: FilterConcept
dependencies: 2
inputs: city
function: QueryAttrQualifier
dependencies: 3
inputs: population
98499
point in time