Question: What is the ending date that the War of Spanish Succession includes the participant England, which has military conflicts with the Kingdom of Portugal?
Choices:
1616-04-23
1951-01-01
2010-05-11
2004
1974
1869
1878
1707
1904-05-31
1982-06-14
Program:
function: Find
inputs: War of the Spanish Succession
function: Find
inputs: Kingdom of Portugal
function: Relate
dependencies: 1
inputs: military conflicts
backward
function: Find
inputs: England
function: And
dependencies: 2
3
function: QueryRelationQualifier
dependencies: 0
4
inputs: participant
end time
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "War of the Spanish Succession" . ?e_2 <pred:name> "England" . ?e_2 <military_conflicts> ?e_3 . ?e_3 <pred:name> "Kingdom of Portugal" . ?e_1 <participant> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <participant> ; <pred:fact_t> ?e_2 ] <end_time> ?qpv .  }
Answer: 1707