Question: Which one is shorter, Anna Karenina (which includes Jacqueline Bisset), or Tripoli, from Paramount Pictures?
Choices:
Anna Karenina
Curse of the Golden Flower
The Hunchback of Notre Dame
The Fifth Element
Tripoli
Rebecca
Pleasantville
Training Day
Talk to Her
A Prairie Home Companion
Answer: Tripoli
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Tripoli" . ?e <distributor> ?e_1 . ?e_1 <pred:name> "Paramount Pictures" .   } UNION { ?e <pred:name> "Anna Karenina" . ?e <cast_member> ?e_2 . ?e_2 <pred:name> "Jacqueline Bisset" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Paramount Pictures
function: Relate
dependencies: 0
inputs: distributor
backward
function: Find
inputs: Tripoli
function: And
dependencies: 1
2
function: Find
inputs: Jacqueline Bisset
function: Relate
dependencies: 4
inputs: cast member
backward
function: Find
inputs: Anna Karenina
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: duration
less