Question: Since when is Liverpool (the one that is the birthplace of John Lennon) located in Liverpool (the one whose GSS code (2011) is E08000012)?
Choices:
1916
1867-07-29
1974-04-01
2008-09-27
2001-09-09
1910-08-29
2011-09-14
1964-05-10
1987-02-20
1861-04-12
Answer: 1974-04-01
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Liverpool" . ?e_3 <place_of_birth> ?e_1 . ?e_3 <pred:name> "John Lennon" . ?e_2 <pred:name> "Liverpool" . ?e_2 <GSS_code_(2011)> ?pv . ?pv <pred:value> "E08000012" . ?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: John Lennon
function: Relate
dependencies: 0
inputs: place of birth
forward
function: Find
inputs: Liverpool
function: And
dependencies: 1
2
function: Find
inputs: Liverpool
function: FilterStr
dependencies: 4
inputs: GSS code (2011)
E08000012
function: QueryRelationQualifier
dependencies: 3
5
inputs: located in the administrative territorial entity
start time