Question: Zodiac, released in 1986, inspired which movie released prior to 2009?
Choices:
Rebecca
Shattered Glass
Colorado
Zodiac
Training Day
The Phantom of the Opera
Pleasantville
Gosford Park
The Fifth Element
Talk to Her
Answer: Zodiac
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "film" . ?e <publication_date> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 2009 ) . ?e <based_on> ?e_1 . ?e_1 <pred:name> "Zodiac" . ?e_1 <publication_date> ?pv_1 . ?pv_1 <pred:year> 1986 .  }
Program:
function: FindAll
function: FilterYear
dependencies: 0
inputs: publication date
2009
<
function: FilterConcept
dependencies: 1
inputs: film
function: Find
inputs: Zodiac
function: FilterYear
dependencies: 3
inputs: publication date
1986
=
function: Relate
dependencies: 4
inputs: based on
backward
function: FilterConcept
dependencies: 5
inputs: film
function: And
dependencies: 2
6
function: What
dependencies: 7