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