Question: Are there fewer episodes of Going My Way, first aired on the American Broadcasting Company, or of Thomas and Friends?
Choices:
Six Feet Under
American Horror Story
Game of Thrones
Going My Way
Phineas and Ferb
Dancing with the Stars
Thomas and Friends
Robot Chicken
Seinfeld
Saturday Night's Main Event
Answer: Going My Way
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Going My Way" . ?e <original_network> ?e_1 . ?e_1 <pred:name> "American Broadcasting Company" .   } UNION { ?e <pred:name> "Thomas and Friends" .  } ?e <number_of_episodes> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: American Broadcasting Company
function: Relate
dependencies: 0
inputs: original network
backward
function: Find
inputs: Going My Way
function: And
dependencies: 1
2
function: Find
inputs: Thomas and Friends
function: SelectBetween
dependencies: 3
4
inputs: number of episodes
less