Question: Between Cyrano de Bergerac, scripted by Carl Foreman, or Norbit, which is shorter?
Choices:
Talk to Her
The Hunchback of Notre Dame
Pleasantville
Training Day
Norbit
The Towering Inferno
Cyrano de Bergerac
Rebecca
The Fifth Element
A Prairie Home Companion
Answer: Norbit
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Cyrano de Bergerac" . ?e <screenwriter> ?e_1 . ?e_1 <pred:name> "Carl Foreman" .   } UNION { ?e <pred:name> "Norbit" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Carl Foreman
function: Relate
dependencies: 0
inputs: screenwriter
backward
function: Find
inputs: Cyrano de Bergerac
function: And
dependencies: 1
2
function: Find
inputs: Norbit
function: SelectBetween
dependencies: 3
4
inputs: duration
less