Question: Does Domino (the one whose genre is drama film) or A Midsummer Night's Dream (the one that was nominated for Academy Award for Best Film Editing) has lesser duration ?
Choices:
Domino
A Midsummer Night's Dream
The Towering Inferno
The Hunchback of Notre Dame
Curse of the Golden Flower
Talk to Her
A Prairie Home Companion
The Fifth Element
Training Day
Rebecca
Program:
function: Find
inputs: drama film
function: Relate
dependencies: 0
inputs: genre
backward
function: Find
inputs: Domino
function: And
dependencies: 1
2
function: Find
inputs: Academy Award for Best Film Editing
function: Relate
dependencies: 4
inputs: nominated for
backward
function: Find
inputs: A Midsummer Night's Dream
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Domino" . ?e <genre> ?e_1 . ?e_1 <pred:name> "drama film" .   } UNION { ?e <pred:name> "A Midsummer Night's Dream" . ?e <nominated_for> ?e_2 . ?e_2 <pred:name> "Academy Award for Best Film Editing" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Domino