Question: Which show has fewer episodes, The Path to 9/11 or Stargate Atlantis?
Choices:
The Civil War
The Pacific
Battlestar Galactica
Stargate Atlantis
The Diary of Anne Frank
George Washington
The Path to 9/11
Roots
The Stand
Edge of Darkness
Program:
function: Find
inputs: The Path to 9/11
function: Find
inputs: Stargate Atlantis
function: SelectBetween
dependencies: 0
1
inputs: number of episodes
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Path to 9/11" .  } UNION { ?e <pred:name> "Stargate Atlantis" .  } ?e <number_of_episodes> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: The Path to 9/11