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