Question: Joey Fatone is a cast member of which movie released pre-2012?
Choices:
Howards End
Rebecca
A Prairie Home Companion
Virginia
The Sand Pebbles
Talk to Her
The Three Musketeers
My Big Fat Greek Wedding
Pleasantville
Charlie Wilson's War
Answer: My Big Fat Greek Wedding
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "film" . ?e <publication_date> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 2012 ) . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Joey Fatone" .  }
Program:
function: FindAll
function: FilterYear
dependencies: 0
inputs: publication date
2012
<
function: FilterConcept
dependencies: 1
inputs: film
function: Find
inputs: Joey Fatone
function: Relate
dependencies: 3
inputs: cast member
backward
function: FilterConcept
dependencies: 4
inputs: film
function: And
dependencies: 2
5
function: What
dependencies: 6