Question: What is the character role of Debra Messing as a cast member of Will & Grace?
Choices:
Jack Beringer
Grace Adler
Barry Egan
Vincent Freeman
Irina Derevko
Jennifer Mack
Nick Falco
Tomáš
Rajah
Cookie Monster
Program:
function: Find
inputs: Will & Grace
function: Find
inputs: Debra Messing
function: QueryRelationQualifier
dependencies: 0
1
inputs: cast member
character role
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Will & Grace" . ?e_2 <pred:name> "Debra Messing" . ?e_1 <cast_member> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <cast_member> ; <pred:fact_t> ?e_2 ] <character_role> ?qpv .  }
Answer: Grace Adler