Question: Who studied at Brandeis University of the cast member of Will & Grace?
Choices:
Max Fleischer
Sylvester Stallone
Sean Hayes
Steven Culp
William Henry Harrison
David Crane
Debra Messing
Richard Gere
Loretta Devine
Tony Goldwyn
Program:
function: Find
inputs: Will & Grace
function: Relate
dependencies: 0
inputs: cast member
forward
function: FilterConcept
dependencies: 1
inputs: human
function: Find
inputs: Brandeis University
function: Relate
dependencies: 3
inputs: educated at
backward
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_1 <cast_member> ?e . ?e_1 <pred:name> "Will & Grace" .  ?e <educated_at> ?e_2 . ?e_2 <pred:name> "Brandeis University" .  }
Answer: Debra Messing