owl - Why Jena is not returning declared RDFS properties? -
i use jena's ontclass.listdeclaredproperies() functions. every class supposed have rdfs properties (e.g. rdfs:comment), listdeclaredproperies never returns of them. how associated class , how them?
update 1
i thought ontology classes have automatically declared rdfs properties. in documentation of rdfs properties written comment property "the rdfs:domain of rdfs:comment rdfs:resource". because ontology classes rdfs:resource thought should have rdfs:comment property automatically , should (together other rdfs properties) calling listdeclaredproperies function (this function returns properties of superclasses) i'm missing rdfs properties...
example
so when call listdeclaredproperies @ class (anyclass.listdeclaredproperies()), rdfs properties listed "normal" properties. why doesn't work? can add value of rdfs properties class or individual (e.g. label, comment etc.) explanation.
Comments
Post a Comment