Question: What is cast member Telly Savalas' character role in On Her Majesty's Secret Service (whose distributor is United Artists)?
Choices:
Carver
Deadpool
Tyler Durden
Ernst Stavro Blofeld
Razoul
Meg Griffin
Baldwin IV of Jerusalem
Peter Sadusky
Leonard McCoy
Barney Ross
Program:
function: Find
inputs: United Artists
function: Relate
dependencies: 0
inputs: distributor
backward
function: Find
inputs: On Her Majesty's Secret Service
function: And
dependencies: 1
2
function: Find
inputs: Telly Savalas
function: QueryRelationQualifier
dependencies: 3
4
inputs: cast member
character role
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "On Her Majesty's Secret Service" . ?e_1 <distributor> ?e_3 . ?e_3 <pred:name> "United Artists" . ?e_2 <pred:name> "Telly Savalas" . ?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: Ernst Stavro Blofeld