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