Property talk:P4124

From Wikidata
Jump to navigation Jump to search

Documentation

Who's Who in France biography ID
unique identifier in the Who's Who in France online biography dictionary
Descriptionunique identifier in the Who's who in France online biography directory.
Applicable "stated in" valueWho's Who in France (Q5924723)
Data typeExternal identifier
Domain
According to this template: Notice biographique (Q19220452)
According to statements in the property:
human (Q5)
When possible, data should only be stored as statements
Allowed values^[\w\-]+\-\d+]$
ExampleFlorence Parly (Q3074013)39320
Gilbert Faux (Q118367497)3032
Pierre Padovani (Q122368264)113
Sourcehttps://www.whoswho.fr/ (note: this information should be moved to a property statement; use property source website for the property (P1896))
External linksUse in sister projects: [ar][de][en][es][fr][he][it][ja][ko][nl][pl][pt][ru][sv][vi][zh][commons][species][wd][en.wikt][fr.wikt].
Formatter URLhttps://www.whoswho.fr/bio/-_$1
Tracking: usageCategory:Pages using Wikidata property P4124 (Q57735606)
Related to country France (Q142) (See 650 others)
See alsoWho's Who UK ID (P4789)
Lists
Proposal discussionProposal discussion
Current uses
Total69,802
Main statement27,770 out of 27,770 (100% complete)39.8% of uses
Qualifier3<0.1% of uses
Reference42,02960.2% of uses
Search for values
[create Create a translatable help page (preferably in English) for this property to be included here]
Distinct values: this property likely contains a value that is different from all other items. (Help)
List of violations of this constraint: Database reports/Constraint violations/P4124#Unique value, hourly updated report, SPARQL (every item), SPARQL (by value)
Format “\d+: value must be formatted using this pattern (PCRE syntax). (Help)
List of violations of this constraint: Database reports/Constraint violations/P4124#Format, hourly updated report, SPARQL
Type “human (Q5): item must contain property “instance of (P31)” with classes “human (Q5)” or their subclasses (defined using subclass of (P279)). (Help)
List of violations of this constraint: Database reports/Constraint violations/P4124#Type Q5, 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/P4124#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/P4124#Scope, SPARQL
Label required in languages: fr: Entities using this property should have labels in one of the following languages: fr (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/P4124#Label in 'fr' language, search, SPARQL
No link with France
link with France not found (Help)
Violations query: SELECT DISTINCT ?item { ?item wdt:P4124 []. ?item wdt:P569 ?born. ?item wdt:P19 ?lieuBorn. FILTER NOT EXISTS { ?item wdt:P27 wd:Q142. } FILTER NOT EXISTS { VALUES ?countries { wd:Q142 wd:Q235 } ?item wdt:P166 ?distinction. ?distinction wdt:P17 ?countries. } FILTER NOT EXISTS { ?item wdt:P1412 wd:Q150. } FILTER NOT EXISTS { ?lieuBorn wdt:P17 wd:Q142. } FILTER NOT EXISTS { ?item wdt:P551 ?res. ?res wdt:P17 wd:Q142. } FILTER NOT EXISTS { ?item wdt:P69 ?school. ?school wdt:P17 wd:Q142. } FILTER NOT EXISTS { ?item wdt:P69 ?school. ?school wdt:P31 wd:Q2511322. } FILTER NOT EXISTS { ?item wdt:P69 ?school. ?school wdt:P2936 wd:Q150. } FILTER NOT EXISTS { ?item wdt:P108 ?employeur. ?employeur wdt:P17 wd:Q142. } FILTER NOT EXISTS { ?item wdt:P119 ?lieusepulture. ?lieusepulture wdt:P17 wd:Q142. } FILTER NOT EXISTS { ?item wdt:P463 ?memberOf. ?memberOf wdt:P17 wd:Q142. } FILTER NOT EXISTS { ?item wdt:P20 ?localisationDied. ?localisationDied wdt:P17 wd:Q142. } FILTER NOT EXISTS { ?item wdt:P937 ?localisationWork. ?localisationWork wdt:P17 wd:Q142. } FILTER NOT EXISTS { VALUES ?occupation { wd:Q43845 wd:Q191493 wd:Q3499072 wd:Q1198887 wd:Q193391 } ?item wdt:P106 ?occupation. } FILTER NOT EXISTS { VALUES ?fon { wd:Q1198887 wd:Q706364 wd:Q667982 wd:Q1162163 wd:Q37803746 } ?item wdt:P39 ?fon. } FILTER NOT EXISTS { ?item wdt:P39 ?fonction. ?fonction wdt:P17 wd:Q142. } FILTER NOT EXISTS { ?item wdt:P39 ?fonction. ?fonction wdt:P31 wd:Q19359050. } FILTER NOT EXISTS { ?item wdt:P800 ?artwork. ?artwork wdt:P17 wd:Q142. } FILTER NOT EXISTS { ?item wdt:P4434 []. } FILTER NOT EXISTS { ?item wdt:P2383 []. } FILTER (?item NOT IN (wd:Q235231, wd:Q465249, wd:Q15433192, wd:Q2286807, wd:Q725513, wd:Q3262507, wd:Q1712094, wd:Q7294051)). }
List of this constraint violations: Database reports/Complex constraint violations/P4124#No link with France
Suggestion: under 19 year old
(Help)
Violations query: SELECT ?item ?born ?diff { ?item wdt:P4124 ?value . ?item wdt:P569 ?born. BIND (YEAR(NOW()) - YEAR(?born) AS ?diff) FILTER (?diff < 19) } ORDER BY DESC (?born)
List of this constraint violations: Database reports/Complex constraint violations/P4124#Suggestion: under 19 year old

Numeric ID

[edit]

This can be simplified to a numeric ID, everything before the underscore is ignored ; for the example given of Florence Parly, https://www.whoswho.fr/bio/-_39320 resolves fine. Seems to also work for people in the "decede" − https://www.whoswho.fr/bio/-_31948 resolves fine too @Framawiki: Jean-Fred (talk) 19:35, 29 May 2023 (UTC)[reply]

Looks interesting. We could update formatter URL (P1630) to https://www.whoswho.fr/bio/-$1 and update items. But wikidata users will naturally add full id with person name, so keeping current settings is perhaps better for user experience. I'm open to both possibilities. @Jean-Fred, Nomen_ad_hoc: (hello ) Framawiki (please notify !) (talk) Sorry for my bad English :) 22:18, 29 May 2023 (UTC)[reply]
Sounds like a job for an {{Autofix}} :) Jean-Fred (talk) 21:58, 30 May 2023 (UTC)[reply]
 Support then. -Framawiki (please notify !) (talk) 15:10, 31 May 2023 (UTC)[reply]
some items had their url updated last year :( fortunately, the id is well fixed even when the name had a correction.
@Jean-Fred, Nomen ad hoc: I plan to add following next week to do the automatic update: (and also update MnM)
{{Autofix|pattern=<nowiki>\D*_(\d+)|replacement=\1}}</nowiki>
@Jean-Fred Do you know if the bot that does this job keep the references and qualifiers? ---Framawiki (please notify !) (talk) 18:13, 7 June 2023 (UTC)[reply]
I've added the name part of the identifier as optional in the regex, and updated the link of the property. Both format can coexist now, until we remove name from existing entries. ---Framawiki (please notify !) (talk) 18:15, 7 June 2023 (UTC)[reply]
✓ Done -Framawiki (please notify !) (talk) 17:45, 12 June 2023 (UTC)[reply]
Thanks! Jean-Fred (talk) 18:48, 12 June 2023 (UTC)[reply]