Question: Does Mr. & Mrs. Smith (that uses the English language) or Lost in Space (that has 83 episodes) have the shorter runtime?
Choices:
Mr. & Mrs. Smith
American Horror Story
Lost in Space
Saturday Night's Main Event
Seinfeld
Robot Chicken
Dancing with the Stars
Game of Thrones
Bleak House
Six Feet Under
Program:
function: Find
inputs: English
function: Relate
dependencies: 0
inputs: language of work or name
backward
function: Find
inputs: Mr. & Mrs. Smith
function: And
dependencies: 1
2
function: Find
inputs: Lost in Space
function: FilterNum
dependencies: 4
inputs: number of episodes
83
=
function: SelectBetween
dependencies: 3
5
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Mr. & Mrs. Smith" . ?e <language_of_work_or_name> ?e_1 . ?e_1 <pred:name> "English" . } UNION { ?e <pred:name> "Lost in Space" . ?e <number_of_episodes> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "83"^^xsd:double . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Mr. & Mrs. Smith