Question: Which one, Romeo and Juliet (the one that received Golden Lion) or The Notebook (the one that was nominated for MTV Movie Award for Best Kiss), has less duration?
Choices:
Talk to Her
The Fifth Element
Rebecca
Romeo and Juliet
Pleasantville
Training Day
Curse of the Golden Flower
The Hunchback of Notre Dame
The Towering Inferno
The Notebook
Program:
function: Find
inputs: Golden Lion
function: Relate
dependencies: 0
inputs: award received
backward
function: Find
inputs: Romeo and Juliet
function: And
dependencies: 1
2
function: Find
inputs: MTV Movie Award for Best Kiss
function: Relate
dependencies: 4
inputs: nominated for
backward
function: Find
inputs: The Notebook
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Romeo and Juliet" . ?e <award_received> ?e_1 . ?e_1 <pred:name> "Golden Lion" .   } UNION { ?e <pred:name> "The Notebook" . ?e <nominated_for> ?e_2 . ?e_2 <pred:name> "MTV Movie Award for Best Kiss" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: The Notebook