Question: What is the character role of Shark Tale (the one whose duration is 90 minute) has Vincent Pastore as a voice actor?
Choices:
Yosemite Sam
George O'Malley
Joan Holloway
Nora Lewin
Bullseye
Bruce Banner
Lee Harvey Oswald
Will Graham
Luca the Octopus
Lynn Compton
Program:
function: Find
inputs: Shark Tale
function: FilterNum
dependencies: 0
inputs: duration
90 minute
=
function: Find
inputs: Vincent Pastore
function: QueryRelationQualifier
dependencies: 1
2
inputs: voice actor
character role
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Shark Tale" . ?e_1 <duration> ?pv . ?pv <pred:unit> "minute" . ?pv <pred:value> "90"^^xsd:double . ?e_2 <pred:name> "Vincent Pastore" . ?e_1 <voice_actor> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <voice_actor> ; <pred:fact_t> ?e_2 ] <character_role> ?qpv .  }
Answer: Luca the Octopus