Question: Between the movie Cars, which has a Russia release region, and A Bug's Life, which has English as its original language, which film has a longer running time?
Choices:
WALL·E
Winnie the Pooh
Aladdin
Cars
Peter Pan
The Rescuers
Beauty and the Beast
Renaissance
Lilo & Stitch
A Bug's Life
Program:
function: Find
inputs: Russia
function: Relate
dependencies: 0
inputs: film release region
backward
function: Find
inputs: Cars
function: And
dependencies: 1
2
function: Find
inputs: English
function: Relate
dependencies: 4
inputs: original language of film or TV show
backward
function: Find
inputs: A Bug's Life
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Cars" . ?e <film_release_region> ?e_1 . ?e_1 <pred:name> "Russia" .   } UNION { ?e <pred:name> "A Bug's Life" . ?e <original_language_of_film_or_TV_show> ?e_2 . ?e_2 <pred:name> "English" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Cars