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