class AxiomSaver {

    void saveAxioms(AxiomValueDescriptor descriptor) {
        final Resource subject = ResourceFactory.createResource(descriptor.getSubject().getIdentifier().toString());
        final Map<String, List<Statement>> statements = new HashMap<>();
        for (Assertion a : descriptor.getAssertions()) {
            final URI context = descriptor.getAssertionContext(a);
            final String strContext = context != null ? context.toString() : null;
            statements.putIfAbsent(strContext, new ArrayList<>());
            statements.get(strContext).addAll(transformToStatements(a, descriptor.getAssertionValues(a), subject));
        }
        statements.forEach((ctx, toAdd) -> connector.add(toAdd, ctx));
    }

      AxiomSaver(StorageConnector connector);

}