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