Question: Which movie is shorter, Sex and the City 2 or The Faculty?
Choices:
The Hunchback of Notre Dame
The Faculty
Training Day
Curse of the Golden Flower
Sex and the City 2
The Towering Inferno
A Prairie Home Companion
Rebecca
Talk to Her
The Fifth Element
Program:
function: Find
inputs: Sex and the City 2
function: Find
inputs: The Faculty
function: SelectBetween
dependencies: 0
1
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Sex and the City 2" .  } UNION { ?e <pred:name> "The Faculty" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: The Faculty