Question: Does The Diving Bell and the Butterfly or Titanic (the one whose CANTIC-ID is a1209447x) have greater duration?
Choices:
Pleasantville
Curse of the Golden Flower
Rebecca
The Diving Bell and the Butterfly
Talk to Her
Titanic
A Prairie Home Companion
The Fifth Element
The Towering Inferno
Training Day
Answer: Titanic
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Diving Bell and the Butterfly" . } UNION { ?e <pred:name> "Titanic" . ?e <CANTIC-ID> ?pv_1 . ?pv_1 <pred:value> "a1209447x" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: The Diving Bell and the Butterfly
function: Find
inputs: Titanic
function: FilterStr
dependencies: 1
inputs: CANTIC-ID
a1209447x
function: SelectBetween
dependencies: 0
2
inputs: duration
greater