Question: What is the character role of Christine Baranski in The Good Wife?
Choices:
Ward Abbott
Matthew Lillard
Princess Victoria of Saxe-Coburg-Saalfeld
Ernst Stavro Blofeld
Eric Lamonsoff
Diane Lockhart
William Gardner
Frodo Baggins
Edgar the Bug
Donna Noble
Program:
function: Find
inputs: The Good Wife
function: Find
inputs: Christine Baranski
function: QueryRelationQualifier
dependencies: 0
1
inputs: cast member
character role
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "The Good Wife" . ?e_2 <pred:name> "Christine Baranski" . ?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: Diane Lockhart