Question: Christopher McDonald performs what role on the Superman that Smallville is based on?
Choices:
voice actor
uncredited appearance
instrumentalist
cameo appearance
band member
guest appearance
first overall draft pick
winner
lead vocalist
first language
Program:
function: Find
inputs: Smallville
function: Relate
dependencies: 0
inputs: based on
forward
function: Find
inputs: Superman
function: And
dependencies: 1
2
function: Find
inputs: Christopher McDonald
function: QueryRelationQualifier
dependencies: 3
4
inputs: performer
object has role
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Superman" . ?e_3 <based_on> ?e_1 . ?e_3 <pred:name> "Smallville" . ?e_2 <pred:name> "Christopher McDonald" . ?e_1 <performer> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <performer> ; <pred:fact_t> ?e_2 ] <object_has_role> ?qpv .  }
Answer: voice actor