simphony-osp icon indicating copy to clipboard operation
simphony-osp copied to clipboard

Multi-class Individuals

Open yoavnash opened this issue 4 years ago • 3 comments

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.

yoavnash avatar Jul 13 '21 10:07 yoavnash

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).

kysrpex avatar Sep 16 '22 10:09 kysrpex

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

adhamhashibon avatar Jun 28 '23 05:06 adhamhashibon

I think no

yoavnash avatar Jun 28 '23 07:06 yoavnash