Property talk:P4862

From Wikidata
Jump to navigation Jump to search

Documentation

Associated itemAmazon (Q3884)
Applicable "stated in" valueAmazon (Q3884)
Data typeExternal identifier
Corresponding templateTemplate:Amazon author page (Q96164907)
Domainhuman (Q5), group of humans (Q16334295) or pseudonym (Q61002)
Allowed valuesB[0-9A-Z]+
ExampleDeepak Chopra (Q318506)B004KNMPSI
Eckhart Tolle (Q60137)B001H6GZ5K
Basshunter (Q383541)B00197EMNE
Sourcehttps://amazon.com/author/
Formatter URLhttps://amazon.com/wd/e/$1
https://www.amazon.co.uk/wd/e/$1
https://www.amazon.com/wd/e/$1?language=es_US
https://www.amazon.co.jp/wd/e/$1
https://amazon.com/wd/e/$1?language=en_US
https://www.amazon.fr/wd/e/$1
https://www.amazon.de/wd/e/$1
https://www.audible.com/author/wd/$1
See alsoAmazon Standard Identification Number (P5749)
Lists
Proposal discussionProposal discussion
Current uses
Total9,713
Main statement9,53998.2% of uses
Qualifier130.1% of uses
Reference1611.7% of uses
Search for values
[create Create a translatable help page (preferably in English) for this property to be included here]
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). Known exceptions: Nora Roberts (Q231356), Moka Kamishiraishi (Q10854998)
List of violations of this constraint: Database reports/Constraint violations/P4862#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/P4862#Unique value, SPARQL (every item), SPARQL (by value)
Format “B[0-9A-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/P4862#Format, SPARQL
Type “human (Q5), group of humans (Q16334295), pseudonym (Q61002): item must contain property “instance of (P31)” with classes “human (Q5), group of humans (Q16334295), pseudonym (Q61002)” 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/P4862#Type Q5, Q16334295, Q61002, 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/P4862#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/P4862#Scope, SPARQL

Please notify projects that use this property before big changes (renaming, deletion, merge with another property, etc.)

From the proposal discussion[edit]

@Omert33, Danrok, ديفيد عادل وهبة خليل 2, ArthurPSmith, Richard Arthur Norton (1958- ), Pintoch:

In the property proposal discussion, I said:

I note that, for example, the above deepakchopra link redirects to https://www.amazon.com/Deepak-Chopra/e/B004KNMPSI while on Amazon.co.uk, the equivalent is https://www.amazon.co.uk/Deepak-Chopra/e/B004KNMPSI, which have the string Deepak-Chopra/e/B004KNMPSI in common.

The proponent, Omert33, replied:

Yes, Andy. I've noticed that too. I even think it's a better idea due to its public accessibility without the need to guess. I agree that it would be the better way of approaching it.

So I'm not sure why we have a property using the original format proposed. Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 11:48, 21 February 2018 (UTC)[reply]

Either works, but which format is most likely to still work, say, five years from now? How to know!? Danrok (talk) 12:20, 21 February 2018 (UTC)[reply]
Sorry about that Pigsonthewing, I overlooked this detail when creating the property. I have changed it to the format you suggest (with a tentative regex). Feel free to improve. − Pintoch (talk) 13:29, 21 February 2018 (UTC)[reply]

@Omert33, Danrok, ديفيد عادل وهبة خليل 2, ArthurPSmith, Richard Arthur Norton (1958- ), Pintoch: I've changed the formatter URL (P1630) completely so that the IDs are now much shorter. Thierry Caro (talk) 08:15, 29 May 2018 (UTC)[reply]

Music artists[edit]

This property also works with music artists. See MacKenzie Porter (Q15699484) where https://amazon.com/wd/e/B0714N15JN redirects to the Music page https://www.amazon.com/default/e/B0714N15JN?redirectedFromKindleDbs=true. Any thoughts on modifying the name of the property or adding an alias name of "Amazon artist page"?

--William Graham (talk) 15:02, 5 July 2018 (UTC)[reply]

I'm going to rescind this suggestion because musician related links redirect to Amazon's Music Unlimited product. William Graham (talk) 20:02, 28 August 2019 (UTC)[reply]

extract pattern too broad[edit]

@Back ache: the match pattern also matches on some products that look like https://www.amazon.de/-/en/gp/video/detail/B0B6GM647T/ref=atv_dp_season_select_s3?language=en. It should of course Amazon Standard Identification Number (P5749) (i guess). can you please make the pattern more specific? – Shisma (talk) 10:10, 24 September 2022 (UTC)[reply]