Question: Is the comedy-drama Sedona or is Notes on a Scandal the longer work?
Choices:
Talk to Her
Notes on a Scandal
Training Day
Rebecca
The Fifth Element
Pleasantville
The Towering Inferno
The Hunchback of Notre Dame
Sedona
Curse of the Golden Flower
Answer: Notes on a Scandal
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Sedona" . ?e <genre> ?e_1 . ?e_1 <pred:name> "comedy-drama" .   } UNION { ?e <pred:name> "Notes on a Scandal" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: comedy-drama
function: Relate
dependencies: 0
inputs: genre
backward
function: Find
inputs: Sedona
function: And
dependencies: 1
2
function: Find
inputs: Notes on a Scandal
function: SelectBetween
dependencies: 3
4
inputs: duration
greater