Question: Which character is Nicolas Cage cast as on Face/Off?
Choices:
Zod
Jack Skellington
Dr. John Watson
Howard Hughes
Clayface
Mark Zuckerberg
The Cat in the Hat
L. Fletcher Prouty
Castor Troy
Jim Morrison
Program:
function: Find
inputs: Face/Off
function: Find
inputs: Nicolas Cage
function: QueryRelationQualifier
dependencies: 0
1
inputs: cast member
character role
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Face/Off" . ?e_2 <pred:name> "Nicolas Cage" . ?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: Castor Troy