Question: Jack Nicholson is cast as which character on Reds?
Choices:
Liz Lemon
Eugene O'Neill
Lestat de Lioncourt
Hellboy
Gregory House
Ally McBeal
Jack Campbell
Randall Boggs
Tyrion Lannister
Ryan Howard
Program:
function: Find
inputs: Reds
function: Find
inputs: Jack Nicholson
function: QueryRelationQualifier
dependencies: 0
1
inputs: cast member
character role
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Reds" . ?e_2 <pred:name> "Jack Nicholson" . ?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: Eugene O'Neill