GithubHelp home page GithubHelp logo

Comments (5)

cmungall avatar cmungall commented on May 29, 2024 1

can you give more context?

from schemasheets.

turbomam avatar turbomam commented on May 29, 2024

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.

cmungall avatar cmungall commented on May 29, 2024

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.

turbomam avatar turbomam commented on May 29, 2024

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.

sierra-moxon avatar sierra-moxon commented on May 29, 2024

we now have compound keys. closing as complete, please reopen if necessary. :)

from schemasheets.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.