Question: Which is shorter, The Elephant Man or Godzilla, which run for 100 minutes?
Choices:
Curse of the Golden Flower
The Fifth Element
The Towering Inferno
The Hunchback of Notre Dame
Rebecca
Godzilla
Pleasantville
Training Day
A Prairie Home Companion
Talk to Her
Program:
function: Find
inputs: The Elephant Man
function: Find
inputs: Godzilla
function: FilterNum
dependencies: 1
inputs: duration
100 minute
=
function: SelectBetween
dependencies: 0
2
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Elephant Man" . } UNION { ?e <pred:name> "Godzilla" . ?e <duration> ?pv_1 . ?pv_1 <pred:unit> "minute" . ?pv_1 <pred:value> "100"^^xsd:double . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Godzilla