Question: Which one, Mobile (the one that uses the language English) or Fear the Walking Dead, has a greater number of episodes?
Choices:
Fear the Walking Dead
American Horror Story
Bleak House
Mobile
Saturday Night's Main Event
Seinfeld
Phineas and Ferb
Robot Chicken
Game of Thrones
Dancing with the Stars
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: Fear the Walking Dead
function: SelectBetween
dependencies: 3
4
inputs: number of episodes
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> "Fear the Walking Dead" .  } ?e <number_of_episodes> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Fear the Walking Dead