Question: Which visual artwork was shot in Edmonton (the one that is located in Alberta) ?
Choices:
Talk to Her
Capote
The Fifth Element
Training Day
The Edge
Barry Lyndon
Dr. Strangelove
Pleasantville
A Prairie Home Companion
Rebecca
Answer: The Edge
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "visual artwork" . ?e <filming_location> ?e_1 . ?e_1 <pred:name> "Edmonton" . ?e_1 <located_in_the_administrative_territorial_entity> ?e_2 . ?e_2 <pred:name> "Alberta" .   }
Program:
function: Find
inputs: Alberta
function: Relate
dependencies: 0
inputs: located in the administrative territorial entity
backward
function: Find
inputs: Edmonton
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: filming location
backward
function: FilterConcept
dependencies: 4
inputs: visual artwork
function: What
dependencies: 5