Wikidata:Property proposal/MeSH descriptor/qualifier ID
MeSH descriptor/qualifier ID edit
Originally proposed at Wikidata:Property proposal/Authority control
Description | identifier for a MeSH (Medical Subject Headings) descriptor/qualifier combination |
---|---|
Represents | Medical Subject Headings (Q199897) |
Data type | External identifier |
Domain | item |
Allowed values | D[0-9]{6,9}Q[0-9]{6} D followed by 6 or 9 digits, followed by Q followed by 6 digits |
Example 1 | COVID-19 mortality (Q104778232) → D000086382Q000401 |
Example 2 | arthropod anatomy (Q2845653) → D001181Q000033 |
Example 3 | cyanide poisoning (Q883082) → D003486Q000506 |
Example 4 | epidemiology of obesity (Q5382727) → D009765Q000453 |
Example 5 | history of surgery (Q2556088) → D013502Q000266 |
Example 6 | speech physiology (Q105549868) → D013060Q000502 |
Example 7 | violence prevention (Q104733130) → D014754Q000517 |
Example 8 | tennis injury (Q23039495) → D013715Q000293 |
Example 9 | polymer chemistry (Q750446) → D011108Q000737 |
Source | https://id.nlm.nih.gov/mesh/ |
Planned use | will add to items as encountered and needed for subjects of theses and dissertations and fields of activity of University of Washington faculty, staff, and students |
Expected completeness | always incomplete (Q21873886) |
Formatter URL | http://id.nlm.nih.gov/mesh/$1 |
See also | MeSH descriptor ID (P486), MeSH concept ID (P6694), MeSH term ID (P6680), MeSH tree code (P672) and proposal MeSH qualifier ID |
Motivation edit
There is currently no way to record an identifier for the combination of a MeSH main heading and qualifier. Qualifiers are used to further refine the subject described by a MeSH descriptor or concept, and there are numerous Wikidata items for concepts represented by the combination of a MeSH main heading and qualifier. MeSH RDF is available for these pre-coordinated combinations, and it would be useful to have a property that can link to the MeSH RDF for these concepts. UWashPrincipalCataloger (talk) 21:56, 28 February 2021 (UTC)
The regex that I included, D[0-9]{6,9}Q[0-9]{6}, works fine, but if there is a way to specify that the number of digits after the D is either 6 or 9 characters in length, rather than between 6 and 9, that would be an improvement. When I changed the regex to D[0-9]{6|9}Q[0-9]{6} everything after the 6 disappeared from the allowed values. UWashPrincipalCataloger (talk) 22:23, 28 February 2021 (UTC)
Discussion edit
- Support --Tinker Bell ★ ♥ 21:25, 1 March 2021 (UTC)
- This is marked as ready to create, but it isn't appearing on the list of properties that are ready for creation. UWashPrincipalCataloger (talk) 08:37, 10 March 2021 (UTC)
- The problem was fixed and the proposal now appears on the ready to create list. UWashPrincipalCataloger (talk) 16:34, 15 March 2021 (UTC)
- Support --Hannes Röst (talk) 16:22, 14 March 2021 (UTC)
- @UWashPrincipalCataloger, Tinker Bell, Hannes Röst: Done MeSH descriptor/qualifier ID (P9340) Pamputt (talk) 08:30, 21 March 2021 (UTC)
Oppose @UWashPrincipalCataloger, Tinker Bell, Hannes Röst: This property is redundant therefore not useful, as I've argued at https://m.wikidata.org/wiki/Property_talk:P486#MeSH_descriptors_+_qualifiers. You already use the simple props Descriptor and Qualifier, so you don't need the compound property. What you need is a custom URL resolver --Vladimir Alexiev (talk) 23:35, 21 March 2021 (UTC)
@UWashPrincipalCataloger: You can tighten the regex by using
D(\d{6}|\d{9})
The quantifier in brackets allows only ranges but not alternatives, so you need to use parenthesized alternatives. The vertical bar interferes with the property proposal template, but there should be no such problem when you edit the actual property. Please also do it for MESH Descriptor. --Vladimir Alexiev (talk) 23:29, 21 March 2021 (UTC)