Question: Does Seinfeld or Fantastic Four (whose episodes number 13) have the lower number of episodes?
Choices:
Babylon 5
Robot Chicken
Dancing with the Stars
Six Feet Under
Saturday Night's Main Event
Fantastic Four
Seinfeld
Bleak House
American Horror Story
Game of Thrones
Answer: Fantastic Four
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Seinfeld" . } UNION { ?e <pred:name> "Fantastic Four" . ?e <number_of_episodes> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "13"^^xsd:double . } ?e <number_of_episodes> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Seinfeld
function: Find
inputs: Fantastic Four
function: FilterNum
dependencies: 1
inputs: number of episodes
13
=
function: SelectBetween
dependencies: 0
2
inputs: number of episodes
less