Question: Which Italian province with the website www.provincia.tn.it borders the Province of Brescia?
Choices:
Province of Naples
province of Milan
Province of Cuneo
Province of Como
Province of Salerno
Province of Cagliari
Province of Potenza
Province of Turin
Trentino
Province of Palermo
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: official website
http://www.provincia.tn.it/
function: FilterConcept
dependencies: 1
inputs: province of Italy
function: Find
inputs: Province of Brescia
function: Relate
dependencies: 3
inputs: shares border with
forward
function: FilterConcept
dependencies: 4
inputs: province of Italy
function: And
dependencies: 2
5
function: What
dependencies: 6
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "province of Italy" . ?e <official_website> ?pv . ?pv <pred:value> "http://www.provincia.tn.it/" . ?e_1 <shares_border_with> ?e . ?e_1 <pred:name> "Province of Brescia" .  }
Answer: Trentino