Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multi-class Individuals #669

Open
yoavnash opened this issue Jul 13, 2021 · 3 comments
Open

Multi-class Individuals #669

yoavnash opened this issue Jul 13, 2021 · 3 comments
Labels
🌱 new feature Solving the issue involves the incorporation of a new feature.

Comments

@yoavnash
Copy link
Member

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 kysrpex added 🌱 new feature Solving the issue involves the incorporation of a new feature. and removed knowledge app labels Aug 12, 2021
@kysrpex kysrpex changed the title Mutli-class Individuals Multi-class Individuals Nov 12, 2021
@kysrpex
Copy link
Contributor

kysrpex commented Sep 16, 2022

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
Copy link

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

@yoavnash
Copy link
Member Author

I think no

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🌱 new feature Solving the issue involves the incorporation of a new feature.
Projects
None yet
Development

No branches or pull requests

3 participants