Question: Does Greek, which debuted on 2007-07-09, or Homicide: Life on the Street have the longer run-time?
Choices:
Greek
Robot Chicken
Phineas and Ferb
Saturday Night's Main Event
Dancing with the Stars
Bleak House
Six Feet Under
Homicide: Life on the Street
Game of Thrones
American Horror Story
Answer: Homicide: Life on the Street
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Greek" . ?e <start_time> ?pv_1 . ?pv_1 <pred:date> "2007-07-09"^^xsd:date . } UNION { ?e <pred:name> "Homicide: Life on the Street" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Greek
function: FilterDate
dependencies: 0
inputs: start time
2007-07-09
=
function: Find
inputs: Homicide: Life on the Street
function: SelectBetween
dependencies: 1
2
inputs: duration
greater