Question: Who is the person that did not die in 1996 and whose pseudonym is Sammy Cahn?
Choices:
William Henry Harrison
Sammy Cahn
David Bowie
Sylvester Stallone
Henrik Ibsen
Max Fleischer
Richard Gere
Alfred Hitchcock
John Davis
Max Weber
Program:
function: FindAll
function: FilterYear
dependencies: 0
inputs: date of death
1996
!=
function: FilterConcept
dependencies: 1
inputs: human
function: FindAll
function: FilterStr
dependencies: 3
inputs: pseudonym
Sammy Cahn
function: FilterConcept
dependencies: 4
inputs: human
function: And
dependencies: 2
5
function: What
dependencies: 6
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "human" . ?e <date_of_death> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1996 ) . ?e <pseudonym> ?pv_1 . ?pv_1 <pred:value> "Sammy Cahn" .  }
Answer: Sammy Cahn