Question: Until when was Lisbon (the one that is the twinned administrative body of Rabat) in the Kingdom of Portugal?
Choices:
2010-05-16
2001-09-01
2005-05-13
2003-12-25
1809-09-05
1939
2018-03-21
1983-05-27
1957
1910-10-05
Program:
function: Find
inputs: Rabat
function: Relate
dependencies: 0
inputs: twinned administrative body
backward
function: Find
inputs: Lisbon
function: And
dependencies: 1
2
function: Find
inputs: Kingdom of Portugal
function: QueryRelationQualifier
dependencies: 3
4
inputs: country
end time
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Lisbon" . ?e_1 <twinned_administrative_body> ?e_3 . ?e_3 <pred:name> "Rabat" . ?e_2 <pred:name> "Kingdom of Portugal" . ?e_1 <country> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <country> ; <pred:fact_t> ?e_2 ] <end_time> ?qpv .  }
Answer: 1910-10-05