Question: Does The Wire or Battlestar Galactica (that has Ed Begley, Jr. as a cast member) have the longer runtime?
Choices: American Horror Story
Robot Chicken
Saturday Night's Main Event
Game of Thrones
Phineas and Ferb
Seinfeld
Dancing with the Stars
Bleak House
Six Feet Under
The Wire
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Wire" .  } UNION { ?e <pred:name> "Battlestar Galactica" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Ed Begley, Jr." .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: The Wire
function: Find
inputs: Ed Begley, Jr.
function: Relate
dependencies: 1
inputs: cast member
backward
function: Find
inputs: Battlestar Galactica
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: duration
greater
Answer: The Wire