Question: Which film has the longer runtime, Tarzan (whose exploitation visa number is 97917) or Astro Boy (whose genre is adventure film)?
Choices:
Astro Boy
Lilo & Stitch
The Rescuers
Peter Pan
Shrek 2
Beauty and the Beast
Renaissance
Winnie the Pooh
WALL·E
Aladdin
Answer: Astro Boy
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Tarzan" . ?e <exploitation_visa_number> ?pv_1 . ?pv_1 <pred:value> "97917" . } UNION { ?e <pred:name> "Astro Boy" . ?e <genre> ?e_1 . ?e_1 <pred:name> "adventure film" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Tarzan
function: FilterStr
dependencies: 0
inputs: exploitation visa number
97917
function: Find
inputs: adventure film
function: Relate
dependencies: 2
inputs: genre
backward
function: Find
inputs: Astro Boy
function: And
dependencies: 3
4
function: SelectBetween
dependencies: 1
5
inputs: duration
greater