Question: Danny DeVito is cast in which role in Man on the Moon?
Choices:
Niki Sanders
Hephaestion
Shannon Rutherford
Abby
V
George Shapiro
Maximus
Le Chiffre
Luca the Octopus
Popeye
Answer: George Shapiro
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Man on the Moon" . ?e_2 <pred:name> "Danny DeVito" . ?e_1 <cast_member> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <cast_member> ; <pred:fact_t> ?e_2 ] <character_role> ?qpv .  }
Program:
function: Find
inputs: Man on the Moon
function: Find
inputs: Danny DeVito
function: QueryRelationQualifier
dependencies: 0
1
inputs: cast member
character role