Question: Which Italian province contains the administrative division of Rome (the one that is the narrative location of Il Divo) ?
Choices:
Province of Cuneo
Province of Turin
Province of Como
Province of Potenza
Province of Rome
Province of Brescia
South Tyrol
Province of Cagliari
province of Milan
Province of Naples
Program:
function: Find
inputs: Il Divo
function: Relate
dependencies: 0
inputs: narrative location
forward
function: Find
inputs: Rome
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: contains administrative territorial entity
backward
function: FilterConcept
dependencies: 4
inputs: province of Italy
function: What
dependencies: 5
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "province of Italy" . ?e <contains_administrative_territorial_entity> ?e_1 . ?e_1 <pred:name> "Rome" . ?e_2 <narrative_location> ?e_1 . ?e_2 <pred:name> "Il Divo" .   }
Answer: Province of Rome