Question: Does Python (the one whose genre is monster film) or Total Recall (the one whose release region is Indonesia) have greater duration ?
Choices:
A Prairie Home Companion
Total Recall
The Hunchback of Notre Dame
Training Day
Python
The Towering Inferno
Pleasantville
The Fifth Element
Rebecca
Curse of the Golden Flower
Answer: Total Recall
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Python" . ?e <genre> ?e_1 . ?e_1 <pred:name> "monster film" .   } UNION { ?e <pred:name> "Total Recall" . ?e <film_release_region> ?e_2 . ?e_2 <pred:name> "Indonesia" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: monster film
function: Relate
dependencies: 0
inputs: genre
backward
function: Find
inputs: Python
function: And
dependencies: 1
2
function: Find
inputs: Indonesia
function: Relate
dependencies: 4
inputs: film release region
backward
function: Find
inputs: Total Recall
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: duration
greater