Question: Does Torchwood or The Twilight Zone, which debuted on 2002-09-18, have the higher season count?
Choices:
Torchwood
Seinfeld
Dancing with the Stars
American Horror Story
The Twilight Zone
Game of Thrones
Saturday Night's Main Event
Phineas and Ferb
Six Feet Under
Bleak House
Answer: Torchwood
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Torchwood" . } UNION { ?e <pred:name> "The Twilight Zone" . ?e <start_time> ?pv_1 . ?pv_1 <pred:date> "2002-09-18"^^xsd:date . } ?e <number_of_seasons> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Torchwood
function: Find
inputs: The Twilight Zone
function: FilterDate
dependencies: 1
inputs: start time
2002-09-18
=
function: SelectBetween
dependencies: 0
2
inputs: number of seasons
greater