Question: Which written work titled Diamonds Are Forever was not released in 2003?
Choices:
The Lord of the Rings
A Single Man
Diamonds Are Forever
The Cat in the Hat
High Fidelity
Contact
A Clockwork Orange
The Painted Veil
Live and Let Die
The Fall
Answer: Diamonds Are Forever
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "written work" . ?e <publication_date> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 2003 ) . ?e <title> ?pv_1 . ?pv_1 <pred:value> "Diamonds Are Forever" .  }
Program:
function: FindAll
function: FilterYear
dependencies: 0
inputs: publication date
2003
!=
function: FilterConcept
dependencies: 1
inputs: written work
function: FindAll
function: FilterStr
dependencies: 3
inputs: title
Diamonds Are Forever
function: FilterConcept
dependencies: 4
inputs: written work
function: And
dependencies: 2
5
function: What
dependencies: 6