Question: Which is longer, Rhinestone or Looney Tunes: Back in Action that has Frank Welker as a voice actor?
Choices:
Looney Tunes: Back in Action
A Prairie Home Companion
The Fifth Element
Rhinestone
Training Day
Rebecca
Talk to Her
The Hunchback of Notre Dame
Pleasantville
Curse of the Golden Flower
Program:
function: Find
inputs: Rhinestone
function: Find
inputs: Frank Welker
function: Relate
dependencies: 1
inputs: voice actor
backward
function: Find
inputs: Looney Tunes: Back in Action
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Rhinestone" .  } UNION { ?e <pred:name> "Looney Tunes: Back in Action" . ?e <voice_actor> ?e_1 . ?e_1 <pred:name> "Frank Welker" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Rhinestone