Question: Is the running time shorter for Greenwich Village, composed by David Buttolph, or Solaris, with George Clooney as a cast member?
Choices:
Solaris
A Prairie Home Companion
The Towering Inferno
Talk to Her
Greenwich Village
The Fifth Element
Pleasantville
Curse of the Golden Flower
Training Day
The Hunchback of Notre Dame
Answer: Greenwich Village
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Greenwich Village" . ?e <composer> ?e_1 . ?e_1 <pred:name> "David Buttolph" .   } UNION { ?e <pred:name> "Solaris" . ?e <cast_member> ?e_2 . ?e_2 <pred:name> "George Clooney" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: David Buttolph
function: Relate
dependencies: 0
inputs: composer
backward
function: Find
inputs: Greenwich Village
function: And
dependencies: 1
2
function: Find
inputs: George Clooney
function: Relate
dependencies: 4
inputs: cast member
backward
function: Find
inputs: Solaris
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: duration
less