Question: What is the connection between The Shawshank Redemption to Mansfield (the one that is the filming location of The Shawshank Redemption)?
Choices:
tributary
art director
vehicle normally used
affiliation
newspaper format
heritage designation
head of government
works in collection
inspired by
filming location
Answer: filming location
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "The Shawshank Redemption" . ?e_2 <pred:name> "Mansfield" . ?e_3 <filming_location> ?e_2 . ?e_3 <pred:name> "The Shawshank Redemption" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: The Shawshank Redemption
function: Find
inputs: The Shawshank Redemption
function: Relate
dependencies: 1
inputs: filming location
forward
function: Find
inputs: Mansfield
function: And
dependencies: 2
3
function: QueryRelation
dependencies: 0
4