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