restrict_derivation function

Execute a Derivation on a Subset of the Input Dataset