Question: For the country that is the Austrian Empire (the start time of this statement is 1815) and that is the filming location of April (the one that origins from Italy, what is the name of the city?
Choices:
Venice
Kilkenny
Santo Domingo
Trieste
Kingston
Milan
Abidjan
Bergamo
Chihuahua
Cork
Answer: Venice
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "city" . ?e <country> ?e_1 . ?e_1 <pred:name> "Austrian Empire" .  [ <pred:fact_h> ?e ; <pred:fact_r> <country> ; <pred:fact_t> ?e_1 ] <start_time> ?qpv . ?qpv <pred:year> 1815 . ?e_2 <filming_location> ?e . ?e_2 <pred:name> "April" . ?e_2 <country_of_origin> ?e_3 . ?e_3 <pred:name> "Italy" .  }
Program:
function: Find
inputs: Austrian Empire
function: Relate
dependencies: 0
inputs: country
backward
function: QFilterYear
dependencies: 1
inputs: start time
1815
=
function: FilterConcept
dependencies: 2
inputs: city
function: Find
inputs: Italy
function: Relate
dependencies: 4
inputs: country of origin
backward
function: Find
inputs: April
function: And
dependencies: 5
6
function: Relate
dependencies: 7
inputs: filming location
forward
function: FilterConcept
dependencies: 8
inputs: city
function: And
dependencies: 3
9
function: What
dependencies: 10