Question: What is the ending date that Piedmont, whose capital is Turin, comprises the administrative division Province of Turin?
Choices: 1945-05-04
1933-01-01
1940-05-19
1912-10-26
2014-12-31
2007-12-16
2017-03-31
1989-04-12
1912-01-01
1987-01-01
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Piedmont" . ?e_1 <capital> ?e_3 . ?e_3 <pred:name> "Turin" . ?e_2 <pred:name> "Province of Turin" . ?e_1 <contains_administrative_territorial_entity> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <contains_administrative_territorial_entity> ; <pred:fact_t> ?e_2 ] <end_time> ?qpv .  }
Program:
function: Find
inputs: Turin
function: Relate
dependencies: 0
inputs: capital
backward
function: Find
inputs: Piedmont
function: And
dependencies: 1
2
function: Find
inputs: Province of Turin
function: QueryRelationQualifier
dependencies: 3
4
inputs: contains administrative territorial entity
end time
Answer: 2014-12-31