subset function

Get a subset of provenance data