Question: What is the end date of the Holy Roman Empire, the country of Thuringia (of which Erfurt is part)?
Choices:
1950-05-01
1704
1978-09-27
1940
1945-03-28
1991-06-26
1920-08-10
1806-07-11
1775
1893
Answer: 1806-07-11
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Thuringia" . ?e_3 <part_of> ?e_1 . ?e_3 <pred:name> "Erfurt" . ?e_2 <pred:name> "Holy Roman Empire" . ?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: Erfurt
function: Relate
dependencies: 0
inputs: part of
forward
function: Find
inputs: Thuringia
function: And
dependencies: 1
2
function: Find
inputs: Holy Roman Empire
function: QueryRelationQualifier
dependencies: 3
4
inputs: country
end time