Question: Until when was Transylvania (the one that has military conflicts with Electorate of Saxony) a part of Habsburg Monarchy?
Choices:
2008-11-21
2017-10-05
1804
2008-09-07
1867-01-01
1865-04-26
1928-08-12
2016-01-03
1990-10-03
1984-08-12
Answer: 1804
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Transylvania" . ?e_1 <military_conflicts> ?e_3 . ?e_3 <pred:name> "Electorate of Saxony" . ?e_2 <pred:name> "Habsburg Monarchy" . ?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: Electorate of Saxony
function: Relate
dependencies: 0
inputs: military conflicts
backward
function: Find
inputs: Transylvania
function: And
dependencies: 1
2
function: Find
inputs: Habsburg Monarchy
function: QueryRelationQualifier
dependencies: 3
4
inputs: country
end time