Question: Is the run-time shorter on the 91.0-minute The Damned or on Emma, with Kate Beckinsale as a cast member?
Choices:
Pleasantville
The Hunchback of Notre Dame
The Towering Inferno
Emma
A Prairie Home Companion
Talk to Her
The Damned
Rebecca
Training Day
The Fifth Element
Answer: The Damned
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Damned" . ?e <duration> ?pv_1 . ?pv_1 <pred:unit> "minute" . ?pv_1 <pred:value> "91.0"^^xsd:double . } UNION { ?e <pred:name> "Emma" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Kate Beckinsale" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: The Damned
function: FilterNum
dependencies: 0
inputs: duration
91.0 minute
=
function: Find
inputs: Kate Beckinsale
function: Relate
dependencies: 2
inputs: cast member
backward
function: Find
inputs: Emma
function: And
dependencies: 3
4
function: SelectBetween
dependencies: 1
5
inputs: duration
less