Property talk:P8460
Jump to navigation
Jump to search
Documentation
applies if regular expression matches
this statement is only true if the value matches this regular expression
this statement is only true if the value matches this regular expression
Data type | String | ||||||
---|---|---|---|---|---|---|---|
Domain | unique identifier (Q6545185) | ||||||
Allowed values | .{2,} | ||||||
Usage notes | Should contain PRCE2 regular expression, treated as "full match". For example, "(?i)[a-z]+|\d+|" means that validated string should match /^(?:[a-z]+|d+)$/i or be set to "no value" or "unknown value". Nota bene: qualifier _not_ supported by Wikibase Quality Constraints extension | ||||||
Example | Fandom article ID (P6262) → [\w+).([\w-]+):([^\s]) ([\w]+).([\w-]+):([^\s])] Fandom article ID (P6262) → [\w-+):([^\s]) ([\w-]+):([^\s])] Fandom article ID (P6262) → not applicable | ||||||
Formatter URL | https://regex101.com/?regex=$1 | ||||||
See also | formatter URL (P1630), third-party formatter URL (P3303), format as a regular expression (P1793) | ||||||
Lists |
| ||||||
Proposal discussion | Proposal discussion | ||||||
Current uses |
| ||||||
Search for values |
[create Create a translatable help page (preferably in English) for this property to be included here]
Scope is 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/P8460#Scope, SPARQL
Allowed entity types are Wikibase property (Q29934218): 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/P8460#Entity types
Type “unique identifier (Q6545185)”: item must contain property “instance of (P31), subclass of (P279)” with classes “unique identifier (Q6545185)” 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/P8460#Type Q6545185, SPARQL
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/P8460#Format, SPARQL
List of violations of this constraint: Database reports/Constraint violations/P8460#Format, SPARQL
Why bother having this property if it doesn't work?
[edit]I have tried using this particular property to overhaul Statistics Canada Geographic code (P3012), but Wikidata appears to be completely ignoring my use of it, calling its whole purpose into question. Is it because no one has bothered to implement this property in Wikidata's back end, or is it because I am missing something to make it work? -- Denelson83 (talk) 06:29, 9 January 2023 (UTC)
- I's not implemented into wikidata but third party applications. Shisma (talk) 10:20, 3 August 2023 (UTC)