Question: What is the ending date that England (that has military conflicts with Bavaria) is the country of York (whose country is the United Kingdom)?
Choices:
1990-01-01
1958
2000-07-29
1971
1809-03-03
1885
1707-04-30
2011-11-27
1911-01-01
1969-03-28
Answer: 1707-04-30
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "York" . ?e_1 <country> ?e_3 . ?e_3 <pred:name> "United Kingdom" . ?e_2 <pred:name> "England" . ?e_4 <military_conflicts> ?e_2 . ?e_4 <pred:name> "Bavaria" . ?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: United Kingdom
function: Relate
dependencies: 0
inputs: country
backward
function: Find
inputs: York
function: And
dependencies: 1
2
function: Find
inputs: Bavaria
function: Relate
dependencies: 4
inputs: military conflicts
forward
function: Find
inputs: England
function: And
dependencies: 5
6
function: QueryRelationQualifier
dependencies: 3
7
inputs: country
end time