Question: Which was shorter, Million Dollar Baby (produced by Gary Lucchesi) or Wag the Dog?
Choices:
Pleasantville
Rebecca
The Fifth Element
Talk to Her
Wag the Dog
The Hunchback of Notre Dame
The Towering Inferno
Curse of the Golden Flower
A Prairie Home Companion
Training Day
Program:
function: Find
inputs: Gary Lucchesi
function: Relate
dependencies: 0
inputs: executive producer
backward
function: Find
inputs: Million Dollar Baby
function: And
dependencies: 1
2
function: Find
inputs: Wag the Dog
function: SelectBetween
dependencies: 3
4
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Million Dollar Baby" . ?e <executive_producer> ?e_1 . ?e_1 <pred:name> "Gary Lucchesi" .   } UNION { ?e <pred:name> "Wag the Dog" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Wag the Dog