Question: Which movie is longer, There's Something About Mary or Murder by Decree?
Choices:
The Towering Inferno
Curse of the Golden Flower
Talk to Her
The Fifth Element
A Prairie Home Companion
There's Something About Mary
Rebecca
Training Day
The Hunchback of Notre Dame
Murder by Decree
Program:
function: Find
inputs: There's Something About Mary
function: Find
inputs: Murder by Decree
function: SelectBetween
dependencies: 0
1
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "There's Something About Mary" .  } UNION { ?e <pred:name> "Murder by Decree" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Murder by Decree