Question: Which show has fewer episodes, The Ten Commandments (the one that origins from United Kingdom) or Fear the Walking Dead?
Choices:
Emma
George Washington
The Pacific
The Diary of Anne Frank
Roots
The Civil War
The Ten Commandments
The Stand
Edge of Darkness
Fear the Walking Dead
Program:
function: Find
inputs: United Kingdom
function: Relate
dependencies: 0
inputs: country of origin
backward
function: Find
inputs: The Ten Commandments
function: And
dependencies: 1
2
function: Find
inputs: Fear the Walking Dead
function: SelectBetween
dependencies: 3
4
inputs: number of episodes
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Ten Commandments" . ?e <country_of_origin> ?e_1 . ?e_1 <pred:name> "United Kingdom" .   } UNION { ?e <pred:name> "Fear the Walking Dead" .  } ?e <number_of_episodes> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: The Ten Commandments