Question: Between the show Angel, in which Andy Hallett does memorable work, and the show America's Got Talent, which show has fewer episodes?
Choices:
Game of Thrones
American Horror Story
Phineas and Ferb
Seinfeld
Dancing with the Stars
Angel
America's Got Talent
Bleak House
Robot Chicken
Six Feet Under
Program:
function: Find
inputs: Andy Hallett
function: Relate
dependencies: 0
inputs: notable work
forward
function: Find
inputs: Angel
function: And
dependencies: 1
2
function: Find
inputs: America's Got Talent
function: SelectBetween
dependencies: 3
4
inputs: number of episodes
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Angel" . ?e_1 <notable_work> ?e . ?e_1 <pred:name> "Andy Hallett" .   } UNION { ?e <pred:name> "America's Got Talent" .  } ?e <number_of_episodes> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Angel