Question: What is the genre of Oz that ended in 1969 and is the same genre of The Daily Show?
Choices:
costume drama
political drama
science fiction
post-apocalyptic fiction
parody
legal drama
black comedy
picture book
soap opera
political satire
Answer: political satire
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "genre" . ?e_1 <genre> ?e . ?e_1 <pred:name> "Oz" . ?e_1 <end_time> ?pv . ?pv <pred:year> 1969 .  ?e_2 <genre> ?e . ?e_2 <pred:name> "The Daily Show" .  }
Program:
function: Find
inputs: Oz
function: FilterYear
dependencies: 0
inputs: end time
1969
=
function: Relate
dependencies: 1
inputs: genre
forward
function: FilterConcept
dependencies: 2
inputs: genre
function: Find
inputs: The Daily Show
function: Relate
dependencies: 4
inputs: genre
forward
function: FilterConcept
dependencies: 5
inputs: genre
function: And
dependencies: 3
6
function: What
dependencies: 7