Question: What is the character role of Ian McShane (the one that is a cast member of Pirates of the Caribbean: On Stranger Tides) in Kung Fu Panda (the one whose duration is 92 minute)?
Choices: Cynric of Wessex
Robert California
Lord Farquaad
Tai Lung
Eva Perón
Addison Montgomery
Lily Potter
Veronica Cale
Mrs. Davis
Alvin Karpis
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Kung Fu Panda" . ?e_1 <duration> ?pv . ?pv <pred:unit> "minute" . ?pv <pred:value> "92"^^xsd:double . ?e_2 <pred:name> "Ian McShane" . ?e_3 <cast_member> ?e_2 . ?e_3 <pred:name> "Pirates of the Caribbean: On Stranger Tides" . ?e_1 <voice_actor> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <voice_actor> ; <pred:fact_t> ?e_2 ] <character_role> ?qpv .  }
Program:
function: Find
inputs: Kung Fu Panda
function: FilterNum
dependencies: 0
inputs: duration
92 minute
=
function: Find
inputs: Pirates of the Caribbean: On Stranger Tides
function: Relate
dependencies: 2
inputs: cast member
forward
function: Find
inputs: Ian McShane
function: And
dependencies: 3
4
function: QueryRelationQualifier
dependencies: 1
5
inputs: voice actor
character role
Answer: Tai Lung