Question: Which is shorter, Oscar starring Marisa Tomei or Notes on a Scandal?
Choices:
Rebecca
The Hunchback of Notre Dame
Pleasantville
The Towering Inferno
The Fifth Element
Training Day
A Prairie Home Companion
Curse of the Golden Flower
Notes on a Scandal
Talk to Her
Program:
function: Find
inputs: Marisa Tomei
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Oscar
function: And
dependencies: 1
2
function: Find
inputs: Notes on a Scandal
function: SelectBetween
dependencies: 3
4
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Oscar" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Marisa Tomei" .   } UNION { ?e <pred:name> "Notes on a Scandal" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Notes on a Scandal