Question: When did Turin end to be the capital of the Kingdom of Italy (the one that has as citizen Benito Mussolini)?
Choices:
1867-03-29
1971-12-16
1996-06-01
1811-01-01
1865
1990-10-03
1990-05-03
2009-08-23
2099-05-18
2011-09-23
Answer: 1865
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Kingdom of Italy" . ?e_3 <country_of_citizenship> ?e_1 . ?e_3 <pred:name> "Benito Mussolini" . ?e_2 <pred:name> "Turin" . ?e_1 <capital> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <capital> ; <pred:fact_t> ?e_2 ] <end_time> ?qpv .  }
Program:
function: Find
inputs: Benito Mussolini
function: Relate
dependencies: 0
inputs: country of citizenship
forward
function: Find
inputs: Kingdom of Italy
function: And
dependencies: 1
2
function: Find
inputs: Turin
function: QueryRelationQualifier
dependencies: 3
4
inputs: capital
end time