Question: Which movie is shorter, Domino (the one whose genre is drama film) or Scoop (the one whose production company is Focus Features)?
Choices:
Scoop
The Hunchback of Notre Dame
The Fifth Element
Training Day
The Towering Inferno
A Prairie Home Companion
Curse of the Golden Flower
Pleasantville
Talk to Her
Rebecca
Answer: Scoop
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Domino" . ?e <genre> ?e_1 . ?e_1 <pred:name> "drama film" .   } UNION { ?e <pred:name> "Scoop" . ?e <production_company> ?e_2 . ?e_2 <pred:name> "Focus Features" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
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: Focus Features
function: Relate
dependencies: 4
inputs: production company
backward
function: Find
inputs: Scoop
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: duration
less