Question: Which one has the longer running time, Ironclad or Beetlejuice (the one distributed in the UK) ?
Choices:
A Prairie Home Companion
Beetlejuice
Rebecca
Curse of the Golden Flower
Training Day
Talk to Her
Pleasantville
The Hunchback of Notre Dame
Ironclad
The Fifth Element
Program:
function: Find
inputs: Ironclad
function: Find
inputs: United Kingdom
function: Relate
dependencies: 1
inputs: film distribute region
backward
function: Find
inputs: Beetlejuice
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Ironclad" .  } UNION { ?e <pred:name> "Beetlejuice" . ?e <film_distribute_region> ?e_1 . ?e_1 <pred:name> "United Kingdom" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Ironclad