Question: Does Roots, which concluded on 2016-06-02, or Tenjho Tenge have the higher episode count?
Choices:
Dancing with the Stars
American Horror Story
Game of Thrones
Phineas and Ferb
Tenjho Tenge
Robot Chicken
Saturday Night's Main Event
Seinfeld
Bleak House
Six Feet Under
Program:
function: Find
inputs: Roots
function: FilterDate
dependencies: 0
inputs: end time
2016-06-02
=
function: Find
inputs: Tenjho Tenge
function: SelectBetween
dependencies: 1
2
inputs: number of episodes
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Roots" . ?e <end_time> ?pv_1 . ?pv_1 <pred:date> "2016-06-02"^^xsd:date . } UNION { ?e <pred:name> "Tenjho Tenge" . } ?e <number_of_episodes> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Tenjho Tenge