Question: Which is longer, The Prize or They Might Be Giants (the one whose title is They Might Be Giants)?
Choices: The Prize
Talk to Her
A Prairie Home Companion
Pleasantville
Training Day
Curse of the Golden Flower
The Hunchback of Notre Dame
They Might Be Giants
Rebecca
The Towering Inferno
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Prize" . } UNION { ?e <pred:name> "They Might Be Giants" . ?e <title> ?pv_1 . ?pv_1 <pred:value> "They Might Be Giants" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: The Prize
function: Find
inputs: They Might Be Giants
function: FilterStr
dependencies: 1
inputs: title
They Might Be Giants
function: SelectBetween
dependencies: 0
2
inputs: duration
greater
Answer: The Prize