Question: Which movie is longer, WWE Superstars or Crash (the one whose duration is 45 minute)?
Choices:
WWE Superstars
Seinfeld
Robot Chicken
American Horror Story
Six Feet Under
Crash
Game of Thrones
Bleak House
Dancing with the Stars
Saturday Night's Main Event
Answer: WWE Superstars
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "WWE Superstars" . } UNION { ?e <pred:name> "Crash" . ?e <duration> ?pv_1 . ?pv_1 <pred:unit> "minute" . ?pv_1 <pred:value> "45"^^xsd:double . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: WWE Superstars
function: Find
inputs: Crash
function: FilterNum
dependencies: 1
inputs: duration
45 minute
=
function: SelectBetween
dependencies: 0
2
inputs: duration
greater