Question: Which one, Another World (the one that has Cynthia Watros as a cast member) or Paris (the one whose genre is police procedural), has the greater number of episodes?
Choices:
Seinfeld
Game of Thrones
Phineas and Ferb
Six Feet Under
Another World
Robot Chicken
Dancing with the Stars
Bleak House
Paris
American Horror Story
Answer: Another World
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Another World" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Cynthia Watros" .   } UNION { ?e <pred:name> "Paris" . ?e <genre> ?e_2 . ?e_2 <pred:name> "police procedural" .  } ?e <number_of_episodes> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Cynthia Watros
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Another World
function: And
dependencies: 1
2
function: Find
inputs: police procedural
function: Relate
dependencies: 4
inputs: genre
backward
function: Find
inputs: Paris
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: number of episodes
greater