simphony / simphony-osp

A framework that aims to achieve interoperability between software such as simulation engines, databases and data repositories using a knowledge graph as the common language.
https://simphony.readthedocs.io
Other
16 stars 12 forks source link

Multi-class Individuals #669

Open yoavnash opened 3 years ago

yoavnash commented 3 years ago

Support the creation of individuals that are of multiple types/classes without knowing the classes in advance. For example, as it is done here: https://owlready2.readthedocs.io/en/latest/class.html#mutli-class-individuals.

Use case: In the knowledge app, software types (e.g., database, atomistic simulation, etc.) are represented via classes. Since a specific software can be of multiple types, this feature is required.

kysrpex commented 2 years ago

Now that the SimPhoNy v4 documentation is ready: please have a look at this and this.

That is already a way to do what you need. In a point release I will also introduce the possibility to initialize an individual using OntologyIndividual() and let you specify the classes there (therefore this issue remains open).

adhamhashibon commented 1 year ago

@yoavnash @kysrpex was there any discussion of what would be a default main IRI for an individual?

yoavnash commented 1 year ago

I think no