Property talk:P2342

From Wikidata
Jump to navigation Jump to search

AGORHA person/institution ID
identifier for a person or institution in the Agorha database (INHA)
Applicable "stated in" valueAGORHA (Q21994367)
Data typeExternal identifier
Domain
According to this template: humans or institutions
According to statements in the property:
human (Q5), learned society (Q955824), cultural institution (Q3152824) or family (Q8436)
When possible, data should only be stored as statements
Allowed values\d+
ExampleClaude Monet (Q296)112086
Musée d'Orsay (Q23402)142069
Formatter URLhttps://agorha.inha.fr/inhaprod/ark:/54721/002$1
Tracking: usageCategory:Pages using Wikidata property P2342 (Q45314879)
Related to country France (Q142) (See 654 others)
See alsoAGORHA work ID (P2344), AGORHA event ID (P2345)
Lists
Proposal discussionProposal discussion
Current uses
Total17,292
Main statement13,47077.9% of uses
Qualifier2<0.1% of uses
Reference3,82022.1% 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).
List of violations of this constraint: Database reports/Constraint violations/P2342#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/P2342#Unique value, SPARQL (every item), SPARQL (by value)
Format “[1-9]\d*: value must be formatted using this pattern (PCRE syntax). (Help)
List of violations of this constraint: Database reports/Constraint violations/P2342#Format, hourly updated report, SPARQL
Scope is as main value (Q54828448), as reference (Q54828450): the property must be used by specified way only (Help)
List of violations of this constraint: Database reports/Constraint violations/P2342#Scope, hourly updated report, 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/P2342#Entity types
Pattern ^I?NHA__PERSONNES__(\d+)$ will be automatically replaced to \1.
Testing: TODO list

Just one digit

[edit]
Français : Bonjour. J'essaye d'associer l'identifiant Agorha à la revue nouvellement créée Musica (Q104551615) (accessible dans son intégralité à cette url), mais je m'aperçois que son "ARK" "ark:/54721/00119" est de la forme "ark:/54721/001" et non "ark:/54721/002". À un nombre prêt, cette propriété aurait pu convenir! Je vais tenter de trouver une autre propriété pour associacer le lien Agora, mais je me demande comment résoudre ce problème dans le futur (une nouvelle propriété?). --Deansfa (talk) 17:05, 29 December 2020 (UTC)[reply]
English: Hi. I was trying to associate AGORHA person/institution ID (P2342) to the newly created item Musica (Q104551615) (fully accessible at this URL), but realized that its "ARK" ("ark:/54721/00119") starts with "ark:/54721/001" and not "ark:/54721/002". Just one digit difference! I guess for the moment I can use an other property, but I'm wondering what can be done in the future to address that (new property?). --Deansfa (talk) 17:05, 29 December 2020 (UTC)[reply]
Bonjour Deansfa,
la nouvelle mouture du site, conçue pour les téléphones et non les ordinateurs (au moins pour la mise en page) pose des problèmes à beaucoup de monde... -> je viens de me plonger dans la lecture de https://agorha.inha.fr/bienvenue pour essayer de mieux comprendre...
il y a plus de 6 types de bases sur Agorha : AGORHA person/institution ID (P2342), AGORHA work ID (P2344), AGORHA event ID (P2345), et "Références", "Collection" et "Article ou Actualité" (que nous n'avons pas), Musica n'est en principe pas une personne... en tout cas, l'url https://agorha.inha.fr/ark:/54721//19 n'est pas hashée quand on y accède...
en attendant de trouver (ou créer) le bon identifiant, je l'ai ajouté en en P973 https://agorha.inha.fr/ark:/54721//19 --Hsarrazin (talk) 08:58, 13 January 2022 (UTC)[reply]
je pense avoir compris : en fait https://agorha.inha.fr/ark:/54721//19 est une des bases d'Agorha, pas dans une des bases : on y accède par "Explorer les bases", qui liste les bases disponibles... --Hsarrazin (talk) 09:01, 13 January 2022 (UTC)[reply]

Change in URLs

[edit]

Hi, the website has recently changed and the URLs for its records became different. The former identifiers are still valid, however it is impossible for me to find these former identifiers now. Furthermore, the former URL formats do not seem to appear in the source code. Do you have any ideas to solve this problem? Thank you in advance. — Baidax 💬 00:13, 13 January 2022 (UTC)[reply]

answer from Eru on Discord (for future reference ) -> download json format -> the ID is "uniqueKey" : 112086 Hsarrazin (talk) 08:38, 13 January 2022 (UTC)[reply]
@Hsarrazin: Thank you for the information! — Baidax 💬 23:08, 20 January 2022 (UTC)[reply]
The example Claude Monet does not work with "112086", https://agorha.inha.fr/ark:/54721/47ad3473-eecb-4a5b-8292-ff3053f8a461, how can i get the id from an url?Oursana (talk) 20:25, 28 January 2022 (UTC)[reply]
@Oursana: Indeed, the JSON file ID does not work and the one given in the Wikidata item isn't contained in the file. Perhaps an exceptional error to report to the website administrators? — Baidax 💬 11:18, 3 March 2022 (UTC)[reply]
@Baidax, Hsarrazin, Oursana: I stumbled upon this issue too. Even the example of the property about Claude Monet doesn't work. Reading the JSON format of a notice, there is the following:
   "uuid" : "da6bc5b6-11d5-4fc5-af16-3a669fa62ce5",
   "uniqueKey" : 70224,
   "permalink" : "http://agorha.inha.fr/ark:/54721/da6bc5b6-11d5-4fc5-af16-3a669fa62ce5",
I'm unable to use 70224 with any URL. I wonder if uniqueKey is for AGORHA's internal use only and if we should stick to uuid? — Envlh (talk) 21:34, 15 March 2022 (UTC)[reply]
Same here: Jacques Colombier (Q3158560) holds the value "85023", creates the URL https://agorha.inha.fr/ark:/54721/85023 (which return HTTP-Status 404) The correct URL should be https://agorha.inha.fr/ark:/54721/77545bb8-3bb0-42b1-8213-3ba719fe0dd3 --Wurgl (talk) 05:38, 4 August 2024 (UTC)[reply]
Thanks to Shonagon for finding a new working URL format that works with the short number IDs! If you want to add the UUIDs too, I would recommend creating a new property for that and keeping this property as it is. Samoasambia 09:16, 28 November 2024 (UTC)[reply]