Question: Which has more episodes, Ryan's Hope or The Vampire Diaries?
Choices:
American Horror Story
Six Feet Under
The Vampire Diaries
Ryan's Hope
Saturday Night's Main Event
Bleak House
Game of Thrones
Seinfeld
Phineas and Ferb
Dancing with the Stars
Program:
function: Find
inputs: Ryan's Hope
function: Find
inputs: The Vampire Diaries
function: SelectBetween
dependencies: 0
1
inputs: number of episodes
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Ryan's Hope" .  } UNION { ?e <pred:name> "The Vampire Diaries" .  } ?e <number_of_episodes> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Ryan's Hope