Question: Is the run-time shorter on Godzilla, filmed in Japan, or Bad Teacher, released in the Philippines?
Choices:
A Prairie Home Companion
Training Day
Bad Teacher
The Towering Inferno
Pleasantville
Curse of the Golden Flower
Godzilla
The Hunchback of Notre Dame
The Fifth Element
Rebecca
Program:
function: Find
inputs: Japan
function: Relate
dependencies: 0
inputs: filming location
backward
function: Find
inputs: Godzilla
function: And
dependencies: 1
2
function: Find
inputs: Philippines
function: Relate
dependencies: 4
inputs: film release region
backward
function: Find
inputs: Bad Teacher
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Godzilla" . ?e <filming_location> ?e_1 . ?e_1 <pred:name> "Japan" .   } UNION { ?e <pred:name> "Bad Teacher" . ?e <film_release_region> ?e_2 . ?e_2 <pred:name> "Philippines" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Bad Teacher