Question: Does Six Degrees of Separation or Brideshead Revisited (the one whose genre is drama film) have the greater duration?
Choices: The Fifth Element
Pleasantville
Brideshead Revisited
Rebecca
The Towering Inferno
Curse of the Golden Flower
Six Degrees of Separation
The Hunchback of Notre Dame
Training Day
Talk to Her
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Six Degrees of Separation" .  } UNION { ?e <pred:name> "Brideshead Revisited" . ?e <genre> ?e_1 . ?e_1 <pred:name> "drama film" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Six Degrees of Separation
function: Find
inputs: drama film
function: Relate
dependencies: 1
inputs: genre
backward
function: Find
inputs: Brideshead Revisited
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: duration
greater
Answer: Brideshead Revisited