Comments (5)
can you give more context?
from schemasheets.
I think we discussed this somewhere else, so I'll try to look that up. Maybe even another GH issue!
I would like to make slot usage assertions about columns that have been set as identifiers at the schema level. The use case is saying where slots should appear as columns in DataHarmonizer. We have been doing that with assertions but will be switching to slot groups and ranks.
Assume I
- define the slot, with the identifier assertion, on its own row in schemasheets
- define a class on it's own row
- use a third row, mentioning the class and the slot, to make slot usage assertions
LinkML doesn't like that, because then I have an id
slot on class biosample
(inherited from named thing
) and biosample_id
from the slot usage.
from schemasheets.
are you trying to deliberately override the name to rename id
and biosample_id
?
I suspect what the issue is here is that the slot_usage causes a name mangling - can you say where this manifests?
from schemasheets.
this issue overlaps with the broader LinkML questions
- why can't a class have multiple identifiers
- why isn't there a
unique
attribute for slots - compound unique_keys ? seems complicated
from schemasheets.
we now have compound keys. closing as complete, please reopen if necessary. :)
from schemasheets.
Related Issues (20)
- repo missing LICENSE.md
- the converter doesn't work with the gsheet example
- no docker image available
- linkml2sheets reports `slots` isn't implemented
- Provide pre-test for #109
- Export a schemasheet from a schema with no template HOT 2
- change `import pkg_resources` in `generate_populate.py` to `importlib` HOT 2
- audit the names of variable added in branch `exporting-without-tsv-templ` HOT 1
- merge from branch `exporting-without-tsv-templ` requires unit tests
- Support schema-level settings in the metamodel
- test support for schema elements required for a full-schemasheets MIxS model
- string-ify list items before pasting
- Basics description HOT 1
- linkml2schemasheets-template is not guaranteed to produce a row for every slot used by every class
- issues with attributes column HOT 1
- slots are created when using `--use-attributes`
- using `template` to create exact mapping
- Blank permissible values for enumerations
- adding option to support attributes together with slots
- attribute and slot usage in one schema
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from schemasheets.