Question: Which film has the longer runtime, An Education or Julia (distributed by StudioCanal)?
Choices:
Talk to Her
An Education
Rebecca
The Towering Inferno
The Fifth Element
The Hunchback of Notre Dame
Curse of the Golden Flower
Julia
Pleasantville
A Prairie Home Companion
Program:
function: Find
inputs: An Education
function: Find
inputs: StudioCanal
function: Relate
dependencies: 1
inputs: distributor
backward
function: Find
inputs: Julia
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "An Education" .  } UNION { ?e <pred:name> "Julia" . ?e <distributor> ?e_1 . ?e_1 <pred:name> "StudioCanal" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Julia