Question: Does the 26-episode Sonic the Hedgehog or does The Pacific have the smaller run of seasons?
Choices:
George Washington
The Civil War
The Diary of Anne Frank
Emma
The Stand
The Ten Commandments
Sonic the Hedgehog
Roots
The Pacific
Battlestar Galactica
Program:
function: Find
inputs: Sonic the Hedgehog
function: FilterNum
dependencies: 0
inputs: number of episodes
26
=
function: Find
inputs: The Pacific
function: SelectBetween
dependencies: 1
2
inputs: number of seasons
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Sonic the Hedgehog" . ?e <number_of_episodes> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "26"^^xsd:double . } UNION { ?e <pred:name> "The Pacific" . } ?e <number_of_seasons> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: The Pacific