Question: Does Pasadena that aired on Fox or does X-Men that has 76 episodes have more seasons?
Choices:
The Cleveland Show
Phineas and Ferb
Robot Chicken
X-Men
Tiny Toon Adventures
Batman Beyond
Aladdin
South Park
Pasadena
American Dad!
Answer: X-Men
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Pasadena" . ?e <original_network> ?e_1 . ?e_1 <pred:name> "Fox Broadcasting Company" . } UNION { ?e <pred:name> "X-Men" . ?e <number_of_episodes> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "76"^^xsd:double . } ?e <number_of_seasons> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?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: X-Men
function: FilterNum
dependencies: 4
inputs: number of episodes
76
=
function: SelectBetween
dependencies: 3
5
inputs: number of seasons
greater