Question: Which one lasted longer, Iron Man ((the one whose start time is 1994-09-24) or Monk?
Choices:
Monk
American Horror Story
Six Feet Under
Robot Chicken
Saturday Night's Main Event
Game of Thrones
Bleak House
Phineas and Ferb
Seinfeld
Dancing with the Stars
Answer: Monk
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Iron Man" . ?e <start_time> ?pv_1 . ?pv_1 <pred:date> "1994-09-24"^^xsd:date . } UNION { ?e <pred:name> "Monk" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Iron Man
function: FilterDate
dependencies: 0
inputs: start time
1994-09-24
=
function: Find
inputs: Monk
function: SelectBetween
dependencies: 1
2
inputs: duration
greater