linkml / prefixmaps

Semantic prefix map registry
https://linkml.io/prefixmaps/
Apache License 2.0
10 stars 3 forks source link

Adding w3id context #36

Closed cmungall closed 1 year ago

cmungall commented 1 year ago

Add a w3id context.

This is obtained by simply scraping the list of directories at the top level of https://github.com/perma-id/w3id.org/

There is undoubtedly some junk in there, so this context is designed to be merged near the end of a list of more trusted sources, for completeness. However, it is at least guaranteed to never give an incorrect mapping from URI to CURIE. We may want to consider more advanced prioritization in merging rules, such that one sources can be trusted more in one direction than another.

Note this currently doesn't check to ensure the prefix is a valid NCName, but we already relax this constraint, and for now we trust the w3id.org maintainers not to add oddities.