Question: Which show has fewer seasons, Sons of Anarchy or Fantastic Four (the one that is originally aired on American Broadcasting Company)?
Choices:
South Park
Robot Chicken
Aladdin
Phineas and Ferb
Fantastic Four
The Venture Bros.
American Dad!
The Cleveland Show
Sons of Anarchy
Batman Beyond
Answer: Fantastic Four
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Sons of Anarchy" .  } UNION { ?e <pred:name> "Fantastic Four" . ?e <original_network> ?e_1 . ?e_1 <pred:name> "American Broadcasting Company" .   } ?e <number_of_seasons> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Sons of Anarchy
function: Find
inputs: American Broadcasting Company
function: Relate
dependencies: 1
inputs: original network
backward
function: Find
inputs: Fantastic Four
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: number of seasons
less