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