Question: Which movie features Keith Richards (the one whose work period (start) is 1960) in the cast?
Choices:
The Haunting
Shine a Light
Pirates of the Caribbean: At World's End
Pirates of the Caribbean: On Stranger Tides
The Good Shepherd
August
Rebecca
RoboCop
2012
A Prairie Home Companion
Answer: Shine a Light
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "film" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Keith Richards" . ?e_1 <work_period_(start)> ?pv . ?pv <pred:year> 1960 .   }
Program:
function: Find
inputs: Keith Richards
function: FilterYear
dependencies: 0
inputs: work period (start)
1960
=
function: Relate
dependencies: 1
inputs: cast member
backward
function: FilterConcept
dependencies: 2
inputs: film
function: What
dependencies: 3