Question: Which has fewer episodes, Adrian (the one that origins from Italy) or Fist of the North Star (the one that is originally aired on Fuji Television)?
Choices:
Fist of the North Star
American Dad!
Tiny Toon Adventures
Robot Chicken
Adrian
The Cleveland Show
Aladdin
The Venture Bros.
Phineas and Ferb
South Park
Program:
function: Find
inputs: Italy
function: Relate
dependencies: 0
inputs: country of origin
backward
function: Find
inputs: Adrian
function: And
dependencies: 1
2
function: Find
inputs: Fuji Television
function: Relate
dependencies: 4
inputs: original network
backward
function: Find
inputs: Fist of the North Star
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: number of episodes
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Adrian" . ?e <country_of_origin> ?e_1 . ?e_1 <pred:name> "Italy" .   } UNION { ?e <pred:name> "Fist of the North Star" . ?e <original_network> ?e_2 . ?e_2 <pred:name> "Fuji Television" .  } ?e <number_of_episodes> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Adrian