Use topological order for TriplesMap processing

In RDF generation, we need to make sure add the workers in the correct
topological order.  Otherwise, they will deadlock waiting for the
workers they depend on to finish, which  won’t have started.
Fixes for topological sort for RDF generation
More fixes for topological sort for RDF Generation
Don't try to expand https when formatting URIs