Question: Until when did Poland share a border with Romania  (the one that shared a border with Socialist Federal Republic of Yugoslavia)?
Choices: 1953
1917-11-10
1995
1807
1945-05-04
1651-09-03
-27
1939
1728
1972-01-01
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Poland" . ?e_2 <pred:name> "Romania" . ?e_2 <shares_border_with> ?e_3 . ?e_3 <pred:name> "Socialist Federal Republic of Yugoslavia" . ?e_1 <shares_border_with> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <shares_border_with> ; <pred:fact_t> ?e_2 ] <end_time> ?qpv .  }
Program:
function: Find
inputs: Poland
function: Find
inputs: Socialist Federal Republic of Yugoslavia
function: Relate
dependencies: 1
inputs: shares border with
backward
function: Find
inputs: Romania
function: And
dependencies: 2
3
function: QueryRelationQualifier
dependencies: 0
4
inputs: shares border with
end time
Answer: 1939