Property talk:P12192

From Wikidata
Jump to navigation Jump to search

Documentation

SWERIK ID
identifier in the SWERIK project about Swedish PM Corpus
Associated itemSwedish Riksdag 1867–2022: An Ecosystem of Linked Open Data (SWERIK) (Q123688380)
Data typeExternal identifier
Domainhuman (Q5)
Allowed values^i-[a-zA-Z0-9]{10,25}$
ExampleOlof Palme (Q53713)i-DKX1MP4aaNtFZSpMKXCwY
Fredrik von Otter (Q52969)i-FhLSLTTgMvsYGQ25DUwcvz
Arvid Lindman (Q53294)i-Fnu186BGHvvTJDuB7t6zMb
Sourcehttps://swerik-project.github.io/
Formatter URLhttps://swerik-project.github.io/person-catalog/$1
https://github.com/swerik-project/swerik-project.github.io/blob/4d1a12479cb5c640550a89d2b7760b297cda102a/_data/_person-catalog/$1.json
Related to country Sweden (Q34) (See 117 others)
See alsoSwedish Parliament person GUID (P8388), Riksdagen person-ID (P1214)
Lists
Proposal discussionProposal discussion
Current uses
Total6,180
Main statement6,177>99.9% of uses
Qualifier3<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/P12192#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/P12192#Unique value, SPARQL (every item), SPARQL (by value)
Type “human (Q5): item must contain property “instance of (P31)” with classes “human (Q5)” 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/P12192#Type Q5, 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/P12192#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/P12192#Scope, SPARQL
Item “occupation (P106): politician (Q82955): Items with this property should also have “occupation (P106): politician (Q82955)”. (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/P12192#Item P106, search, SPARQL

Change of this external identifier

[edit]

Looks like this identifier SWERIK ID (P12192) will also support parties et al see discussion Wikidata:Property proposal/SWERIK Party ID and GITHUB swerik-project/riksdagen-persons/issues/25

What the SWERIK people need to state and they can change on the Wikidata side

  1. new examples Wikidata property example (P1855) --> P12192#P1855
  2. maybe new formatter URL formatter URL (P1630) --> P12192#P1630
    1. you have https://swerik-project.github.io/person-catalog/$1 person feels odd
  3. change instance of (P31) and add what is more correct e.g. compare Uppsala University Alvin ID (P6821) / Ministry of the Interior of Italy ID (P8648)
    1. maybe just instance of (P31) Wikidata property for an identifier (Q19847637)
  4. nice to have
    1. property constraint (P2302) see Help:Property_constraints_portal
      1. better constraints make it easier to find odd things see odd things we found today in this reportWikidata:Database_reports/Constraint_violations/P12192 as we make the property more general we need to change the constraints
      2. today we have
        1. subject type constraint (Q21503250) - instance of (Q21503252) human (Q5)
        2. item-requires-statement constraint (Q21503247) - politician (Q82955) as the property will be more general this need to change
    2. format as a regular expression (P1793) is always good to have to catch errors early
      1. It looks like you have a unique identifier format of your own --> chatGPT ^i-[a-zA-Z0-9]{10,25}$

.....

- Salgo60 (talk) 22:40, 27 October 2024 (UTC)[reply]