Question: Which is shorter: Alfie, with cast member Marisa Tomei, or Alien vs. Predator, released in the USA?
Choices:
Curse of the Golden Flower
Alien vs. Predator
The Hunchback of Notre Dame
Alfie
Talk to Her
The Towering Inferno
A Prairie Home Companion
Training Day
Rebecca
The Fifth Element
Program:
function: Find
inputs: Marisa Tomei
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Alfie
function: And
dependencies: 1
2
function: Find
inputs: United States of America
function: Relate
dependencies: 4
inputs: film release region
backward
function: Find
inputs: Alien vs. Predator
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Alfie" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Marisa Tomei" .   } UNION { ?e <pred:name> "Alien vs. Predator" . ?e <film_release_region> ?e_2 . ?e_2 <pred:name> "United States of America" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Alien vs. Predator