Question: Since when is Birmingham, with 1,111,300 inhabitants, located in West Midlands (the one whose NUTS code is UKG3)?
Choices:
1244
1921-05-03
2010-12-24
2006-06-25
1980-12-10
1995-01-17
1993-06-25
2011-03-11
1967-09-22
1974-04-01
Answer: 1974-04-01
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Birmingham" . ?e_1 <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> "1111300"^^xsd:double . ?e_2 <pred:name> "West Midlands" . ?e_2 <NUTS_code> ?pv_1 . ?pv_1 <pred:value> "UKG3" . ?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 ] <start_time> ?qpv .  }
Program:
function: Find
inputs: Birmingham
function: FilterNum
dependencies: 0
inputs: population
1111300
=
function: Find
inputs: West Midlands
function: FilterStr
dependencies: 2
inputs: NUTS code
UKG3
function: QueryRelationQualifier
dependencies: 1
3
inputs: located in the administrative territorial entity
start time