Question: Does Starter for 10 or Brooklyn, filmed in Montreal, have the longer run-time?
Choices:
Talk to Her
The Towering Inferno
The Fifth Element
Starter for 10
Rebecca
Training Day
Curse of the Golden Flower
A Prairie Home Companion
Brooklyn
The Hunchback of Notre Dame
Program:
function: Find
inputs: Starter for 10
function: Find
inputs: Montreal
function: Relate
dependencies: 1
inputs: filming location
backward
function: Find
inputs: Brooklyn
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Starter for 10" .  } UNION { ?e <pred:name> "Brooklyn" . ?e <filming_location> ?e_1 . ?e_1 <pred:name> "Montreal" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Brooklyn