Question: When did the independent city of Germany whose short name is Fr (the class of this statement is location identifier part of a library identifier code) have a population of 58018?
Choices:
2013-12-31
1905-01-01
1957-01-01
2016-08-11
1874
2005-07-20
2015-04-30
2011-09-01
2003-01-01
1944-10-21
Answer: 2013-12-31
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "independent city of Germany" . ?e <short_name> ?pv_1 . ?pv_1 <pred:value> "Fr" . [ <pred:fact_h> ?e ; <pred:fact_r> <short_name> ; <pred:fact_t> ?pv_1 ] <instance_of> ?qpv_1 . ?qpv_1 <pred:value> "location identifier part of a library identifier code" . ?e <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> "58018"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: short name
Fr
function: QFilterStr
dependencies: 1
inputs: instance of
location identifier part of a library identifier code
function: FilterConcept
dependencies: 2
inputs: independent city of Germany
function: QueryAttrQualifier
dependencies: 3
inputs: population
58018
point in time