Question: What is the character role of Sylvester Stallone in Rocky IV?
Choices:
Charlotte
Nelson Rockefeller
Diane Lockhart
Damon Salvatore
Al Capone
Lennie Briscoe
Abigail Chase
Rocky Balboa
Ethan Kanin
Robert Goren
Program:
function: Find
inputs: Rocky IV
function: Find
inputs: Sylvester Stallone
function: QueryRelationQualifier
dependencies: 0
1
inputs: cast member
character role
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Rocky IV" . ?e_2 <pred:name> "Sylvester Stallone" . ?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: Rocky Balboa