Question: Is the running time longer for Beauty and the Beast, first broadcast on The CW, or for The X-Files, with Dave Grohl as a cast member?
Choices: Bleak House
The X-Files
American Horror Story
Robot Chicken
Six Feet Under
Saturday Night's Main Event
Seinfeld
Game of Thrones
Dancing with the Stars
Phineas and Ferb
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Beauty and the Beast" . ?e <original_network> ?e_1 . ?e_1 <pred:name> "The CW" .   } UNION { ?e <pred:name> "The X-Files" . ?e <cast_member> ?e_2 . ?e_2 <pred:name> "Dave Grohl" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: The CW
function: Relate
dependencies: 0
inputs: original network
backward
function: Find
inputs: Beauty and the Beast
function: And
dependencies: 1
2
function: Find
inputs: Dave Grohl
function: Relate
dependencies: 4
inputs: cast member
backward
function: Find
inputs: The X-Files
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: duration
greater
Answer: The X-Files