How to clone or copy a Jena-Ontology-Model (OntModel) to apply temporary changes?
问题 I've been searching for a solution for days now and since there is no forum at Apache Jena I had to create an account at stackoverflow to ask. My problem is that I need a temporary (deep) copy of an already loaded ontology, namely an object of OntModelImpl (with some imports but without any attached inference machine). Its purpose is to apply some validation steps on the model which require some SPARQL UPDATE queries to add some automatically generated triples first. These additional triples