Question: What is the official website of the city whose country is Kingdom of Italy (the one that is the country of Ravenna) (the end time of this statement is 1815-06-09)?
Choices:
http://www.slcgov.com/
http://stuy.enschool.org/
https://www.olympic.org/melbourne-stockholm-1956
http://www.saccounty.net
http://www.sb29.bzh
http://iammichelle.com/
http://www.waseda.jp/
https://www.belgium.be
https://www.wien.gv.at/
http://www.comune.bergamo.it
Answer: http://www.comune.bergamo.it
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "city" . ?e <country> ?e_1 . ?e_1 <pred:name> "Kingdom of Italy" . ?e_2 <country> ?e_1 . ?e_2 <pred:name> "Ravenna" .  [ <pred:fact_h> ?e ; <pred:fact_r> <country> ; <pred:fact_t> ?e_1 ] <end_time> ?qpv . ?qpv <pred:date> "1815-06-09"^^xsd:date . ?e <official_website> ?pv .  }
Program:
function: Find
inputs: Ravenna
function: Relate
dependencies: 0
inputs: country
forward
function: Find
inputs: Kingdom of Italy
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: country
backward
function: QFilterDate
dependencies: 4
inputs: end time
1815-06-09
=
function: FilterConcept
dependencies: 5
inputs: city
function: QueryAttr
dependencies: 6
inputs: official website