Question: Which show has fewer seasons, Hallmark Hall of Fame or Spy Game (the one whose narrative location is Los Angeles)?
Choices:
Six Feet Under
American Horror Story
Game of Thrones
Phineas and Ferb
Bleak House
Seinfeld
Hallmark Hall of Fame
Spy Game
Saturday Night's Main Event
Dancing with the Stars
Program:
function: Find
inputs: Hallmark Hall of Fame
function: Find
inputs: Los Angeles
function: Relate
dependencies: 1
inputs: narrative location
backward
function: Find
inputs: Spy Game
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: number of seasons
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Hallmark Hall of Fame" .  } UNION { ?e <pred:name> "Spy Game" . ?e <narrative_location> ?e_1 . ?e_1 <pred:name> "Los Angeles" .   } ?e <number_of_seasons> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Spy Game