Property talk:P416

Documentation

quantity symbol (string)
symbol for a mathematical or physical quantity
DescriptionSymbol of a quantity - quantity symbol (Q1401551)
Representsquantity symbol (Q1401551)
Data typeString
Template parameter"Formelzeichen" from de:Vorlage:Infobox Physikalische Größe ;see Template:Infobox physical quantity (Q8761512).
Domain
According to this template: physical and mathematical quantities - magnitude (Q2091629)
According to statements in the property:
individual quantity (Q71550118)
When possible, data should only be stored as statements
Allowed values
According to this template: 1 Unicode symbol (or sequence of symbols ??)
According to statements in the property:
[^\s\/]{1,6}
When possible, data should only be stored as statements
Exampleelectric charge (Q1111) → Q
q
temperature (Q11466) → T
SourceISO/IEC 80000 (note: this information should be moved to a property statement; use property source website for the property (P1896))
Tracking: usageCategory:Pages using Wikidata property P416 (Q107183340)
See alsounit symbol (P5061), quantity symbol (LaTeX) (P7973)
Lists
Proposal discussionProposal discussion
Current uses
Total309
Main statement9430.4% of uses
Qualifier21569.6% of uses
Search for values
[create Create a translatable help page (preferably in English) for this property to be included here]
Type “individual quantity (Q71550118): item must contain property “instance of (P31), subclass of (P279)” with classes “individual quantity (Q71550118)” 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/P416#Type Q71550118, SPARQL
Format “[^\s/]{1,6}: value must be formatted using this pattern (PCRE syntax). (Help)
List of violations of this constraint: Database reports/Constraint violations/P416#Format, hourly updated report, SPARQL
Conflicts with “instance of (P31): unit of measurement (Q47574): this property must not be used with the listed properties and values. (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/P416#Conflicts with P31, search, SPARQL
Conflicts with “unit symbol (P5061): this property must not be used with the listed properties and values. (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/P416#Conflicts with P5061, 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/P416#Entity types
Scope is as qualifier (Q54828449), as main value (Q54828448): 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/P416#Scope, SPARQL


Can we get this property to support subscripts? edit

Swpb (talk) 15:42, 6 March 2019 (UTC)Reply

@Swpb, Jura1: I proposed a replacement property with "math" datatype: Wikidata:Property proposal/quantity symbol Toni 001 (talk) 21:55, 26 November 2019 (UTC)Reply
Hello @Jura1: Please see values of P7973, many of which can't be entered correctly in P416:
select ?item (sample(?label) as ?label) (sample(?symbol) as ?symbol) where {
  ?item wdt:P7973 ?symbol .
  ?item rdfs:label ?label . filter (lang(?label) = "en")
} group by ?item
Try it!
This should clearly demonstrate the utility of P7973. Toni 001 (talk) 10:49, 28 March 2020 (UTC)Reply
There are still cases where this isn't needed at all.
The problem is that users can't really extract those reliably from Wikidata with the usual tools. Handling of math datatype at Wikidata is a bit like PDFs at some places.
An alternate solution could be to add TeX string (P1993) as qualifier to quantity symbol (LaTeX) (P7973). --- Jura 10:55, 28 March 2020 (UTC)Reply
@Jura1: There are currently 16 properties with math datatype. Are you suggesting that for each of the we maintain a "shadow property" with string datatype? Toni 001 (talk) 10:59, 28 March 2020 (UTC)Reply
I think each needs to be looked at. At some point, math datatype is the only datatype where the number of statements actually decreased. --- Jura 11:01, 28 March 2020 (UTC)Reply
In this case the use of P7973 (math datatype) in only ever going to increase. There the utility of P416 (string datatype) is limited by what can be expressed using Unicode. To not confuse users, P416 should not stand there un-qualified, but it should be reflected in the label that this is not the "main" property for expressing symbols. If you are opposed to "DEPRECATED", then at least we could indicate the datatype in the label. Toni 001 (talk) 13:37, 28 March 2020 (UTC)Reply
Sure np. Maybe it's even better to make this a qualifier of quantity symbol (LaTeX) (P7973). --- Jura 13:45, 28 March 2020 (UTC)Reply
I hesitate a bit on that last point. Maybe for existing users not. --- Jura 13:47, 28 March 2020 (UTC)Reply
Return to "P416" page.