class SimpleNamedGraph extends AbstractStatementSet implements NamedGraph {

    @Override
    public boolean equals(Object o) {
        if (this == o) {
            return true;
        }
        if (o instanceof SimpleNamedGraph) {
            SimpleNamedGraph graph = (SimpleNamedGraph) o;

            if (!getGraphID().equals(graph.getGraphID()))
                return false;

            SesameModelWrapper model1 = new SesameModelWrapper(new org.eclipse.rdf4j.model.impl.LinkedHashModel());
            model1.addAll(this);

            SesameModelWrapper model2 = new SesameModelWrapper(new org.eclipse.rdf4j.model.impl.LinkedHashModel());
            model2.addAll(graph);

            return Models.isomorphic(model1.getSesameModel(), model2.getSesameModel());
        }
        return false;
    }

    protected  SimpleNamedGraph(Resource graphID, ModelFactory factory);
    public  SimpleNamedGraph();
    public  SimpleNamedGraph(Resource graphID);
    public  SimpleNamedGraph(Resource graphID, @Nonnull Model model);
    public  SimpleNamedGraph(Resource graphID, @Nonnull Collection<@Nonnull ? extends Statement> c);
    public  SimpleNamedGraph(Resource graphID, @Nonnull Set<@Nonnull Namespace> namespaces);
    public  SimpleNamedGraph(Resource graphID, @Nonnull Set<@Nonnull Namespace> namespaces, @Nonnull Collection<@Nonnull ? extends Statement> c);

}