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