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

attribute and slot usage in one schema #138

Open
djarecka opened this issue Feb 6, 2024 · 0 comments
Open

attribute and slot usage in one schema #138

djarecka opened this issue Feb 6, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@djarecka
Copy link
Contributor

djarecka commented Feb 6, 2024

I would like to use both slots and attributes in one schema. I was having issue with creating attributes column (see #128 ), but I found a cli option --use-attributes, but if I use this option it looks like everything is treated as attributes and I would like to have an option to do both.

For example, for a table:

| Proposed BICAN Field | SubGroup/LinkML Class Name | Range   |
|----------------------|----------------------------|---------|
|> slot                | class                      | range   |
|----------------------|----------------------------|---------|
| attr1                | class1                     | integer |
| attr2                | class2                     | float   |
| slot1                |                            | float   |
| slot1                | class1                     |         |

I would think that attr1 and attr2 could be treated as attributes but slot1 that has two rows (one with class the other without) could be treated as a slot

@sujaypatil96 sujaypatil96 transferred this issue from linkml/schemasheets Feb 6, 2024
@sujaypatil96 sujaypatil96 self-assigned this Feb 6, 2024
@sujaypatil96 sujaypatil96 added the enhancement New feature or request label Feb 6, 2024
@sujaypatil96 sujaypatil96 transferred this issue from linkml/linkml Mar 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants