Question: Which show has fewer seasons, Masada or The Edge of Night?
Choices:
The Ten Commandments
The Pacific
The Civil War
Battlestar Galactica
Edge of Darkness
The Diary of Anne Frank
George Washington
Roots
Masada
The Edge of Night
Program:
function: Find
inputs: Masada
function: Find
inputs: The Edge of Night
function: SelectBetween
dependencies: 0
1
inputs: number of seasons
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Masada" .  } UNION { ?e <pred:name> "The Edge of Night" .  } ?e <number_of_seasons> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Masada