Question: Which movie runs longer: Cars or A Bug's Life?
Choices:
Aladdin
Renaissance
Lilo & Stitch
WALL·E
Beauty and the Beast
Cars
Shrek 2
A Bug's Life
Peter Pan
The Rescuers
Program:
function: Find
inputs: Germany
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> "Germany" .   } 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