Question: When was the administrative division Province of Turin no longer contained in Piedmont (that shares a border with Canton of Valais)?
Choices:
1913-03-01
1866-10-12
1964-10-24
1991-05-03
1797-10-10
1991-05-13
1944-08-25
1976-03-15
2014-12-31
1976-02-15
Program:
function: Find
inputs: Canton of Valais
function: Relate
dependencies: 0
inputs: shares border with
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
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Piedmont" . ?e_1 <shares_border_with> ?e_3 . ?e_3 <pred:name> "Canton of Valais" . ?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 .  }
Answer: 2014-12-31