Question: Does Ugly Betty or the Twin Peaks with Laura Dern as a cast member have fewer episodes?
Choices:
Ugly Betty
Seinfeld
Saturday Night's Main Event
Dancing with the Stars
American Horror Story
Bleak House
Six Feet Under
Twin Peaks
Phineas and Ferb
Robot Chicken
Program:
function: Find
inputs: Ugly Betty
function: Find
inputs: Laura Dern
function: Relate
dependencies: 1
inputs: cast member
backward
function: Find
inputs: Twin Peaks
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: number of episodes
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Ugly Betty" .  } UNION { ?e <pred:name> "Twin Peaks" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Laura Dern" .   } ?e <number_of_episodes> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Twin Peaks