Property talk:P6671

From Wikidata
Jump to navigation Jump to search

Documentation

French public service directory ID
identifier for French public services
Data typeExternal identifier
Allowed values([a-z]+([\-_][a-z]+)*\/)+[a-z]+([\-_][a-z]+)*(-[\d][\dAB][\d]{3}-|_)?[\d]+
ExampleEtalab (Q16635111)gouvernement/administration-centrale-ou-ministere_436106
Ministry of Budget, Public Accounts and Civil Administration (Q3315433)gouvernement/administration-centrale-ou-ministere_195419
no label (Q56827589)hauts-de-france/nord/ddt-59350-01
Direction régionale des affaires culturelles d'Ile-de-France (Q21205903)ile-de-france/paris/drac-75109-01
Les Abymes (Q13636)guadeloupe/guadeloupe/mairie-97101-01
Ajaccio (Q40104)corse/corse-du-sud/mairie-2A004-01
Sourcehttps://www.data.gouv.fr/fr/datasets/referentiel-de-lorganisation-administrative-de-letat
Formatter URLhttps://lannuaire.service-public.fr/$1
Robot and gadget jobs
  • Framabot does regular import. See "from lannuaire.service-public.fr" on job list.
Tracking: usageCategory:Pages using Wikidata property P6671 (Q65706212)
Related to country France (Q142) (See 638 others)
Lists
  • Items with the most statements of this property
  • Count of items by number of statements (chart)
  • Count of items by number of sitelinks (chart)
  • Items with the most identifier properties
  • Items with no other external identifier
  • Items with no other statements
  • Most recently created items
  • Items with novalue claims
  • Items with unknown value claims
  • Usage history (total)
  • Chart by item creation date
  • Database reports/Constraint violations/P6671
  • Map
  • Random list
  • Proposal discussionProposal discussion
    Current uses
    Total35,504
    Main statement35,488 out of 6,732 (527% complete)>99.9% of uses
    Qualifier6<0.1% of uses
    Reference10<0.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/P6671#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/P6671#Unique value, SPARQL (every item), SPARQL (by value)
    Format “[\-/\dA-Z_a-z]{16,78}: value must be formatted using this pattern (PCRE syntax). (Help)
    List of violations of this constraint: Database reports/Constraint violations/P6671#Format, hourly updated report, SPARQL
    Format “([a-z]+([\-_][a-z]+)*\/)+[a-z]+([\-_][a-z]+)*(-[\d][\dAB][\d]{3}-|_)[\d]+: value must be formatted using this pattern (PCRE syntax). (Help)
    List of violations of this constraint: Database reports/Constraint violations/P6671#Format, hourly updated report, SPARQL
    Format “((gouvernement|institutions-juridictions|autorites-independantes|ambassades)\/[a-z]+(-[a-z]+)*_|(auvergne-rhone-alpes|bourgogne-franche-comte|bretagne|centre-val-de-loire|grand-est|hauts-de-france|ile-de-france|normandie|nouvelle-aquitaine|occitanie|pays-de-la-loire|provence-alpes-cote-d-azur)\/[a-z]+(-[a-z]+)*\/[a-z]+([\-_][a-z]+)*(-([02][1-9]|[13-8][\d]|9[0-5])[\d]{3}-|_)|corse\/[a-z]+(-[a-z]+)*\/[a-z]+([\-_][a-z]+)*(-2[AB][\d]{3}-|_)|(collectivites-d-outre-mer|guadeloupe|guyane|mayotte|martinique|la-reunion)\/[a-z]+(-[a-z]+)*\/[a-z]+([\-_][a-z]+)*(-9[78][1-9][\d]{2}-|_))[\d]+: 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/P6671#Format, 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/P6671#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/P6671#Scope, SPARQL

    New format[edit]

    The id and the data in the French public service directory has changed.

    The structure of the url has also changed. "gouvernement/administration-centrale-ou-ministere_195419" is now "gouvernement/d2d5b079-abd0-441a-8abc-cea5a569c15c" for item Ministry of Budget, Public Accounts and Civil Administration (Q3315433).

    That's a good news because we now have a real identifier instead of a slug. So it would be good to update the data. We can find more details here : https://www.data.gouv.fr/fr/datasets/referentiel-de-lorganisation-administrative-de-letat/#discussion-62c46177a4265ca32a67f7c3 (in French).

    However, the structure of the url still has a prefix such as "gouvernement" and the id. So I don't know how to enter this prefix in Wikidata. Could this be a qualifier of the French public service directory ID (P6671)?

    VIGNERON
    Ayack
    Benoît Prieur
    Ash Crow
    Tubezlob
    PAC2
    Thierry Caro
    Pymouss
    Alphos
    GAllegre
    Jean-Frédéric
    Manu1400
    Marianne Casamance
    Nattes à chat
    Pierre André
    Bouzinac
    Jsamwrites
    Baidax
    LearnKnowGive1
    Mathieu Kappler
    Daieuxetdailleurs
    Archives nationales DJI
    Jmax
    LearnKnowGive1
    Koxinga
    Maxime
    Framawiki
    Legonin

    Notified participants of WikiProject France --PAC2 (talk) 07:08, 15 July 2022 (UTC)[reply]

    Import[edit]

    I'm doing import of contact fields from the annuaire, Wikidata:Requests_for_permissions/Bot/Framabot_4, from the data.gouv file. I plan to have this import task running regularly. -Framawiki (please notify !) (talk) 14:50, 19 September 2023 (UTC)[reply]