Question: Which one between The Adventures of Ford Fairlane or The Longest Yard (the one that has Bernadette Peters as a cast member) has less duration?
Choices:
The Longest Yard
The Towering Inferno
Training Day
The Adventures of Ford Fairlane
The Fifth Element
A Prairie Home Companion
Pleasantville
Talk to Her
Curse of the Golden Flower
Rebecca
Answer: The Adventures of Ford Fairlane
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Adventures of Ford Fairlane" .  } UNION { ?e <pred:name> "The Longest Yard" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Bernadette Peters" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: The Adventures of Ford Fairlane
function: Find
inputs: Bernadette Peters
function: Relate
dependencies: 1
inputs: cast member
backward
function: Find
inputs: The Longest Yard
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: duration
less