Question: Which has more episodes, the documentary film Around the World in 80 Days, or Big Love?
Choices:
Phineas and Ferb
Saturday Night's Main Event
Dancing with the Stars
American Horror Story
Game of Thrones
Seinfeld
Bleak House
Robot Chicken
Big Love
Six Feet Under
Program:
function: Find
inputs: documentary film
function: Relate
dependencies: 0
inputs: genre
backward
function: Find
inputs: Around the World in 80 Days
function: And
dependencies: 1
2
function: Find
inputs: Big Love
function: SelectBetween
dependencies: 3
4
inputs: number of episodes
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Around the World in 80 Days" . ?e <genre> ?e_1 . ?e_1 <pred:name> "documentary film" .   } UNION { ?e <pred:name> "Big Love" .  } ?e <number_of_episodes> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Big Love