Question: Which is longer in duration, The 40-Year-Old Virgin or The Adventures of Ford Fairlane?
Choices:
Curse of the Golden Flower
Training Day
The 40-Year-Old Virgin
The Fifth Element
Talk to Her
The Adventures of Ford Fairlane
Pleasantville
Rebecca
The Towering Inferno
The Hunchback of Notre Dame
Program:
function: Find
inputs: The Adventures of Ford Fairlane
function: Find
inputs: The 40-Year-Old Virgin
function: SelectBetween
dependencies: 0
1
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Adventures of Ford Fairlane" .  } UNION { ?e <pred:name> "The 40-Year-Old Virgin" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: The 40-Year-Old Virgin