Question: Does Santa Barbara, from the USA, or The Twilight Zone, which premiered on 2002-09-18, have the lower episode count?
Choices: Santa Barbara
Game of Thrones
Phineas and Ferb
Seinfeld
Saturday Night's Main Event
Six Feet Under
Robot Chicken
American Horror Story
The Twilight Zone
Dancing with the Stars
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Santa Barbara" . ?e <country_of_origin> ?e_1 . ?e_1 <pred:name> "United States of America" . } UNION { ?e <pred:name> "The Twilight Zone" . ?e <start_time> ?pv_1 . ?pv_1 <pred:date> "2002-09-18"^^xsd:date . } ?e <number_of_episodes> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: United States of America
function: Relate
dependencies: 0
inputs: country of origin
backward
function: Find
inputs: Santa Barbara
function: And
dependencies: 1
2
function: Find
inputs: The Twilight Zone
function: FilterDate
dependencies: 4
inputs: start time
2002-09-18
=
function: SelectBetween
dependencies: 3
5
inputs: number of episodes
less
Answer: The Twilight Zone