Question: Which movie is longer, Ed Wood (the one whose genre is drama film) or Kramer vs. Kramer?
Choices: The Towering Inferno
The Fifth Element
Curse of the Golden Flower
Talk to Her
Training Day
Rebecca
The Hunchback of Notre Dame
Pleasantville
Ed Wood
Kramer vs. Kramer
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Ed Wood" . ?e <genre> ?e_1 . ?e_1 <pred:name> "drama film" .   } UNION { ?e <pred:name> "Kramer vs. Kramer" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: drama film
function: Relate
dependencies: 0
inputs: genre
backward
function: Find
inputs: Ed Wood
function: And
dependencies: 1
2
function: Find
inputs: Kramer vs. Kramer
function: SelectBetween
dependencies: 3
4
inputs: duration
greater
Answer: Ed Wood