Question: When did Birmingham (the birthplace of Steve Winwood) start being located in Birmingham (whose ISO 3166-2 code is GB-BIR)?
Choices:
1974-04-01
1919-11-09
2017-02-02
1956
1998-10-07
1930-05-03
1867-07-29
1975-01-23
1949-03-31
1789-04-30
Answer: 1974-04-01
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Birmingham" . ?e_3 <place_of_birth> ?e_1 . ?e_3 <pred:name> "Steve Winwood" . ?e_2 <pred:name> "Birmingham" . ?e_2 <ISO_3166-2_code> ?pv . ?pv <pred:value> "GB-BIR" . ?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: Steve Winwood
function: Relate
dependencies: 0
inputs: place of birth
forward
function: Find
inputs: Birmingham
function: And
dependencies: 1
2
function: Find
inputs: Birmingham
function: FilterStr
dependencies: 4
inputs: ISO 3166-2 code
GB-BIR
function: QueryRelationQualifier
dependencies: 3
5
inputs: located in the administrative territorial entity
start time