Question: Which show has more seasons, A Pup Named Scooby-Doo or Wonder Woman (the one that has Benito Mussolini as a cast member)?
Choices:
Phineas and Ferb
Six Feet Under
American Horror Story
Seinfeld
A Pup Named Scooby-Doo
Wonder Woman
Saturday Night's Main Event
Robot Chicken
Game of Thrones
Bleak House
Answer: A Pup Named Scooby-Doo
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "A Pup Named Scooby-Doo" .  } UNION { ?e <pred:name> "Wonder Woman" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Benito Mussolini" .   } ?e <number_of_seasons> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: A Pup Named Scooby-Doo
function: Find
inputs: Benito Mussolini
function: Relate
dependencies: 1
inputs: cast member
backward
function: Find
inputs: Wonder Woman
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: number of seasons
greater