Hi there I am copying Classes and/or Instances as well as their properties from one ontology to another.
To get the list of Classe and/or Instance properties from the source ontology I use listProperties() But this gives much more than I need: i.e. superproperties, as well as other stuff, which clutters my copy ontology. I have tried to filter out undesired properties by recursive while calls on Next(), or by trying to find a cut-off in the property list. But these solutions are not general enough. I would like to just get the asserted properties when querying the source ontology. Is that possible? I can give more detail if needed. Thanks, Jos