Question: What film titled 21 Grams was not published in 2007?
Choices:
Rebecca
Cowboys & Aliens
Pleasantville
The Phantom of the Opera
The Blues Brothers
A Prairie Home Companion
21 Grams
Limitless
Thirteen Days
Addams Family Values
Answer: 21 Grams
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "film" . ?e <publication_date> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 2007 ) . ?e <title> ?pv_1 . ?pv_1 <pred:value> "21 Grams" .  }
Program:
function: FindAll
function: FilterYear
dependencies: 0
inputs: publication date
2007
!=
function: FilterConcept
dependencies: 1
inputs: film
function: FindAll
function: FilterStr
dependencies: 3
inputs: title
21 Grams
function: FilterConcept
dependencies: 4
inputs: film
function: And
dependencies: 2
5
function: What
dependencies: 6