Question: Which has more seasons, Mobile (the one that uses the language English) or South Park (the one that received 60th Primetime Emmy Awards)?
Choices:
The Cleveland Show
Batman Beyond
Fantastic Four
Tiny Toon Adventures
The Venture Bros.
Robot Chicken
Mobile
Phineas and Ferb
South Park
American Dad!
Program:
function: Find
inputs: English
function: Relate
dependencies: 0
inputs: language of work or name
backward
function: Find
inputs: Mobile
function: And
dependencies: 1
2
function: Find
inputs: 60th Primetime Emmy Awards
function: Relate
dependencies: 4
inputs: award received
backward
function: Find
inputs: South Park
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: number of seasons
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Mobile" . ?e <language_of_work_or_name> ?e_1 . ?e_1 <pred:name> "English" .   } UNION { ?e <pred:name> "South Park" . ?e <award_received> ?e_2 . ?e_2 <pred:name> "60th Primetime Emmy Awards" .  } ?e <number_of_seasons> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: South Park