Question: Is the duration less for The Queen or Anger Management (the one that has Derek Jeter as a cast member)?
Choices:
The Queen
The Hunchback of Notre Dame
Pleasantville
The Fifth Element
The Towering Inferno
Curse of the Golden Flower
Anger Management
A Prairie Home Companion
Rebecca
Talk to Her
Program:
function: Find
inputs: The Queen
function: Find
inputs: Derek Jeter
function: Relate
dependencies: 1
inputs: cast member
backward
function: Find
inputs: Anger Management
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Queen" .  } UNION { ?e <pred:name> "Anger Management" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Derek Jeter" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: The Queen