Property talk:P715
Jump to navigation
Jump to search
Documentation
DrugBank ID
identifier in the bioinformatics and cheminformatics database from the University of Alberta
identifier in the bioinformatics and cheminformatics database from the University of Alberta
[create Create a translatable help page (preferably in English) for this property to be included here]
Exceptions are possible as rare values may exist. Exceptions can be specified using exception to constraint (P2303).
List of violations of this constraint: Database reports/Constraint violations/P715#Format, SPARQL
List of violations of this constraint: Database reports/Constraint violations/P715#Format, SPARQL
Single value: this property generally contains a single value. (Help)
List of violations of this constraint: Database reports/Constraint violations/P715#Single value, hourly updated report, SPARQLDistinct values: this property likely contains a value that is different from all other items. (Help)
Exceptions are possible as rare values may exist. Exceptions can be specified using exception to constraint (P2303). List of violations of this constraint: Database reports/Constraint violations/P715#Unique value, SPARQL (every item), SPARQL (by value)
Type “type of chemical entity (Q113145171), group of isomeric entities (Q15711994), type of mixture of chemical entities (Q119892838)”: item must contain property “instance of (P31)” with classes “type of chemical entity (Q113145171), group of isomeric entities (Q15711994), type of mixture of chemical entities (Q119892838)” or their subclasses (defined using subclass of (P279)). (Help)
Exceptions are possible as rare values may exist. Exceptions can be specified using exception to constraint (P2303). List of violations of this constraint: Database reports/Constraint violations/P715#Type Q113145171, Q15711994, Q119892838, SPARQL
Scope is as main value (Q54828448), as reference (Q54828450): the property must be used by specified way only (Help)
List of violations of this constraint: Database reports/Constraint violations/P715#Scope, hourly updated report, SPARQLAllowed entity types are Wikibase item (Q29934200): the property may only be used on a certain entity type (Help)
Exceptions are possible as rare values may exist. Exceptions can be specified using exception to constraint (P2303). List of violations of this constraint: Database reports/Constraint violations/P715#Entity types
This property is being used by:
Please notify projects that use this property before big changes (renaming, deletion, merge with another property, etc.) |
|
|
Format
[edit]Format of this property should be changed to include pages like [1]. Wostr (talk) 19:33, 28 September 2018 (UTC)
- I agree. Drugbank has separate listings for salt forms. Currently the majority of the constraint violations (Wikidata:Database reports/Constraint violations/P715) occur because the items for the neutral form and for the salt form both link to the same Drugbank page even though there are separate pages for the two types. I don't see why the salts shouldn't be directly linked to the corresponding salt pages instead. The "Allowed values" would then be best changed to allow an identifier such as "SALT000272" for your example. Edgar181 (talk) 20:08, 15 December 2018 (UTC)
- It would probably require to change all values to DBxxxxx. I don't understand why 'DB' prefix is not included, but for many other databases similar prefixes are included. Maybe
{{Autofix}}
could be used, but first we had to inform all the Wikimedia projects that use this property about the changes. Then we could change the format constraint (Q21502404) to match ids like DB/SALTxxxxx. Wostr (talk) 20:32, 15 December 2018 (UTC)- I'va changed the constraint to "(SALT\d{1})?\d{5}". Wostr (talk) 23:14, 11 January 2019 (UTC)
- It would probably require to change all values to DBxxxxx. I don't understand why 'DB' prefix is not included, but for many other databases similar prefixes are included. Maybe
I think these changes are not sufficient. Please keep some things in mind:
- We are not talking just about salts (altough the ID suggests). In fact, Drugbank calls entries like that "Product Ingredients" because there may also be different esters etc.
- Each SALT-ID is related to an active compound with a DB-ID, in most cases for both of them a CAS number is also given. We should distinguish between the Drug Bank active compound record and several "Product Ingredient" records with different properties.
- Each Product Ingredient is linked to an active compound, each active compound may have a couple of different product incredients. Links between these two types of DrugBank entries should also be present here.
What do you think?--Mabschaaf (talk) 14:25, 6 July 2019 (UTC)
- As far as I know, there should not be any problems with DrugBank ids (either DB... or SALT/xxx...) in WD, because every pure compound, salt of this compound, product with this compound as an ingredient should have its own WD item. If there is the same CAS number in two DrugBank entries, it should be investigated what caused this situation. Constraint needs to be modified it there are any other ids we want to include in WD.
- Also, 'DB' prefix should be added to every value in WD; I don't know why there is no 'DB' here and prefixes are present in e.g. Human Metabolome Database ID (P2057) which is very similar database. Lack of 'DB' prefixes also causes a problem with using this property outside WD, e.g. in Wikipedia's infoboxes, because we need to add this prefix manually in the code (but other re-users of WD data may not know that they need to add 'DB' prefix). Wostr (talk) 14:56, 6 July 2019 (UTC)
- I agree with you on the "DB" prefix.
- My question/suggestion was, to add to all items with SALT-IDs a statement like amlodipine mesylate (Q27254365) (should have DBSALT001964) "is an ingredient of" amlodipine (Q411347) (DB00381). Maybe there is already a qualifier matching this situation.--Mabschaaf (talk) 10:55, 7 July 2019 (UTC)
- Statement amlodipine mesylate (Q27254365) "is an ingredient of" amlodipine (Q411347) is not quite correct — these are two different compounds, one is not an ingredient of another, but I think I know what you want to accomplish here. This is a much larger problem that was not sorted out during importing data about pharmaceutical products. Right now we have a pair active ingredient in (P3780)/has active ingredient (P3781) that should connect a pharmaceutical product with an active substance. We do not have dedicated property for linking between pharmaceutical form←→pharmaceutical product and pharmaceutical form←→active substance. But right now even active ingredient in (P3780)/has active ingredient (P3781) pair is not used as intended, because sometimes we have pharmaceutical form instead of active substance. On the example of morphine (Q81225) (active substance), morphine sulfate (Q27107392) (pharmaceutical form of an active substance) and Duramorph (Q47521513) (pharmaceutical product) we should be able to link between:
- morphine (Q81225)used in a pharmaceutical form as (or something shorter)morphine sulfate (Q27107392) + morphine (Q81225)active ingredient in (P3780)Duramorph (Q47521513)
- morphine sulfate (Q27107392)is a pharmaceutical form ofmorphine (Q81225) + morphine sulfate (Q27107392)ingredient ofDuramorph (Q47521513)
- Duramorph (Q47521513)has ingredientmorphine sulfate (Q27107392) + Duramorph (Q47521513)has active ingredient (P3781)morphine (Q81225)
- It can be simplified to:
- morphine (Q81225)used in a pharmaceutical form as (or something shorter)morphine sulfate (Q27107392) + morphine (Q81225)active ingredient in (P3780)Duramorph (Q47521513)
- morphine sulfate (Q27107392)is a pharmaceutical form ofmorphine (Q81225) +
morphine sulfate (Q27107392)part of (P361)Duramorph (Q47521513)(not necessary, can be queried using SPARQL) - Duramorph (Q47521513)has part(s) (P527)morphine sulfate (Q27107392) + Duramorph (Q47521513)has active ingredient (P3781)morphine (Q81225)
- So we lack a pair 'used in a pharmaceutical form as'/'is a pharmaceutical form of' and has part(s) (P527) statements in every pharmaceutical product. That is a huge problem that hasn't been addressed nor fixed during the data import. It could be done like this:
- morphine sulfate (Q27107392)is a pharmaceutical form ofmorphine (Q81225)
- Duramorph (Q47521513)has part(s) (P527)morphine sulfate (Q27107392)
- and everything about an active substance (morphine (Q81225)) could be easily queried. However, this is not a problem with DrugBank ID (P715) and I don't think we can solve it here. Wostr (talk) 13:28, 7 July 2019 (UTC)
- Yes, I think, you got my point. I agree that this is not directly related to the question about the IDs. How can we proceed on that? We could either add the "DB" hopefully in an automated process, but we would create lots of IDs not matching the real situation. Maybe it would be best to reimport all IDs from the drugbank database itself, match them with the CAS numbers, overwrite the present entries and add also sources. I would really prefer that way.--Mabschaaf (talk) 18:14, 7 July 2019 (UTC)
- @Wostr: Any progress on this? --Mabschaaf (talk) 18:05, 28 July 2019 (UTC)
- I am currently importing all IDs freshly (with "DB"). With link to the matched InChIKey. If someone feels like removing the old ones and adapting the property, cool. Else I'll remove then gradually later AdrianoRutz (talk) 13:04, 23 May 2024 (UTC)
- @Wostr: Any progress on this? --Mabschaaf (talk) 18:05, 28 July 2019 (UTC)
- Yes, I think, you got my point. I agree that this is not directly related to the question about the IDs. How can we proceed on that? We could either add the "DB" hopefully in an automated process, but we would create lots of IDs not matching the real situation. Maybe it would be best to reimport all IDs from the drugbank database itself, match them with the CAS numbers, overwrite the present entries and add also sources. I would really prefer that way.--Mabschaaf (talk) 18:14, 7 July 2019 (UTC)
- Statement amlodipine mesylate (Q27254365) "is an ingredient of" amlodipine (Q411347) is not quite correct — these are two different compounds, one is not an ingredient of another, but I think I know what you want to accomplish here. This is a much larger problem that was not sorted out during importing data about pharmaceutical products. Right now we have a pair active ingredient in (P3780)/has active ingredient (P3781) that should connect a pharmaceutical product with an active substance. We do not have dedicated property for linking between pharmaceutical form←→pharmaceutical product and pharmaceutical form←→active substance. But right now even active ingredient in (P3780)/has active ingredient (P3781) pair is not used as intended, because sometimes we have pharmaceutical form instead of active substance. On the example of morphine (Q81225) (active substance), morphine sulfate (Q27107392) (pharmaceutical form of an active substance) and Duramorph (Q47521513) (pharmaceutical product) we should be able to link between:
Link outs
[edit]Hi all, the format regular expression suggests DBCAT005101 is now a valid identifier. The formatter URL, however, is not suited for this. I just tweeted the DrugBank team to see if they have a URL pattern that we can use instead and supports regular DBxxx drug identifiers and the DBCATxxx category identifiers. --07:42, 30 May 2020 (UTC)
Categories:
- All Properties
- Properties with external-id-datatype
- Properties used on 10000+ items
- Properties with format constraints
- Properties with single value constraints
- Properties with unique value constraints
- Properties with constraints on type
- Properties with scope constraints
- Properties with entity type constraints
- Chemical properties
- Medical properties