Question: Which is the shorter film, Gulliver's Travels—which is 77 minutes long—or Pirates of the Caribbean: The Curse of the Black Pearl?
Choices:
The Flintstones in Viva Rock Vegas
Pirates of the Caribbean: The Curse of the Black Pearl
G-Force
Holes
The Flintstones
Alvin and the Chipmunks: Chipwrecked
The Muppets
Old Dogs
Gulliver's Travels
John Carter
Program:
function: Find
inputs: Pirates of the Caribbean: The Curse of the Black Pearl
function: Find
inputs: Gulliver's Travels
function: FilterNum
dependencies: 1
inputs: duration
77 minute
=
function: SelectBetween
dependencies: 0
2
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Pirates of the Caribbean: The Curse of the Black Pearl" . } UNION { ?e <pred:name> "Gulliver's Travels" . ?e <duration> ?pv_1 . ?pv_1 <pred:unit> "minute" . ?pv_1 <pred:value> "77"^^xsd:double . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Gulliver's Travels