Question: Which is shorter, The Hunchback of Notre Dame whose duration is 115 minutes or Star Wars: Episode I – The Phantom Menace?
Choices:
The Hunchback of Notre Dame
The Muppets
Star Wars: Episode I – The Phantom Menace
The Flintstones
National Treasure: Book of Secrets
Holes
John Carter
Alvin and the Chipmunks: Chipwrecked
Old Dogs
G-Force
Answer: The Hunchback of Notre Dame
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Hunchback of Notre Dame" . ?e <duration> ?pv_1 . ?pv_1 <pred:unit> "minute" . ?pv_1 <pred:value> "115"^^xsd:double . } UNION { ?e <pred:name> "Star Wars: Episode I – The Phantom Menace" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: The Hunchback of Notre Dame
function: FilterNum
dependencies: 0
inputs: duration
115 minute
=
function: Find
inputs: Star Wars: Episode I – The Phantom Menace
function: SelectBetween
dependencies: 1
2
inputs: duration
less