Question: Which visual artwork has a publication date not in 1976 and has the title Hamlet, Prinz von Dänemark?
Choices:
Wichita
Shackleton
The Lost World: Jurassic Park
The Good, the Bad, the Weird
The Music Man
The Opposite of Sex
The Goodbye Girl
Annie Hall
The Three Musketeers
Hamlet
Answer: Hamlet
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "visual artwork" . ?e <publication_date> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1976 ) . ?e <title> ?pv_1 . ?pv_1 <pred:value> "Hamlet, Prinz von Dänemark" .  }
Program:
function: FindAll
function: FilterYear
dependencies: 0
inputs: publication date
1976
!=
function: FilterConcept
dependencies: 1
inputs: visual artwork
function: FindAll
function: FilterStr
dependencies: 3
inputs: title
Hamlet, Prinz von Dänemark
function: FilterConcept
dependencies: 4
inputs: visual artwork
function: And
dependencies: 2
5
function: What
dependencies: 6