Hi, I am quite new to mailing-lists, so sorry if this is not the way, how I should start a "topic".
I have the attached ontology and I'm trying to list declared properties of the class "Dataset" via: OntClass ontclass = mOntModel.getOntClass(namespace + "#Dataset"); ExtendedIterator<OntProperty> ei = ontclass.listDeclaredProperties(); Doing it this way I get much properties, which actually aren't properties from dataset (hasDataAnalysis, hasPublishing, ...). Loading it with direct = true gives me the correct properties. So far so good, the problem is, that I get now wrong results when using: OntClass ontclass = mOntModel.getOntClass(namespace + "#LifecycleResource"); ExtendedIterator<OntProperty> ei = ontclass.listDeclaredProperties(true); Now the only property is "hasKey" (missing hasName, hasTimestamp, ...). Is the ontology wrong defined? Or do I miss anything else? I fixed one class and the other is no broken. I have no idea, what the issue could be. For any ideas many thanks in advice. Best regards, Michael
