Question: Which one, Dangerous Liaisons (the one that was nominated for BAFTA Award for Best Editing) or Tangled (the one that has Jonathan Rhys Meyers as a cast member), has greater duration?
Choices:
A Prairie Home Companion
Rebecca
The Hunchback of Notre Dame
The Towering Inferno
Training Day
The Fifth Element
Tangled
Dangerous Liaisons
Talk to Her
Pleasantville
Program:
function: Find
inputs: BAFTA Award for Best Editing
function: Relate
dependencies: 0
inputs: nominated for
backward
function: Find
inputs: Dangerous Liaisons
function: And
dependencies: 1
2
function: Find
inputs: Jonathan Rhys Meyers
function: Relate
dependencies: 4
inputs: cast member
backward
function: Find
inputs: Tangled
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Dangerous Liaisons" . ?e <nominated_for> ?e_1 . ?e_1 <pred:name> "BAFTA Award for Best Editing" .   } UNION { ?e <pred:name> "Tangled" . ?e <cast_member> ?e_2 . ?e_2 <pred:name> "Jonathan Rhys Meyers" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Dangerous Liaisons