Question: Which film is longer in duration, Butch Cassidy and the Sundance Kid or Pride & Prejudice?
Choices:
Training Day
Pride & Prejudice
The Towering Inferno
A Prairie Home Companion
Rebecca
Pleasantville
The Fifth Element
Talk to Her
The Hunchback of Notre Dame
Butch Cassidy and the Sundance Kid
Program:
function: Find
inputs: Butch Cassidy and the Sundance Kid
function: Find
inputs: Pride & Prejudice
function: SelectBetween
dependencies: 0
1
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Butch Cassidy and the Sundance Kid" .  } UNION { ?e <pred:name> "Pride & Prejudice" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Pride & Prejudice