Question: Which has fewer episodes, The Hitchhiker's Guide to the Galaxy whose duration is 33 minutes or Battlestar Galactica which has 24 episodes?
Choices:
Bleak House
The Hitchhiker's Guide to the Galaxy
Seinfeld
Game of Thrones
Phineas and Ferb
Dancing with the Stars
American Horror Story
Saturday Night's Main Event
Six Feet Under
Robot Chicken
Answer: The Hitchhiker's Guide to the Galaxy
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Hitchhiker's Guide to the Galaxy" . ?e <duration> ?pv_1 . ?pv_1 <pred:unit> "minute" . ?pv_1 <pred:value> "33"^^xsd:double . } UNION { ?e <pred:name> "Battlestar Galactica" . ?e <number_of_episodes> ?pv_2 . ?pv_2 <pred:unit> "1" . ?pv_2 <pred:value> "24"^^xsd:double . } ?e <number_of_episodes> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: The Hitchhiker's Guide to the Galaxy
function: FilterNum
dependencies: 0
inputs: duration
33 minute
=
function: Find
inputs: Battlestar Galactica
function: FilterNum
dependencies: 2
inputs: number of episodes
24
=
function: SelectBetween
dependencies: 1
3
inputs: number of episodes
less