Question: Which show has fewer seasons, Pushing Daisies or The Stand (the one whose number of seasons is 1)?
Choices:
The Diary of Anne Frank
The Pacific
The Ten Commandments
Battlestar Galactica
The Civil War
Pushing Daisies
The Stand
Roots
Emma
Edge of Darkness
Answer: The Stand
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Pushing Daisies" . } UNION { ?e <pred:name> "The Stand" . ?e <number_of_seasons> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "1"^^xsd:double . } ?e <number_of_seasons> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Pushing Daisies
function: Find
inputs: The Stand
function: FilterNum
dependencies: 1
inputs: number of seasons
1
=
function: SelectBetween
dependencies: 0
2
inputs: number of seasons
less