Question: Until when was the Province of Turin's country the Kingdom of Italy, which borders Austria-Hungary?
Choices: 1990-10-17
1946-06-18
2015-03-20
1945-07-26
2016-06-02
1989-04-12
2012-01-01
2000-01-01
1874
1865-05-09
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Province of Turin" . ?e_2 <pred:name> "Kingdom of Italy" . ?e_2 <shares_border_with> ?e_3 . ?e_3 <pred:name> "Austria-Hungary" . ?e_1 <country> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <country> ; <pred:fact_t> ?e_2 ] <end_time> ?qpv .  }
Program:
function: Find
inputs: Province of Turin
function: Find
inputs: Austria-Hungary
function: Relate
dependencies: 1
inputs: shares border with
backward
function: Find
inputs: Kingdom of Italy
function: And
dependencies: 2
3
function: QueryRelationQualifier
dependencies: 0
4
inputs: country
end time
Answer: 1946-06-18