Property talk:P1086

Latest comment: 5 years ago by Jura1 in topic No bounds

Documentation

atomic number
number of protons found in the nucleus of the atom
[create Create a translatable help page (preferably in English) for this property to be included here]
Range from “-10” to “200”: values should be in the range from “-10” to “200”. (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/P1086#Range
Type “chemical element (Q11344), isotope (Q25276), atomic nucleus (Q37147): item must contain property “instance of (P31)” with classes “chemical element (Q11344), isotope (Q25276), atomic nucleus (Q37147)” 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/P1086#Type Q11344, Q25276, Q37147, SPARQL
Units: “novalue”: value unit must be one of listed. (Help)
List of violations of this constraint: Database reports/Constraint violations/P1086#Units, hourly updated report
Single value: this property generally contains a single value. (Help)
List of violations of this constraint: Database reports/Constraint violations/P1086#Single value, hourly updated report, SPARQL
No bounds: values can't have any bounds (e.g. 1 not 1±0) (Help)
List of violations of this constraint: Database reports/Constraint violations/P1086#No Bounds, hourly updated report, SPARQL
Integer: values should be integers (ie. they shouldn't have a fractional part) (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/P1086#integer, SPARQL
Scope is as main value (Q54828448), as qualifier (Q54828449): the property must be used by specified way only (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/P1086#Scope, SPARQL
Allowed 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/P1086#Entity types

Discussion edit

isotope (Q25276) edit

Hello, I think that items using this property should have either chemical element (Q11344), or isotope (Q25276). Thus this property could be used for isotopes such as plutonium-239 (Q1141329). Could you add this constraint if you agree? Pamputt (talk) 21:22, 5 March 2014 (UTC)Reply

No bounds edit

  Notified participants of WikiProject Chemistry There is now the new no-bounds constraint (Q51723761) which was already added to this property. Since atomic numbers are countable quantities without uncertainty, I suggest to remove all bounds from the values of this property. The current situation can be evaluated with this query:

SELECT ?item ?value ?lower ?upper ?diff ?unit WHERE {
  ?item p:P1086/psv:P1086 ?psv .
  ?psv wikibase:quantityAmount ?value .
  OPTIONAL { ?psv wikibase:quantityUnit ?unit } .
  OPTIONAL { ?psv wikibase:quantityLowerBound ?lower; wikibase:quantityUpperBound ?upper }
  BIND( (?upper - ?lower) / 2 AS ?diff) .
} ORDER BY ASC(?diff)
Try it!

4902 out of 4930 claims of this property have bounds, and all of them are exactly ±0.

If nobody comes up with a reason to keep them, I will remove all of these ±0 bounds. Any comments? —MisterSynergy (talk) 05:07, 27 April 2018 (UTC)Reply

Yes, please fix. Thanks for
  • keeping an eye on this
  • offering to resolve the issue
  • informing us.
--Daniel Mietchen (talk) 07:05, 27 April 2018 (UTC)Reply
Fixing sounds good to me. --Egon Willighagen (talk) 09:12, 27 April 2018 (UTC)Reply
Agree. Wostr (talk) 09:43, 27 April 2018 (UTC)Reply

Now all done. Someone already made the constraint mandatory, as there are no violations at this time. —MisterSynergy (talk) 05:50, 28 April 2018 (UTC)Reply

Return to "P1086" page.