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