Question: Among these two Limitless (the one whose end time is 2016-04-26) or Hallmark Hall of Fame, which one has few number of seasons
Choices:
Six Feet Under
Game of Thrones
Saturday Night's Main Event
Hallmark Hall of Fame
American Horror Story
Limitless
Robot Chicken
Dancing with the Stars
Phineas and Ferb
Seinfeld
Answer: Limitless
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Limitless" . ?e <end_time> ?pv_1 . ?pv_1 <pred:date> "2016-04-26"^^xsd:date . } UNION { ?e <pred:name> "Hallmark Hall of Fame" . } ?e <number_of_seasons> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Limitless
function: FilterDate
dependencies: 0
inputs: end time
2016-04-26
=
function: Find
inputs: Hallmark Hall of Fame
function: SelectBetween
dependencies: 1
2
inputs: number of seasons
less