Question: Does the shorter run-time belong to Beetlejuice, produced by Tim Burton, or the comedy-drama Bones?
Choices: Robot Chicken
Game of Thrones
Bones
Saturday Night's Main Event
Dancing with the Stars
Six Feet Under
American Horror Story
Phineas and Ferb
Beetlejuice
Bleak House
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Beetlejuice" . ?e <producer> ?e_1 . ?e_1 <pred:name> "Tim Burton" .   } UNION { ?e <pred:name> "Bones" . ?e <genre> ?e_2 . ?e_2 <pred:name> "comedy-drama" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Tim Burton
function: Relate
dependencies: 0
inputs: producer
backward
function: Find
inputs: Beetlejuice
function: And
dependencies: 1
2
function: Find
inputs: comedy-drama
function: Relate
dependencies: 4
inputs: genre
backward
function: Find
inputs: Bones
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: duration
less
Answer: Beetlejuice