Question: Does The Rocketeer, with Jon Polito as a cast member, or The Parent Trap, distributed in the UK, have the shorter run-time?
Choices:
The Rocketeer
National Treasure: Book of Secrets
Holes
The Parent Trap
G-Force
Old Dogs
John Carter
Alvin and the Chipmunks: Chipwrecked
The Flintstones in Viva Rock Vegas
The Muppets
Program:
function: Find
inputs: Jon Polito
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: The Rocketeer
function: And
dependencies: 1
2
function: Find
inputs: United Kingdom
function: Relate
dependencies: 4
inputs: film distribute region
backward
function: Find
inputs: The Parent Trap
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Rocketeer" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Jon Polito" .   } UNION { ?e <pred:name> "The Parent Trap" . ?e <film_distribute_region> ?e_2 . ?e_2 <pred:name> "United Kingdom" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: The Rocketeer