Question: Naples, Toronto's administrative body twin, was contained by the Province of Naples until which date?
Choices:
1990
1990-06-01
2014-12-31
1936-01-01
2000
1866-10-12
1805-03-04
1814-04-10
1941-06-21
2003-12-27
Answer: 2014-12-31
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Naples" . ?e_1 <twinned_administrative_body> ?e_3 . ?e_3 <pred:name> "Toronto" . ?e_2 <pred:name> "Province of Naples" . ?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: Toronto
function: Relate
dependencies: 0
inputs: twinned administrative body
backward
function: Find
inputs: Naples
function: And
dependencies: 1
2
function: Find
inputs: Province of Naples
function: QueryRelationQualifier
dependencies: 3
4
inputs: located in the administrative territorial entity
end time