Question: The Venice with postal codes 30121–30176) belonged to the country the Republic of Venice until which date?
Choices:
2017-06-01
1954-08-20
2003-06-22
1976-02-15
1801-01-01
1797-05-11
1815-02-18
1971-10-25
1957-01-14
1975-04-30
Program:
function: Find
inputs: Venice
function: FilterStr
dependencies: 0
inputs: postal code
30121–30176
function: Find
inputs: Republic of Venice
function: QueryRelationQualifier
dependencies: 1
2
inputs: country
end time
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Venice" . ?e_1 <postal_code> ?pv . ?pv <pred:value> "30121–30176" . ?e_2 <pred:name> "Republic of Venice" . ?e_1 <country> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <country> ; <pred:fact_t> ?e_2 ] <end_time> ?qpv .  }
Answer: 1797-05-11