Question: Does City Slickers or Harry Potter and the Half-Blood Prince, distributed in the UK, have a longer run-time?
Choices:
The Hunchback of Notre Dame
The Fifth Element
Training Day
City Slickers
Rebecca
The Towering Inferno
Talk to Her
A Prairie Home Companion
Pleasantville
Harry Potter and the Half-Blood Prince
Program:
function: Find
inputs: City Slickers
function: Find
inputs: United Kingdom
function: Relate
dependencies: 1
inputs: film distribute region
backward
function: Find
inputs: Harry Potter and the Half-Blood Prince
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "City Slickers" .  } UNION { ?e <pred:name> "Harry Potter and the Half-Blood Prince" . ?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: Harry Potter and the Half-Blood Prince