You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@jena.apache.org by Jos Lehmann <Jo...@bauhaus-luftfahrt.net> on 2017/11/28 11:18:21 UTC

How to get the ontology header

Hi there

How by using jena do I get and print on the console the ontology header, i.e. the annotation that in Protege are listed as Ontology header in tab Active Ontology?

Thanks, Jos

AW: How to get the ontology header

Posted by Jos Lehmann <Jo...@bauhaus-luftfahrt.net>.
It worked, thanks -- esp. for the documentation reference.

Jos

-----Ursprüngliche Nachricht-----
Von: Lorenz Buehmann [mailto:buehmann@informatik.uni-leipzig.de] 
Gesendet: Dienstag, 28. November 2017 14:00
An: users@jena.apache.org
Betreff: Re: How to get the ontology header

I guess this is explained in the documentation [1]

Basically, the ontology object would be the triple subject, and as the information are annotations, it's encoded via simple triples with the annotation property beeing the predicate.


[1] https://jena.apache.org/documentation/ontology/#ontology-meta-data


Cheers,

Lorenz


On 28.11.2017 12:18, Jos Lehmann wrote:
> Hi there
>
> How by using jena do I get and print on the console the ontology header, i.e. the annotation that in Protege are listed as Ontology header in tab Active Ontology?
>
> Thanks, Jos
>


Re: How to get the ontology header

Posted by Lorenz Buehmann <bu...@informatik.uni-leipzig.de>.
I guess this is explained in the documentation [1]

Basically, the ontology object would be the triple subject, and as the
information are annotations, it's encoded via simple triples with the
annotation property beeing the predicate.


[1] https://jena.apache.org/documentation/ontology/#ontology-meta-data


Cheers,

Lorenz


On 28.11.2017 12:18, Jos Lehmann wrote:
> Hi there
>
> How by using jena do I get and print on the console the ontology header, i.e. the annotation that in Protege are listed as Ontology header in tab Active Ontology?
>
> Thanks, Jos
>