Added rudimentary query support for project provenance.

Allows the user to find provenance elements and see how they are directly related.