Question: Which genre is shared by Joseph Heller and the English-language Catch-22?
Choices:
political satire
The Harvard Lampoon
parody
legal drama
post-apocalyptic fiction
satire
soap opera
science fiction
black comedy
costume drama
Program:
function: Find
inputs: Joseph Heller
function: Relate
dependencies: 0
inputs: genre
forward
function: FilterConcept
dependencies: 1
inputs: genre
function: Find
inputs: English
function: Relate
dependencies: 3
inputs: language of work or name
backward
function: Find
inputs: Catch-22
function: And
dependencies: 4
5
function: Relate
dependencies: 6
inputs: genre
forward
function: FilterConcept
dependencies: 7
inputs: genre
function: And
dependencies: 2
8
function: What
dependencies: 9
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "genre" . ?e_1 <genre> ?e . ?e_1 <pred:name> "Joseph Heller" .  ?e_2 <genre> ?e . ?e_2 <pred:name> "Catch-22" . ?e_2 <language_of_work_or_name> ?e_3 . ?e_3 <pred:name> "English" .  }
Answer: black comedy