Property talk:P12192
Jump to navigation
Jump to search
Documentation
SWERIK ID
identifier in the SWERIK project about Swedish PM Corpus
identifier in the SWERIK project about Swedish PM Corpus
[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
- new examples Wikidata property example (P1855) --> P12192#P1855
- maybe new formatter URL formatter URL (P1630) --> P12192#P1630
- you have https://swerik-project.github.io/person-catalog/$1 person feels odd
- 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)
- nice to have
- property constraint (P2302) see Help:Property_constraints_portal
- 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
- today we have
- subject type constraint (Q21503250) - instance of (Q21503252) human (Q5)
- item-requires-statement constraint (Q21503247) - politician (Q82955) as the property will be more general this need to change
- format as a regular expression (P1793) is always good to have to catch errors early
- It looks like you have a unique identifier format of your own --> chatGPT ^i-[a-zA-Z0-9]{10,25}$
- property constraint (P2302) see Help:Property_constraints_portal
.....
Categories:
- Sweden-related properties
- All Properties
- Properties with external-id-datatype
- Properties used on 1000+ items
- Properties with single value constraints
- Properties with unique value constraints
- Properties with constraints on type
- Properties with entity type constraints
- Properties with scope constraints
- Properties with constraints on items using them
- Politician properties