Question: Which one has less duration,The Smurfs or American Horror Story?
Choices:
Aladdin
Batman Beyond
Phineas and Ferb
South Park
The Smurfs
American Dad!
The Venture Bros.
Tiny Toon Adventures
The Cleveland Show
American Horror Story
Program:
function: Find
inputs: English
function: Relate
dependencies: 0
inputs: language of work or name
backward
function: Find
inputs: The Smurfs
function: And
dependencies: 1
2
function: Find
inputs: American Horror Story
function: SelectBetween
dependencies: 3
4
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Smurfs" . ?e <language_of_work_or_name> ?e_1 . ?e_1 <pred:name> "English" .   } UNION { ?e <pred:name> "American Horror Story" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: The Smurfs