Question: What are the roles in "Kung Fu Panda" that have Angelina Jolie and Ian McShane as voice actors?
Choices:
Nancy Callahan
Lisa Cuddy
Cindy Campbell
Carl Grissom
Tai Lung
Clayface
Caretaker
Wheelie
Le Chiffre
Lord Farquaad
Answer: Tai Lung
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Kung Fu Panda" . ?e_1 <voice_actor> ?e_3 . ?e_3 <pred:name> "Angelina Jolie" . ?e_2 <pred:name> "Ian McShane" . ?e_2 <ISNI> ?pv . ?pv <pred:value> "0000 0001 1507 0704" . ?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: Angelina Jolie
function: Relate
dependencies: 0
inputs: voice actor
backward
function: Find
inputs: Kung Fu Panda
function: And
dependencies: 1
2
function: Find
inputs: Ian McShane
function: FilterStr
dependencies: 4
inputs: ISNI
0000 0001 1507 0704
function: QueryRelationQualifier
dependencies: 3
5
inputs: voice actor
character role