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