Question: Which movie is shorter, Oscar (the one that was nominated for Golden Raspberry Award for Worst Director) or Network?
Choices:
The Towering Inferno
The Fifth Element
Talk to Her
Pleasantville
Curse of the Golden Flower
A Prairie Home Companion
Network
Oscar
Rebecca
Training Day
Program:
function: Find
inputs: Golden Raspberry Award for Worst Director
function: Relate
dependencies: 0
inputs: nominated for
backward
function: Find
inputs: Oscar
function: And
dependencies: 1
2
function: Find
inputs: Network
function: SelectBetween
dependencies: 3
4
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Oscar" . ?e <nominated_for> ?e_1 . ?e_1 <pred:name> "Golden Raspberry Award for Worst Director" .   } UNION { ?e <pred:name> "Network" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Oscar