code: public static Function<Triple, Triple> unskolemizeTriples(final ResourceService svc, final String baseUrl) {
          return triple -> rdf.createTriple((BlankNodeOrIRI) svc.toExternal(svc.unskolemize(triple.getSubject()),
                      baseUrl), triple.getPredicate(), svc.toExternal(svc.unskolemize(triple.getObject()), baseUrl));
      }
docs: Convert triples from a skolemized form to an externa form.
  
  @param svc the resourceService
  @param baseUrl the base URL
  @return a mapping function