Question: Which is longer in length, And Starring Pancho Villa as Himself or Barney's Version?
Choices:
Pleasantville
And Starring Pancho Villa as Himself
Talk to Her
The Towering Inferno
The Hunchback of Notre Dame
Curse of the Golden Flower
Barney's Version
The Fifth Element
Rebecca
Training Day
Program:
function: Find
inputs: And Starring Pancho Villa as Himself
function: Find
inputs: Barney's Version
function: SelectBetween
dependencies: 0
1
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "And Starring Pancho Villa as Himself" .  } UNION { ?e <pred:name> "Barney's Version" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Barney's Version