Question: Which one, The Cleveland Show or Drive (the one that has Emma Stone as a cast member), has fewer number of episodes?
Choices:
Bleak House
Game of Thrones
Phineas and Ferb
Dancing with the Stars
Robot Chicken
American Horror Story
The Cleveland Show
Drive
Seinfeld
Saturday Night's Main Event
Answer: Drive
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Cleveland Show" .  } UNION { ?e <pred:name> "Drive" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Emma Stone" .   } ?e <number_of_episodes> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: The Cleveland Show
function: Find
inputs: Emma Stone
function: Relate
dependencies: 1
inputs: cast member
backward
function: Find
inputs: Drive
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: number of episodes
less