Question: Which show has more seasons, WCW Monday Nitro or Bad Teacher (the one whose start time is 2014-04-24)?
Choices:
Bleak House
Bad Teacher
WCW Monday Nitro
American Horror Story
Seinfeld
Six Feet Under
Dancing with the Stars
Robot Chicken
Saturday Night's Main Event
Game of Thrones
Program:
function: Find
inputs: WCW Monday Nitro
function: Find
inputs: Bad Teacher
function: FilterDate
dependencies: 1
inputs: start time
2014-04-24
=
function: SelectBetween
dependencies: 0
2
inputs: number of seasons
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "WCW Monday Nitro" . } UNION { ?e <pred:name> "Bad Teacher" . ?e <start_time> ?pv_1 . ?pv_1 <pred:date> "2014-04-24"^^xsd:date . } ?e <number_of_seasons> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: WCW Monday Nitro