Property talk:P7316

Documentation

number of decimal digits
number of decimal digits of a natural number
Representsnumerical digit (Q82990), decimal digit (Q130633680)
Data typeQuantity
Domain
According to this template: non-negative integer
According to statements in the property:
natural number (Q21199)
When possible, data should only be stored as statements
Example
According to this template:
  • googol (Q507) → 101
  • googolplex (Q508) → 10,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,001
According to statements in the property:
10^90 (Q41027892) → 91
10^93 (Q41027897) → 94
M82589933 (Q67171811) → 24,862,048
10 (Q23806) → 2
1234 (Q3814742) → 4
RSA-232 (Q15990657) → 232
RSA-768 (Q15990689) → 232
googol (Q507) → 101
googolplex (Q508) → 1E100
Graham's number (Q733169) → unknown
When possible, data should only be stored as statements
Tracking: usageCategory:Pages using Wikidata property P7316 (Q126375109)
Lists
SELECT * WHERE { ?item wdt:P7316 ?digits. FILTER(?digits > 126) } ORDER BY ?digits
Try it!
SELECT * WHERE { ?item wdt:P7316 ?digits. FILTER(?digits > 1500) } ORDER BY ?digits
Try it!
Proposal discussionProposal discussion
Current uses
Total136,631
Main statement136,620>99.9% of uses
Qualifier11<0.1% of uses
[create Create a translatable help page (preferably in English) for this property to be included here]
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/P7316#integer, SPARQL
Type “natural number (Q21199): item must contain property “instance of (P31)” with classes “natural number (Q21199)” 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/P7316#Type Q21199, SPARQL
 
Value should match string length of P1181 (values up to 126)
(Help)
Violations query: SELECT ?item ?nb ?digits WHERE { ?item wdt:P7316 ?digits; wdt:P1181 ?nb FILTER(strlen(str(?nb)) != ?digits) }
List of this constraint violations: Database reports/Complex constraint violations/P7316#Value should match string length of P1181 (values up to 126)
 
Value should match length of P5176 (values up to 1500)
(Help)
Violations query: SELECT ?item ?nb ?digits WHERE { ?item wdt:P7316 ?digits; wdt:P5176 ?nb FILTER(strlen(?nb) != ?digits) }
List of this constraint violations: Database reports/Complex constraint violations/P7316#Value should match length of P5176 (values up to 1500)
 
Items for numbers with values too large for quantity datatype should have this property
(Help)
Violations query: SELECT ?item WHERE { ?item p:P1181 [pq:P2241 wd:Q54767019] MINUS { ?item wdt:P7316 [] } } ORDER BY ?item
List of this constraint violations: Database reports/Complex constraint violations/P7316#Items for numbers with values too large for quantity datatype should have this property
Return to "P7316" page.