Question: Is the duration less for The Doors (the one whose director is Oliver Stone) or Iceland (the one whose genre is musical film)?
Choices:
Curse of the Golden Flower
The Doors
Training Day
A Prairie Home Companion
The Fifth Element
Pleasantville
Talk to Her
The Hunchback of Notre Dame
Iceland
Rebecca
Answer: Iceland
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Doors" . ?e <director> ?e_1 . ?e_1 <pred:name> "Oliver Stone" .   } UNION { ?e <pred:name> "Iceland" . ?e <genre> ?e_2 . ?e_2 <pred:name> "musical film" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Oliver Stone
function: Relate
dependencies: 0
inputs: director
backward
function: Find
inputs: The Doors
function: And
dependencies: 1
2
function: Find
inputs: musical film
function: Relate
dependencies: 4
inputs: genre
backward
function: Find
inputs: Iceland
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: duration
less