Replies: 16 comments 19 replies
-
I am working with the Darwin Core group on the Darwin Core to MIxS mappings. See this repo: In their SSSOM spreadsheet, they have been using full URIs. Why do we want prohibit this? |
Beta Was this translation helpful? Give feedback.
-
Should full URIs be enclosed in angle brackets, to make CURIE vs. URI obvious? |
Beta Was this translation helpful? Give feedback.
-
Hmmmm... I dont know. Can I ask why? In the original proposal the whole point was to zone in on a terse, curie based representation for the tables that can be handled by standard python libraries.. I am for now slightly against this, but I can be convinced otherwise. |
Beta Was this translation helpful? Give feedback.
-
Personally I find CURIEs frequently an unnecessary complication, but I haven't been much involved here so take my opinion with a grain of salt. :-) |
Beta Was this translation helpful? Give feedback.
-
I personally agree with that as well - the amount of times I wrote curie-iri converters is uncountable :D I just feel that this is too much of burden to standardisation.. SSSOM plus some standard curie maps to refer to would allow a very easy way to compare stuff, and not bring us back into the country of UMLS cui vs OBO purl vs SCTID etc.. Lets see what @cmungall says.. |
Beta Was this translation helpful? Give feedback.
-
We can (of course) add a section to the SSSOM document that is used to define the URI to CURIE mappings. |
Beta Was this translation helpful? Give feedback.
-
The main idea of restricting to CURIEs is, correct me if I am wrong @cmungall, that the whole design of SSSOM revolves around the idea that the files should be easy to use for regular bioinformaticians - and URIs are considered an ugly distraction. I am super torn about the overhead for the semweb/obo community to having to provide prefixes each time they emit an sssom file.. One compromise could be that we are more permissive in |
Beta Was this translation helpful? Give feedback.
-
FYI for the DWC-MIXS mapping we re removing quotes from the curies. cf. DWC issue 68 |
Beta Was this translation helpful? Give feedback.
-
as long as it is valid yaml its fine |
Beta Was this translation helpful? Give feedback.
-
In the workshop, we need to decide whether we should officially permit the use of IRIs in SSSOM or not. My sense is that |
Beta Was this translation helpful? Give feedback.
-
In fact there are three possible methods to provide identifiers to be used as URIs:
|
Beta Was this translation helpful? Give feedback.
-
In the Darwin Core SSSOM spreadsheet there is a mix of IRIs and CURIEs. Since an IRI to CURIE mapping may not always be available (or known), allowing IRIs seems reasonable to me. Allowing "local identifiers" seems more fraught with difficulty. |
Beta Was this translation helpful? Give feedback.
-
I just looked up CURIE specification and its reference to RFC 3987. As far as I understand, a HTTP(S) URI is already a valid CURIE if we assume default namespace prefixes: #curie_map:
# http: "http"
# https: "https" Most applications seem to apply additional restrictions on CURIE syntax, e.g. IRIs in SPARQL to prevent this. |
Beta Was this translation helpful? Give feedback.
-
Love the example by @nichtich. How about this? Allow IRIs but strongly encourage them to be represented as CURIEs with included prefixes in the SSSOM. (We do require the prefixes, right?) Or, OK, even require they be represented as CURIEs. I mean, if the reason for CURIEs is to make it easy to read and build for the bio community (and many others), then let's just say that's how we want all the IRIs to look too. Where the mapping is being done to a lot of different ontologies, you'll be able to see the list of ontologies via the (now-required) prefixes. It means extra work for the IRI fans, but they're smart, they can handle it. I mean, we can handle it. Except for those funky http and https prefixes, of course, they have to go. Even if they do make me laugh every time. |
Beta Was this translation helpful? Give feedback.
-
Won't be me calling for a vote. I don't have the capacity to personally argue, let alone demonstrate, the validity of my point of view, and it's clear that some are not open to convincing. But much more importantly, we can do all the prefixing that @cthoyt calls for and it will not be painful or error-prone, so I'll just manage it that way. Fair enough. |
Beta Was this translation helpful? Give feedback.
-
It seems like a decision has been taken, since So can we close that discussion, or at least remove the |
Beta Was this translation helpful? Give feedback.
-
To be self contained, the tsv format metadata should provide a curie map - we will make this mandatory.
Beta Was this translation helpful? Give feedback.
All reactions