Question: Does the higher episode count belong to Star Wars: The Clone Wars, with David Tennant as a voice actor, or The Contender, in English?
Choices:
The Venture Bros.
The Contender
Star Wars: The Clone Wars
Batman Beyond
American Dad!
The Cleveland Show
Robot Chicken
Phineas and Ferb
South Park
Aladdin
Answer: Star Wars: The Clone Wars
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Star Wars: The Clone Wars" . ?e <voice_actor> ?e_1 . ?e_1 <pred:name> "David Tennant" .   } UNION { ?e <pred:name> "The Contender" . ?e <language_of_work_or_name> ?e_2 . ?e_2 <pred:name> "English" .  } ?e <number_of_episodes> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: David Tennant
function: Relate
dependencies: 0
inputs: voice actor
backward
function: Find
inputs: Star Wars: The Clone Wars
function: And
dependencies: 1
2
function: Find
inputs: English
function: Relate
dependencies: 4
inputs: language of work or name
backward
function: Find
inputs: The Contender
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: number of episodes
greater