Question: Which is longer, The SpongeBob SquarePants Movie released in the Philippines or Peter Pan whose exploitation visa number is 14043?
Choices:
Renaissance
Cinderella
The SpongeBob SquarePants Movie
Aladdin
Shrek 2
Peter Pan
WALL·E
Lilo & Stitch
The Rescuers
Winnie the Pooh
Answer: The SpongeBob SquarePants Movie
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The SpongeBob SquarePants Movie" . ?e <film_release_region> ?e_1 . ?e_1 <pred:name> "Philippines" . } UNION { ?e <pred:name> "Peter Pan" . ?e <exploitation_visa_number> ?pv_1 . ?pv_1 <pred:value> "14043" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Philippines
function: Relate
dependencies: 0
inputs: film release region
backward
function: Find
inputs: The SpongeBob SquarePants Movie
function: And
dependencies: 1
2
function: Find
inputs: Peter Pan
function: FilterStr
dependencies: 4
inputs: exploitation visa number
14043
function: SelectBetween
dependencies: 3
5
inputs: duration
greater