Question: Is the running time shorter for The A-Team, first broadcast on NBC, or The View?
Choices:
American Horror Story
The A-Team
Seinfeld
Saturday Night's Main Event
Six Feet Under
Robot Chicken
The View
Phineas and Ferb
Dancing with the Stars
Bleak House
Program:
function: Find
inputs: NBC
function: Relate
dependencies: 0
inputs: original network
backward
function: Find
inputs: The A-Team
function: And
dependencies: 1
2
function: Find
inputs: The View
function: SelectBetween
dependencies: 3
4
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The A-Team" . ?e <original_network> ?e_1 . ?e_1 <pred:name> "NBC" .   } UNION { ?e <pred:name> "The View" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: The View