SIREN code edit

Documentation

SIREN number
identifier for an organization in the SIRENE register maintained by INSEE
Descriptionunique string identifying companies and administrations based in France
Applicable "stated in" valueSIRENE (Q3509449)
Data typeExternal identifier
Domainorganization (Q43229), human (Q5), administrative territorial entity (Q56061), juridical person (Q155076) or enterprise (Q6881511)
Allowed values\d{9}
ExampleCity of Lyon (Q3278474)216901231
LVMH (Q504998)775670417
French Red Cross (Q3003244)775672272
Sourcehttps://data.gouv.fr/
Formatter URLhttps://annuaire-entreprises.data.gouv.fr/entreprise/$1
Tracking: usageCategory:Pages using Wikidata property P1616 (Q43543664)
Related to country  France (Q142) (See 638 others)
See alsoOpenCorporates ID (P1320)
Lists
Proposal discussionProposal discussion
Current uses
Total124,067
Main statement121,26997.7% of uses
Qualifier3<0.1% of uses
Reference2,7952.3% of uses
Search for values
[create Create a translatable help page (preferably in English) for this property to be included here]
Format “\d{9}: value must be formatted using this pattern (PCRE syntax). (Help)
List of violations of this constraint: Database reports/Constraint violations/P1616#Format, hourly updated report, 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/P1616#Unique value, SPARQL (every item), SPARQL (by value)
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/P1616#Single value, SPARQL
Qualifiers “start time (P580), end time (P582), reason for deprecated rank (P2241), subject named as (P1810), end cause (P1534): this property should be used only with the listed qualifiers. (Help)
List of violations of this constraint: Database reports/Constraint violations/P1616#allowed qualifiers, hourly updated report, SPARQL
Item “country (P17): Items with this property should also have “country (P17)”. (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/P1616#Item P17, search, 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/P1616#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/P1616#Scope, SPARQL
  Pattern ^(\d\d\d) (\d\d\d) (\d\d\d)$ will be automatically replaced to \1\2\3.
Testing: TODO list
 
Check first digit (1 or 2 for public)
First digit need to be 1 or 2 for a public organisation, source (Help)
Violations query: SELECT ?item ?itemLabel ?value ?first ?legalForm ?legalFormLabel ?isPublic ?firstPublic { ?item wdt:P1616 ?value ; wdt:P1454 ?legalForm. { VALUES ?privateClasses { wd:Q4830453 wd:Q197952 wd:Q3591583 wd:Q2867418 } . ?item wdt:P31/wdt:P279* ?privateClasses . BIND(false as ?isPublic) } UNION { VALUES ?publicClasses { wd:Q15343039 wd:Q3244038 wd:Q11513034 } . ?item wdt:P31/wdt:P279* ?publicClasses . BIND(true as ?isPublic) } BIND(substr(str(?value),1,1) AS ?first) BIND((?first = '1' || ?first = '2') AS ?firstPublic) FILTER(?isPublic != ?firstPublic) FILTER(STRLEN(str(?value)) = 9) } ORDER BY ?item
List of this constraint violations: Database reports/Complex constraint violations/P1616#Check first digit (1 or 2 for public)
 
Not having P1454
(Help)
Violations query: SELECT DISTINCT ?item WHERE { ?item wdt:P1616 ?value . FILTER NOT EXISTS { ?item wdt:P1454 [] } MINUS { VALUES ?classes { wd:Q3917681 wd:Q484170 wd:Q18821702 wd:Q21869758 wd:Q423785 wd:Q192350 wd:Q3591564 wd:Q375928 wd:Q11204 wd:Q1641572 } . ?item wdt:P31/wdt:P279* ?classes. } } ORDER BY ?item
List of this constraint violations: Database reports/Complex constraint violations/P1616#Not having P1454
 

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

The base URL will change edit

The Website https://entreprise.data.gouv.fr/ will be replaced by https://annuaire-entreprises.data.gouv.fr/ in a few weeks.

  Notified participants of WikiProject France. We will need to update P1630. PAC2 (talk) 22:42, 13 November 2020 (UTC)Reply

Thanks, and feel free to do so. Nomen ad hoc (talk) 06:44, 14 November 2020 (UTC).Reply

Sparql query to find siren id in annuaire-entreprises.data.gouv.fr edit

This SPARQL query looks for companies without SIREN number (P1616) value in annuaire-entreprises.data.gouv.fr.

Be careful, sometimes it is difficult to know which entity is the good match.

The following query uses these:

PAC2 (talk) 05:48, 9 May 2021 (UTC)Reply

Return to "P1616" page.