Question: Which movie is longer, 1941 or Romeo and Juliet (the one that mainly depicts tragedy)?
Choices:
Romeo and Juliet
Rebecca
1941
Talk to Her
Pleasantville
A Prairie Home Companion
The Fifth Element
The Hunchback of Notre Dame
Curse of the Golden Flower
The Towering Inferno
Answer: Romeo and Juliet
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "1941" .  } UNION { ?e <pred:name> "Romeo and Juliet" . ?e <main_subject> ?e_1 . ?e_1 <pred:name> "tragedy" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: 1941
function: Find
inputs: tragedy
function: Relate
dependencies: 1
inputs: main subject
backward
function: Find
inputs: Romeo and Juliet
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: duration
greater