Question: Does Thomas and Friends or The Green Hornet (whose start time is 1966-09-09) have the lowest number of episodes?
Choices:
Game of Thrones
Bleak House
Seinfeld
American Horror Story
Robot Chicken
The Green Hornet
Saturday Night's Main Event
Dancing with the Stars
Phineas and Ferb
Six Feet Under
Answer: The Green Hornet
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Thomas and Friends" . } UNION { ?e <pred:name> "The Green Hornet" . ?e <start_time> ?pv_1 . ?pv_1 <pred:date> "1966-09-09"^^xsd:date . } ?e <number_of_episodes> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Thomas and Friends
function: Find
inputs: The Green Hornet
function: FilterDate
dependencies: 1
inputs: start time
1966-09-09
=
function: SelectBetween
dependencies: 0
2
inputs: number of episodes
less