-
Notifications
You must be signed in to change notification settings - Fork 12
Open
Labels
🐛 bug❔ question❓ information neededThe issue cannot be solved until one of the interested parties provides more information.The issue cannot be solved until one of the interested parties provides more information.📜 ontology
Description
the superclasses
attribute returns the classes in random (alphabetical?) order, but should be in proper hierarchical order as it will convey more added value in applications.
e.g., superclasses of a citizen is now:
frozenset({<OntologyClass: City [https://www.simphony-osp.eu/city#City>,](https://www.simphony-osp.eu/city#City%3E,)
<OntologyClass: Geographical Place [https://www.simphony-osp.eu/city#GeographicalPlace>,](https://www.simphony-osp.eu/city#GeographicalPlace%3E,)
<OntologyClass: Populated Place [https://www.simphony-osp.eu/city#PopulatedPlace>,](https://www.simphony-osp.eu/city#PopulatedPlace%3E,)
<OntologyClass: [http://www.w3.org/2002/07/owl#Thing>})](http://www.w3.org/2002/07/owl#Thing%3E}))
probably we need to add a way to traverse iteratively from one level to the other, as in the original pretty_print function.
Metadata
Metadata
Assignees
Labels
🐛 bug❔ question❓ information neededThe issue cannot be solved until one of the interested parties provides more information.The issue cannot be solved until one of the interested parties provides more information.📜 ontology