Question: Which has a greater duration, Youth in Revolt or Click?
Choices:
The Towering Inferno
Youth in Revolt
Pleasantville
Rebecca
A Prairie Home Companion
The Fifth Element
Training Day
The Hunchback of Notre Dame
Click
Curse of the Golden Flower
Program:
function: Find
inputs: Youth in Revolt
function: Find
inputs: Click
function: SelectBetween
dependencies: 0
1
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Youth in Revolt" .  } UNION { ?e <pred:name> "Click" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Click