Question: Which has fewer seasons, Smallville or War and Peace (the one whose release region is Belgium)?
Choices:
Dancing with the Stars
Game of Thrones
War and Peace
Seinfeld
Smallville
Robot Chicken
Saturday Night's Main Event
Phineas and Ferb
American Horror Story
Six Feet Under
Program:
function: Find
inputs: Smallville
function: Find
inputs: Belgium
function: Relate
dependencies: 1
inputs: film release region
backward
function: Find
inputs: War and Peace
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: number of seasons
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Smallville" .  } UNION { ?e <pred:name> "War and Peace" . ?e <film_release_region> ?e_1 . ?e_1 <pred:name> "Belgium" .   } ?e <number_of_seasons> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: War and Peace