Question: Which movie is longer, This Means War or Sabrina (the one that has Ann Roth as a costume designer)?
Choices:
Curse of the Golden Flower
This Means War
Pleasantville
The Towering Inferno
Sabrina
The Fifth Element
A Prairie Home Companion
The Hunchback of Notre Dame
Training Day
Talk to Her
Answer: Sabrina
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "This Means War" .  } UNION { ?e <pred:name> "Sabrina" . ?e <costume_designer> ?e_1 . ?e_1 <pred:name> "Ann Roth" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: This Means War
function: Find
inputs: Ann Roth
function: Relate
dependencies: 1
inputs: costume designer
backward
function: Find
inputs: Sabrina
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: duration
greater