Question: The lowest number of episodes is Egypt (number of episodes is 6) or Superman (duration 22 minutes)
Choices:
Egypt
Seinfeld
Six Feet Under
Superman
Phineas and Ferb
Robot Chicken
Bleak House
Dancing with the Stars
Game of Thrones
American Horror Story
Answer: Egypt
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Egypt" . ?e <number_of_episodes> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "6"^^xsd:double . } UNION { ?e <pred:name> "Superman" . ?e <duration> ?pv_2 . ?pv_2 <pred:unit> "minute" . ?pv_2 <pred:value> "22"^^xsd:double . } ?e <number_of_episodes> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Egypt
function: FilterNum
dependencies: 0
inputs: number of episodes
6
=
function: Find
inputs: Superman
function: FilterNum
dependencies: 2
inputs: duration
22 minute
=
function: SelectBetween
dependencies: 1
3
inputs: number of episodes
less