Question: Does Tin Man (that started on 2007-12-02) or The Cosby Show have more seasons?
Choices: Game of Thrones
Saturday Night's Main Event
Six Feet Under
Seinfeld
The Cosby Show
Tin Man
Bleak House
Phineas and Ferb
Dancing with the Stars
American Horror Story
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Tin Man" . ?e <start_time> ?pv_1 . ?pv_1 <pred:date> "2007-12-02"^^xsd:date . } UNION { ?e <pred:name> "The Cosby Show" . } ?e <number_of_seasons> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Tin Man
function: FilterDate
dependencies: 0
inputs: start time
2007-12-02
=
function: Find
inputs: The Cosby Show
function: SelectBetween
dependencies: 1
2
inputs: number of seasons
greater
Answer: The Cosby Show