For example, my ontology have
ontology IRI: example.com/onto1
and
current version IRI: example.com/onto1/1.0
What IRI should I use to import this ontology to new one?
I read the sections
3.1 Ontology IRI and Version IRI
3.3 Versioning of OWL 2 Ontologies
Of https://www.w3.org/TR/2009/REC-owl2-syntax-20091027 but have not yet grasped this issue.
And connected question: which URI should be specified as xmlns prefix in owl file in RDF/XML syntax?
The ontology IRI should be used to import an ontology when you do not care about the version - and you wish to use the latest version of an ontology. The version IRI will give you access to a specific version, if you, for example, need to refer to a particular state of the ontology (e.g., need to avoid the latest version because of undesired or erroneous inferences).