Question: Which movie is shorter, Savannah (the one that uses the language English) or Sons of Anarchy?
Choices:
American Horror Story
Robot Chicken
Seinfeld
Six Feet Under
Dancing with the Stars
Sons of Anarchy
Bleak House
Savannah
Game of Thrones
Phineas and Ferb
Program:
function: Find
inputs: English
function: Relate
dependencies: 0
inputs: language of work or name
backward
function: Find
inputs: Savannah
function: And
dependencies: 1
2
function: Find
inputs: Sons of Anarchy
function: SelectBetween
dependencies: 3
4
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Savannah" . ?e <language_of_work_or_name> ?e_1 . ?e_1 <pred:name> "English" .   } UNION { ?e <pred:name> "Sons of Anarchy" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Sons of Anarchy