Question: Is the season tally lower for Dallas, which premiered on 2012-06-13, or Ryan's Hope?
Choices:
Dallas
Six Feet Under
Dancing with the Stars
American Horror Story
Ryan's Hope
Robot Chicken
Bleak House
Seinfeld
Saturday Night's Main Event
Phineas and Ferb
Answer: Dallas
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Dallas" . ?e <start_time> ?pv_1 . ?pv_1 <pred:date> "2012-06-13"^^xsd:date . } UNION { ?e <pred:name> "Ryan's Hope" . } ?e <number_of_seasons> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Dallas
function: FilterDate
dependencies: 0
inputs: start time
2012-06-13
=
function: Find
inputs: Ryan's Hope
function: SelectBetween
dependencies: 1
2
inputs: number of seasons
less