Question: Which one is shorter, From the Earth to the Moon (the one that uses English language) or Lost in Space (the one whose number of seasons is 3)    ?
Choices:
Robot Chicken
Saturday Night's Main Event
Game of Thrones
Phineas and Ferb
American Horror Story
Seinfeld
From the Earth to the Moon
Bleak House
Lost in Space
Six Feet Under
Program:
function: Find
inputs: English
function: Relate
dependencies: 0
inputs: language of work or name
backward
function: Find
inputs: From the Earth to the Moon
function: And
dependencies: 1
2
function: Find
inputs: Lost in Space
function: FilterNum
dependencies: 4
inputs: number of seasons
3
=
function: SelectBetween
dependencies: 3
5
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "From the Earth to the Moon" . ?e <language_of_work_or_name> ?e_1 . ?e_1 <pred:name> "English" . } UNION { ?e <pred:name> "Lost in Space" . ?e <number_of_seasons> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "3"^^xsd:double . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Lost in Space