function to allow collection of all graph namespaces
tweak the query
abstract the TestSource and make Endpoint/DumpSources subclasses