Question: Did Degrassi: The Next Generation or Monk run for fewer seasons?
Choices:
Six Feet Under
Degrassi: The Next Generation
Monk
Dancing with the Stars
Saturday Night's Main Event
Robot Chicken
Seinfeld
Game of Thrones
Bleak House
Phineas and Ferb
Program:
function: Find
inputs: Degrassi: The Next Generation
function: Find
inputs: Monk
function: SelectBetween
dependencies: 0
1
inputs: number of seasons
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Degrassi: The Next Generation" .  } UNION { ?e <pred:name> "Monk" .  } ?e <number_of_seasons> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Monk