Property talk:P4040

From Wikidata
Jump to navigation Jump to search

Documentation

Rock.com.ar artist ID
identifier for an artist at Rock.com.ar
Descriptionidfentifier for an artist at Rock.com.ar
Associated itemno label (Q9070110)
Applicable "stated in" valueno label (Q9070110)
Data typeExternal identifier
Domainhuman (Q5), musical group (Q215380) or rock band (Q5741069)
Allowed values([a-z\-]+)
ExampleLuis Alberto Spinetta (Q957627)luis-alberto-spinetta
Divididos (Q3244088)divididos
Sourcehttp://rock.com.ar
Formatter URLhttps://rock.com.ar/artistas/$1
Tracking: usageCategory:Pages using Wikidata property P4040 (Q53995865)
Related to country Argentina (Q414) (See 32 others)
Lists
Proposal discussionProposal discussion
Current uses
Total258
Main statement25699.2% of uses
Qualifier20.8% of uses
Search for values
[create Create a translatable help page (preferably in English) for this property to be included here]
Format “([a-z\-]+): value must be formatted using this pattern (PCRE syntax). (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/P4040#Format, SPARQL
Single value: this property generally contains a single value. (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/P4040#Single value, SPARQL
Distinct values: this property likely contains a value that is different from all other items. (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/P4040#Unique value, SPARQL (every item), SPARQL (by value)
Type “human (Q5), musical group (Q215380), rock band (Q5741069): item must contain property “instance of (P31)” with classes “human (Q5), musical group (Q215380), rock band (Q5741069)” 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/P4040#Type Q5, Q215380, Q5741069, 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/P4040#Entity types
Scope is as main value (Q54828448), as reference (Q54828450): 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/P4040#Scope, SPARQL

Discussion

[edit]

Change in the url string

[edit]

Hi, I've noticed that the source URL has changed from ID numbers to names (strings). For instance the example above changed from https://rock.com.ar/artistas/73/ to https://rock.com.ar/artistas/luis-alberto-spinetta/, in most cases they redirects automatically to the correct one, buto I'm not sure that this happens everytime. I suggest to change the old format to the new one in order to keep consistency with the external database. Mr. Moonlight (talk) 20:21, 27 September 2023 (UTC)[reply]