Question: Which movie is longer, The Ugly Truth or House of Flying Daggers?
Choices:
Pleasantville
Talk to Her
Rebecca
Training Day
The Ugly Truth
House of Flying Daggers
The Towering Inferno
The Hunchback of Notre Dame
Curse of the Golden Flower
A Prairie Home Companion
Program:
function: Find
inputs: The Ugly Truth
function: Find
inputs: House of Flying Daggers
function: SelectBetween
dependencies: 0
1
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Ugly Truth" .  } UNION { ?e <pred:name> "House of Flying Daggers" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: House of Flying Daggers