Question: What is the name of the character role of Michael Richards in Seinfeld has  (the one that has the occupation of film producer) as a cast member?
Choices: Norman Bates
Edward Cullen
Tina Modotti
Vernita Yvonne Green
Elastigirl
Cosmo Kramer
Mia Dolan
Johnny Ringo
Balian of Ibelin
Sandy Cohen
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Seinfeld" . ?e_2 <pred:name> "Michael Richards" . ?e_2 <occupation> ?e_3 . ?e_3 <pred:name> "film producer" . ?e_1 <cast_member> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <cast_member> ; <pred:fact_t> ?e_2 ] <character_role> ?qpv .  }
Program:
function: Find
inputs: Seinfeld
function: Find
inputs: film producer
function: Relate
dependencies: 1
inputs: occupation
backward
function: Find
inputs: Michael Richards
function: And
dependencies: 2
3
function: QueryRelationQualifier
dependencies: 0
4
inputs: cast member
character role
Answer: Cosmo Kramer