Question: Which one is shorter, Mobile Suit Gundam SEED Destiny or Titanic starring Peter Gallagher?
Choices:
Bleak House
Mobile Suit Gundam SEED Destiny
Titanic
American Horror Story
Dancing with the Stars
Robot Chicken
Six Feet Under
Phineas and Ferb
Saturday Night's Main Event
Game of Thrones
Program:
function: Find
inputs: Mobile Suit Gundam SEED Destiny
function: Find
inputs: Peter Gallagher
function: Relate
dependencies: 1
inputs: cast member
backward
function: Find
inputs: Titanic
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Mobile Suit Gundam SEED Destiny" .  } UNION { ?e <pred:name> "Titanic" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Peter Gallagher" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Mobile Suit Gundam SEED Destiny