Question: Which has a longer run-time, Solitary Man or Caravaggio featuring Tilda Swinton in its cast?
Choices:
The Towering Inferno
Training Day
Solitary Man
Rebecca
Pleasantville
Talk to Her
A Prairie Home Companion
The Hunchback of Notre Dame
Caravaggio
The Fifth Element
Answer: Caravaggio
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Solitary Man" .  } UNION { ?e <pred:name> "Caravaggio" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Tilda Swinton" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Solitary Man
function: Find
inputs: Tilda Swinton
function: Relate
dependencies: 1
inputs: cast member
backward
function: Find
inputs: Caravaggio
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: duration
greater