Question: Which English language work is shorter: Back to the Future or Neighbours?
Choices:
Robot Chicken
Saturday Night's Main Event
Bleak House
Neighbours
Back to the Future
Phineas and Ferb
Game of Thrones
Dancing with the Stars
Seinfeld
American Horror Story
Program:
function: Find
inputs: English
function: Relate
dependencies: 0
inputs: language of work or name
backward
function: Find
inputs: Back to the Future
function: And
dependencies: 1
2
function: Find
inputs: English
function: Relate
dependencies: 4
inputs: language of work or name
backward
function: Find
inputs: Neighbours
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Back to the Future" . ?e <language_of_work_or_name> ?e_1 . ?e_1 <pred:name> "English" .   } UNION { ?e <pred:name> "Neighbours" . ?e <language_of_work_or_name> ?e_2 . ?e_2 <pred:name> "English" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Neighbours