Question: Does sexploitation film Angel or Priest, with Paul Bettany as a cast member, have the longer running time?
Choices:
Curse of the Golden Flower
Priest
A Prairie Home Companion
Talk to Her
Pleasantville
Training Day
The Fifth Element
Angel
Rebecca
The Hunchback of Notre Dame
Program:
function: Find
inputs: sexploitation film
function: Relate
dependencies: 0
inputs: genre
backward
function: Find
inputs: Angel
function: And
dependencies: 1
2
function: Find
inputs: Paul Bettany
function: Relate
dependencies: 4
inputs: cast member
backward
function: Find
inputs: Priest
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Angel" . ?e <genre> ?e_1 . ?e_1 <pred:name> "sexploitation film" .   } UNION { ?e <pred:name> "Priest" . ?e <cast_member> ?e_2 . ?e_2 <pred:name> "Paul Bettany" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Priest