Question: Does Calendar Girls or The Scarlet Letter with genre of film based on literature have the longest running time?
Choices:
The Hunchback of Notre Dame
Rebecca
The Towering Inferno
The Fifth Element
A Prairie Home Companion
The Scarlet Letter
Training Day
Talk to Her
Calendar Girls
Pleasantville
Answer: The Scarlet Letter
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Calendar Girls" .  } UNION { ?e <pred:name> "The Scarlet Letter" . ?e <genre> ?e_1 . ?e_1 <pred:name> "film based on literature" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Calendar Girls
function: Find
inputs: film based on literature
function: Relate
dependencies: 1
inputs: genre
backward
function: Find
inputs: The Scarlet Letter
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: duration
greater