Question: Does American Masters or Mad Men have the smaller run of seasons?
Choices:
American Horror Story
Game of Thrones
Bleak House
Mad Men
Phineas and Ferb
Saturday Night's Main Event
American Masters
Seinfeld
Robot Chicken
Dancing with the Stars
Program:
function: Find
inputs: American Masters
function: Find
inputs: Mad Men
function: SelectBetween
dependencies: 0
1
inputs: number of seasons
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "American Masters" .  } UNION { ?e <pred:name> "Mad Men" .  } ?e <number_of_seasons> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Mad Men