Question: Is the episode count higher for Spider-Man from Canada, or for Rosemary's Baby with Jason Isaacs as a cast member?
Choices:
Game of Thrones
Bleak House
Seinfeld
American Horror Story
Six Feet Under
Robot Chicken
Rosemary's Baby
Dancing with the Stars
Phineas and Ferb
Spider-Man
Answer: Spider-Man
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Spider-Man" . ?e <country_of_origin> ?e_1 . ?e_1 <pred:name> "Canada" .   } UNION { ?e <pred:name> "Rosemary's Baby" . ?e <cast_member> ?e_2 . ?e_2 <pred:name> "Jason Isaacs" .  } ?e <number_of_episodes> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Canada
function: Relate
dependencies: 0
inputs: country of origin
backward
function: Find
inputs: Spider-Man
function: And
dependencies: 1
2
function: Find
inputs: Jason Isaacs
function: Relate
dependencies: 4
inputs: cast member
backward
function: Find
inputs: Rosemary's Baby
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: number of episodes
greater