Question: Between The Host, released in the Philippines, or Friends, set in France, which is longer in run-time?
Choices:
The Host
Training Day
The Towering Inferno
Rebecca
Talk to Her
Friends
Pleasantville
Curse of the Golden Flower
A Prairie Home Companion
The Hunchback of Notre Dame
Program:
function: Find
inputs: Philippines
function: Relate
dependencies: 0
inputs: film release region
backward
function: Find
inputs: The Host
function: And
dependencies: 1
2
function: Find
inputs: France
function: Relate
dependencies: 4
inputs: narrative location
backward
function: Find
inputs: Friends
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Host" . ?e <film_release_region> ?e_1 . ?e_1 <pred:name> "Philippines" .   } UNION { ?e <pred:name> "Friends" . ?e <narrative_location> ?e_2 . ?e_2 <pred:name> "France" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: The Host