61d895229e:-7e84
> Anonymous class' URI: null
>
>
> How else can I programmatically determine whether a restriction comes from
> the imported or from the importing ontology
> Cheers, Jos
>
>
>
> -Ursprüngliche Nachricht-
> Von: Lorenz Buehmann [mailto:buehm
triction comes
> from the imported or from the importing ontology
> Cheers, Jos
>
>
>
> -Ursprüngliche Nachricht-----
> Von: Lorenz Buehmann [mailto:buehm...@informatik.uni-leipzig.de]
> Gesendet: Dienstag, 27. Februar 2018 12:29
> An: users@jena.apache.org
> Betreff: Re
esendet: Dienstag, 27. Februar 2018 12:29
An: users@jena.apache.org
Betreff: Re: AW: URI of anonymous classes
You can get access to imported models via
OntModel::getImportedModel(String uri)
or
OntModel::listSubModels(boolean withImports)
Javadoc[1] is always your friend.
[1]
https://jena.ap
You can get access to imported models via
OntModel::getImportedModel(String uri)
or
OntModel::listSubModels(boolean withImports)
Javadoc[1] is always your friend.
[1]
https://jena.apache.org/documentation/javadoc/jena/org/apache/jena/ontology/OntModel.html
On 27.02.2018 11:48, Jos Lehmann
As an integration to my question (see Ursprüngliche Nachricht) please see
further down the ouput of re-writing the importing ontology*.
The same intersection is repeated. Yet, Protege is able to tell that one of the
two intesections comes from the imported ontology the other from the importing