Question: What is the character role of Jay Chou in The Green Hornet (the one that has Cameron Diaz as a cast member)?
Choices:
Robin Hood
Mason Verger
Cheshire Cat
Patsy
Paulie Pennino
Stick
Charles Keating
Kato
John Rambo
Tycho Nestoris
Program:
function: Find
inputs: Cameron Diaz
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: The Green Hornet
function: And
dependencies: 1
2
function: Find
inputs: Jay Chou
function: QueryRelationQualifier
dependencies: 3
4
inputs: cast member
character role
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "The Green Hornet" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> "Cameron Diaz" . ?e_2 <pred:name> "Jay Chou" . ?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: Kato