Question: Does Pasadena that originally aired on Fox Broadcasting Company or Two and a Half Men have fewer episodes?
Choices:
Game of Thrones
Dancing with the Stars
Two and a Half Men
Robot Chicken
Phineas and Ferb
Seinfeld
American Horror Story
Pasadena
Saturday Night's Main Event
Bleak House
Answer: Pasadena
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Pasadena" . ?e <original_network> ?e_1 . ?e_1 <pred:name> "Fox Broadcasting Company" .   } UNION { ?e <pred:name> "Two and a Half Men" .  } ?e <number_of_episodes> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Fox Broadcasting Company
function: Relate
dependencies: 0
inputs: original network
backward
function: Find
inputs: Pasadena
function: And
dependencies: 1
2
function: Find
inputs: Two and a Half Men
function: SelectBetween
dependencies: 3
4
inputs: number of episodes
less