Question: Which one has a lesser duration, Into the Wild (which has Zach Galifianakis as a cast member) or Magic Mike?
Choices:
A Prairie Home Companion
Training Day
The Fifth Element
The Hunchback of Notre Dame
Magic Mike
Pleasantville
Curse of the Golden Flower
Rebecca
The Towering Inferno
Into the Wild
Program:
function: Find
inputs: Zach Galifianakis
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Into the Wild
function: And
dependencies: 1
2
function: Find
inputs: Magic Mike
function: SelectBetween
dependencies: 3
4
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Into the Wild" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Zach Galifianakis" .   } UNION { ?e <pred:name> "Magic Mike" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Magic Mike