Question: Which movie is shorter in length, Jackass: The Movie or The Doors (the one that has Mimi Rogers as a cast member)?
Choices:
Rebecca
Talk to Her
Training Day
The Doors
The Towering Inferno
Jackass: The Movie
A Prairie Home Companion
Curse of the Golden Flower
The Fifth Element
Pleasantville
Program:
function: Find
inputs: Jackass: The Movie
function: Find
inputs: Mimi Rogers
function: Relate
dependencies: 1
inputs: cast member
backward
function: Find
inputs: The Doors
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Jackass: The Movie" .  } UNION { ?e <pred:name> "The Doors" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Mimi Rogers" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Jackass: The Movie