Question: Which has fewer episodes, Star Trek whose official website is http://startrek.com or Mighty Morphin Power Rangers with 3 seasons?
Choices: Law & Order
The Little Mermaid
Dragon Ball
Transformers
Shrek
Mighty Morphin Power Rangers
Star Trek
Star Wars
Jurassic Park
From Dusk till Dawn
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Star Trek" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> "http://startrek.com" . } UNION { ?e <pred:name> "Mighty Morphin Power Rangers" . ?e <number_of_seasons> ?pv_2 . ?pv_2 <pred:unit> "1" . ?pv_2 <pred:value> "3"^^xsd:double . } ?e <number_of_episodes> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Star Trek
function: FilterStr
dependencies: 0
inputs: official website
http://startrek.com
function: Find
inputs: Mighty Morphin Power Rangers
function: FilterNum
dependencies: 2
inputs: number of seasons
3
=
function: SelectBetween
dependencies: 1
3
inputs: number of episodes
less
Answer: Mighty Morphin Power Rangers