if (!equals(item.subject, rdf.type)) {
                ctx.dataStore.getInternalStore().newPropertyAction(
                    item.subject as NamedNode,
                    (quad: Quad) => {
                        ctx.store.addQuads([rdfFactory.quad(quad.subject, rdf.type, item.object)]);