Question: How is Cher who was nominated for a Primetime Emmy Award for Outstanding Writing for a Variety, Music or Comedy Program related to variety?
Choices: cause of death
lyrics by
mascot
board member
genre
fabrication method
home world
notable work
drafted by
sport
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Cher" . ?e_1 <nominated_for> ?e_3 . ?e_3 <pred:name> "Primetime Emmy Award for Outstanding Writing for a Variety, Music or Comedy Program" . ?e_2 <pred:name> "variety" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Primetime Emmy Award for Outstanding Writing for a Variety, Music or Comedy Program
function: Relate
dependencies: 0
inputs: nominated for
backward
function: Find
inputs: Cher
function: And
dependencies: 1
2
function: Find
inputs: variety
function: QueryRelation
dependencies: 3
4
Answer: genre