Question: Which one has more running time between X-Men (where Hugh Jackman is a cast member) or New Year's Eve (the one released in Panama)?
Choices:
Talk to Her
The Towering Inferno
Rebecca
The Fifth Element
Curse of the Golden Flower
The Hunchback of Notre Dame
A Prairie Home Companion
X-Men
New Year's Eve
Pleasantville
Program:
function: Find
inputs: Hugh Jackman
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: X-Men
function: And
dependencies: 1
2
function: Find
inputs: Panama
function: Relate
dependencies: 4
inputs: film release region
backward
function: Find
inputs: New Year's Eve
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "X-Men" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Hugh Jackman" .   } UNION { ?e <pred:name> "New Year's Eve" . ?e <film_release_region> ?e_2 . ?e_2 <pred:name> "Panama" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: New Year's Eve