Question: Padua's country is Kingdom of Italy (the one that is the country of Brescia), tell me the end time.
Choices:
1948-01-01
1952-08-03
2014-06-01
2017-03-31
1924-06-03
2013-03-31
1815-06-08
1991-02-28
1860-03-23
1830-10-04
Program:
function: Find
inputs: Padua
function: Find
inputs: Brescia
function: Relate
dependencies: 1
inputs: country
forward
function: Find
inputs: Kingdom of Italy
function: And
dependencies: 2
3
function: QueryRelationQualifier
dependencies: 0
4
inputs: country
end time
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Padua" . ?e_2 <pred:name> "Kingdom of Italy" . ?e_3 <country> ?e_2 . ?e_3 <pred:name> "Brescia" . ?e_1 <country> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <country> ; <pred:fact_t> ?e_2 ] <end_time> ?qpv .  }
Answer: 1815-06-08