Question: Which movie is shorter, Four Weddings and a Funeral or The Challenge (the one whose script is wrote by John Sayles)?
Choices:
Four Weddings and a Funeral
The Challenge
The Hunchback of Notre Dame
Talk to Her
Pleasantville
The Fifth Element
A Prairie Home Companion
The Towering Inferno
Rebecca
Training Day
Program:
function: Find
inputs: Four Weddings and a Funeral
function: Find
inputs: John Sayles
function: Relate
dependencies: 1
inputs: screenwriter
backward
function: Find
inputs: The Challenge
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Four Weddings and a Funeral" .  } UNION { ?e <pred:name> "The Challenge" . ?e <screenwriter> ?e_1 . ?e_1 <pred:name> "John Sayles" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: The Challenge