Question: Is the shorter work The Pacific or Taken, featuring Julie Benz as a cast member?
Choices:
The Pacific
Taken
The Ten Commandments
The Stand
Emma
Edge of Darkness
Roots
The Diary of Anne Frank
George Washington
Battlestar Galactica
Program:
function: Find
inputs: The Pacific
function: Find
inputs: Julie Benz
function: Relate
dependencies: 1
inputs: cast member
backward
function: Find
inputs: Taken
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Pacific" .  } UNION { ?e <pred:name> "Taken" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Julie Benz" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: The Pacific