Question: Natalie Portman was cast as which character on Black Swan?
Choices:
singer
leading actor
film score composer
vocal arranger
guitarist
territorial collectivity of France
European Communities
X-Men
freshwater fish
initialism
Answer: leading actor
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Black Swan" . ?e_2 <pred:name> "Natalie Portman" . ?e_1 <cast_member> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <cast_member> ; <pred:fact_t> ?e_2 ] <object_has_role> ?qpv .  }
Program:
function: Find
inputs: Black Swan
function: Find
inputs: Natalie Portman
function: QueryRelationQualifier
dependencies: 0
1
inputs: cast member
object has role