-
Notifications
You must be signed in to change notification settings - Fork 0
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
Compare LinkML approaches #8
Comments
Yes, I noticed this difference as well. Are these LinkML schemas exported by CIM Tool by any chance? If so, then it might be my own influence on Todd for making this choice. However, since then I've noticed that not all generators support Note This touches on a deeper issue with LinkML btw: the implementation consistency is not very great. Different generators make different assumptions and it's not always clear how the schema is interpreted. They have begun improving this by implementing a central |
Oh and of course you are suggesting to compare more broadly, which I definitely welcome. Not all choices I've been made were super deliberate this first time around, so it would definitely be great to align with each other. |
@bartkl : I remember that you and I ran into issues in June/July when we were collaborating that led us to the current state of what is represented in core-equipment.linkml.yaml. Trying to recollect details but I know this was the case. cc: @VladimirAlexiev |
|
This is the proper route, and we should do this. However:
This is why I think we need to make some choices with regards to conventions and perhaps even write some of our own generators (which we could contribute back) to gain time where it's needed. For the shorter term.
I agree they are more precise, but I get the impression they are very little used and therefore don't have great support. Then again, I haven't tested this very thoroughly. Moreover: there is something to be said for meeting users where they're at regarding familiarity and expertise. |
@bartkl : Good reminder/referesher, This was why we landed where we did. I had tried to utilize min and max but there were scenarios that did not build downstream correctly so we had to land on a combination as you pointed out. |
PREFIX cims: <http://iec.ch/TC57/1999/rdf-schema-extensions-19990926#>
select ?mult (count(*) as ?c) {
?x cims:multiplicity ?mult
} group by ?mult order by ?mult There are 8 props that don't fit the
|
@bartkl @Sveino It would be nice to compare the LinkML approach in this repo to the one by SveinO, eg:
Eg the former uses
required, multivalued
but the latter usesminimum_cardinality, maximum_cardinality
.The text was updated successfully, but these errors were encountered: