Question: Who does Peter Cullen portray in the Transformers film with Hugo Weaving?
Choices:
George Washington
Anne of Cleves
Jack Skellington
Francisco Scaramanga
Optimus Prime
Piper Pinwheeler
Ferris Bueller
Tobias Fünke
Dinah
Ash
Program:
function: Find
inputs: Hugo Weaving
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Transformers
function: And
dependencies: 1
2
function: Find
inputs: voice actor
function: Relate
dependencies: 4
inputs: occupation
backward
function: Find
inputs: Peter Cullen
function: And
dependencies: 5
6
function: QueryRelationQualifier
dependencies: 3
7
inputs: cast member
character role
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Transformers" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> "Hugo Weaving" . ?e_2 <pred:name> "Peter Cullen" . ?e_2 <occupation> ?e_4 . ?e_4 <pred:name> "voice actor" . ?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: Optimus Prime