Question: Larry the Cable Guy voices what character on Cars 2, nominated for a Golden Globe for Best Animated Feature Film?
Choices:
Cindy
Benjamin Franklin
Mater
Mr. Krabs
Queen of Hearts
Claudius Templesmith
Diego
A.J. Frost
Mr. Incredible
Hercules
Answer: Mater
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Cars 2" . ?e_1 <nominated_for> ?e_3 . ?e_3 <pred:name> "Golden Globe Award for Best Animated Feature Film" . ?e_2 <pred:name> "Larry the Cable Guy" . ?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: Golden Globe Award for Best Animated Feature Film
function: Relate
dependencies: 0
inputs: nominated for
backward
function: Find
inputs: Cars 2
function: And
dependencies: 1
2
function: Find
inputs: Larry the Cable Guy
function: QueryRelationQualifier
dependencies: 3
4
inputs: voice actor
character role