Question: Who has an occupation of writer and date of death of 1997-08-02?
Choices:
Charles de Gaulle
Rob Reiner
Max Fleischer
William S. Burroughs
Hugh Laurie
Paul Mazursky
Sylvester Stallone
Robert Shaw
Richard Gere
Rod Serling
Program:
function: Find
inputs: writer
function: Relate
dependencies: 0
inputs: occupation
backward
function: FilterConcept
dependencies: 1
inputs: human
function: FindAll
function: FilterDate
dependencies: 3
inputs: date of death
1997-08-02
=
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 <occupation> ?e_1 . ?e_1 <pred:name> "writer" .  ?e <date_of_death> ?pv . ?pv <pred:date> "1997-08-02"^^xsd:date .  }
Answer: William S. Burroughs