Question: Which one has less running time between Wuthering Heights (the one nominated for Academy Award for Best Director) and Lara Croft: Tomb Raider?
Choices:
Pleasantville
The Hunchback of Notre Dame
Training Day
Curse of the Golden Flower
Wuthering Heights
The Fifth Element
Lara Croft: Tomb Raider
Talk to Her
Rebecca
The Towering Inferno
Program:
function: Find
inputs: Academy Award for Best Director
function: Relate
dependencies: 0
inputs: nominated for
backward
function: Find
inputs: Wuthering Heights
function: And
dependencies: 1
2
function: Find
inputs: Lara Croft: Tomb Raider
function: SelectBetween
dependencies: 3
4
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Wuthering Heights" . ?e <nominated_for> ?e_1 . ?e_1 <pred:name> "Academy Award for Best Director" .   } UNION { ?e <pred:name> "Lara Croft: Tomb Raider" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Wuthering Heights