Question: What is the ending date that West Midlands (whose 2011 GSS code is E11000005) is located in England (where the population is 49138831)?
Choices:
2010-06-20
1996-07-24
1994
1916-01-09
1999
2016-01-01
1929-12-16
1521-08-27
1971-10-25
1793-03-04
Answer: 1994
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "West Midlands" . ?e_1 <GSS_code_(2011)> ?pv . ?pv <pred:value> "E11000005" . ?e_2 <pred:name> "England" . ?e_2 <population> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "49138831"^^xsd:double . ?e_1 <located_in_the_administrative_territorial_entity> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <located_in_the_administrative_territorial_entity> ; <pred:fact_t> ?e_2 ] <end_time> ?qpv .  }
Program:
function: Find
inputs: West Midlands
function: FilterStr
dependencies: 0
inputs: GSS code (2011)
E11000005
function: Find
inputs: England
function: FilterNum
dependencies: 2
inputs: population
49138831
=
function: QueryRelationQualifier
dependencies: 1
3
inputs: located in the administrative territorial entity
end time