Question: Which movie is longer, True Blood or South Park (the one that has Isaac Hayes as a voice actor)?
Choices:
Phineas and Ferb
South Park
Six Feet Under
Robot Chicken
American Horror Story
Bleak House
True Blood
Seinfeld
Saturday Night's Main Event
Dancing with the Stars
Program:
function: Find
inputs: True Blood
function: Find
inputs: Isaac Hayes
function: Relate
dependencies: 1
inputs: voice actor
backward
function: Find
inputs: South Park
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "True Blood" .  } UNION { ?e <pred:name> "South Park" . ?e <voice_actor> ?e_1 . ?e_1 <pred:name> "Isaac Hayes" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: True Blood