Question: Is Mulan with George Takei or The Adventures of Tintin by Sony Pictures longer?
Choices:
The Rescuers
Mulan
The Adventures of Tintin
WALL·E
Shrek 2
Beauty and the Beast
Aladdin
Peter Pan
Renaissance
Winnie the Pooh
Program:
function: Find
inputs: George Takei
function: Relate
dependencies: 0
inputs: voice actor
backward
function: Find
inputs: Mulan
function: And
dependencies: 1
2
function: Find
inputs: Sony Pictures
function: Relate
dependencies: 4
inputs: production company
backward
function: Find
inputs: The Adventures of Tintin
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Mulan" . ?e <voice_actor> ?e_1 . ?e_1 <pred:name> "George Takei" .   } UNION { ?e <pred:name> "The Adventures of Tintin" . ?e <production_company> ?e_2 . ?e_2 <pred:name> "Sony Pictures" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: The Adventures of Tintin