Question: Which is longer, The Flintstones that is 87 minutes long or Bedknobs and Broomsticks?
Choices:
The Flintstones in Viva Rock Vegas
The Muppets
National Treasure: Book of Secrets
The Flintstones
Holes
John Carter
Alvin and the Chipmunks: Chipwrecked
Enchanted
G-Force
Bedknobs and Broomsticks
Answer: Bedknobs and Broomsticks
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Flintstones" . ?e <duration> ?pv_1 . ?pv_1 <pred:unit> "minute" . ?pv_1 <pred:value> "87"^^xsd:double . } UNION { ?e <pred:name> "Bedknobs and Broomsticks" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: The Flintstones
function: FilterNum
dependencies: 0
inputs: duration
87 minute
=
function: Find
inputs: Bedknobs and Broomsticks
function: SelectBetween
dependencies: 1
2
inputs: duration
greater