Property talk:P232
Documentation
identifier for a chemical compound per EINECS or ELINCS
List of violations of this constraint: Database reports/Constraint violations/P232#Single value, SPARQL
List of violations of this constraint: Database reports/Constraint violations/P232#Unique value, SPARQL (every item), SPARQL (by value)
List of violations of this constraint: Database reports/Constraint violations/P232#Format, SPARQL
List of violations of this constraint: Database reports/Constraint violations/P232#Entity types
List of violations of this constraint: Database reports/Constraint violations/P232#Scope, SPARQL
This property is being used by:
Please notify projects that use this property before big changes (renaming, deletion, merge with another property, etc.) |
Report incorrect EC numbers, found by validating the checksum (Help)
Violations query:
SELECT ?item #?itemLabel ?ecnr ?checksum ?checksum2 ?checksum3 ?quot ?rem WITH { SELECT DISTINCT * WHERE { ?item wdt:P232 ?ecnr . FILTER(strlen(?ecnr) = 9) BIND(xsd:integer(substr(?ecnr, 1, 1))*1 + xsd:integer(substr(?ecnr, 2, 1))*2 + xsd:integer(substr(?ecnr, 3, 1))*3 + xsd:integer(substr(?ecnr, 5, 1))*4 + xsd:integer(substr(?ecnr, 6, 1))*5 + xsd:integer(substr(?ecnr, 7, 1))*6 AS ?checksum) #BIND(floor(?checksum/11) AS ?quot) #BIND(?checksum - 11*?quot AS ?rem) BIND(?checksum - 11*floor(?checksum/11) AS ?checksum2) BIND(IF(?checksum2 = 10, "1", str(?checksum2)) AS ?checksum3) FILTER(substr(?ecnr, 9, 1) != ?checksum3) } #LIMIT 1000 } AS %i WHERE { INCLUDE %i SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en" . } }
List of this constraint violations: Database reports/Complex constraint violations/P232#Validate EC numbers
|
|
Sources
editUse this document to source value of this property. Snipre (talk) 21:34, 25 July 2013 (UTC)
Creation of a link to ECHA
edit@Pasleim: Hi I saw your work about URL for ZVG number (P679). Do you think it is possible to do the same for this property using ECHA as website ? Normally you provide the EINECS number in the Search for Chemicals engine (on the right) and you get a page with the corresponding chemical and the links to different european databases. Snipre (talk) 12:02, 21 August 2015 (UTC)
- I couldn't find a stable formatter URL for ZVG number (P679). On [1] you can directly enter the EC number but you always have to accept the legal notice which produces a temporary URL and can therefore not bu used for our purpose. --Pasleim (talk) 12:32, 24 August 2015 (UTC)
- The helpdesk may be contacted. --Leyo 12:49, 24 August 2015 (UTC)
Brenntag
edit@Teolemon: The URL formatter does not work anymore.--Kopiersperre (talk) 18:35, 3 March 2016 (UTC)
Mandatory constraint
edit@Pasleim: Why did you delete the mandatory feature of the single constraint ? Until now there is only one exception which has to be checked so I don't understand. The problem is not the mandatory feture of the single constraint but the mandatory feature of the unique constraint. Here we have several exceptions like hydrogen fluoride and hydrfluoric acid. Snipre (talk) 09:58, 30 April 2016 (UTC)
Renaming to EC number
editThe common name used for this number is “EC number”, e.g. in SDS. It consists of ELINCS numbers, too. See https://echa.europa.eu/information-on-chemicals/registered-substances/information for more information. Hence, I suggest renaming this property. Otherwise, we would need to restrict this property to 2xx-xxx-x and 3xx-xxx-x. I do clearly prefer the renaming option. --Leyo 18:22, 9 October 2016 (UTC)
- Done. --Leyo 12:48, 17 October 2016 (UTC)
- @Leyo: And how can we do the difference between EC enzyme number (P591) and EC number (P232) ? This is a huge risk that people don't use the correct property and take the first in the list without reading carefully the description. Snipre (talk) 13:58, 17 October 2016 (UTC)
- The formatting of the number is different (
\d\.\d{1,2}\.\d{1,2}\.\d{1,3}
vs.[2-5]\d\d-\d\d\d-\d
). - To avoid confusion, we could use the long names, i.e. „Enzyme Commission number“ vs. „European Community number“, either just like this or as an addition in brackets. --Leyo 14:39, 17 October 2016 (UTC)
- The formatting of the number is different (
- @Leyo: And how can we do the difference between EC enzyme number (P591) and EC number (P232) ? This is a huge risk that people don't use the correct property and take the first in the list without reading carefully the description. Snipre (talk) 13:58, 17 October 2016 (UTC)