Property talk:P9936

Latest comment: 3 years ago by Rachmat04 in topic Regex change

Documentation

Indonesian Museum National Registration System ID
identifiant of Indonesian Museum National Registration System by Ministry of Education, Culture, Research and Technology of Indonesia
Data typeExternal identifier
Domainmuseum (Q33506)
Allowed values[A-Za-z0-9]{188,194}={0,2}
ExampleWayang Museum (Q2854954)eyJpdiI6InR0SWc3eHhUK0x0VDR0cHQ1WjVhOXc9PSIsInZhbHVlIjoiWGNna3VQSVdGRURPSkZMOXhmVUZrdz09IiwibWFjIjoiZmY2YzE5MzRiYWQ0MjcyYWY0NTg4NjJmMjM4ZTU5MDVmZjM0NDQ0NmJkMjU1NTYyODNiZDY4MmIwYzM1NDA1YiJ9
National Press Monument (Q15287387)eyJpdiI6InY0TEw2XC9FOWJFV21OY1wvQlwvT2JXTEE9PSIsInZhbHVlIjoiU0YzdTRDVG10elwvTXNuQUhnTVEyaVE9PSIsIm1hYyI6Ijk3NmUyYzNhYzE1NzQxYTQzOWJmZWI3MDU0YzZjYTM4NjllODA2NTYzNzcwODVmZDU3MmMyMjFhZTU0ZDdkMGYifQ
Dr. H.C. Oemboe Hina Kapita Museum (Q54548837)eyJpdiI6IlFoVW1VcEFiUDNEYTRXYnFaeGlaanc9PSIsInZhbHVlIjoibXhLRFUzbStJZkNGam1tT2I3d1wvYmc9PSIsIm1hYyI6ImYzY2ExODE0ZmUwZWRmYWE2MjA4MGFiOTQ5NDMyMzM5YzAwZjY3YzUxMWE0ZTMzNjMxMDQxMjlkODcwNDcwNGQifQ
Sourcehttps://museum.kemdikbud.go.id/museum
Formatter URLhttps://museum.kemdikbud.go.id/museum/profile/$1
Related to country  Indonesia (Q252) (See 38 others)
Lists
Proposal discussionProposal discussion
Current uses
Total276
Main statement27298.6% of uses
Qualifier31.1% of uses
Reference10.4% of uses
Search for values
[create Create a translatable help page (preferably in English) for this property to be included here]
Type “museum (Q33506): item must contain property “instance of (P31)” with classes “museum (Q33506)” 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/P9936#Type Q33506, 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/P9936#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/P9936#Single value, SPARQL
Format “[A-Za-z0-9]{188,194}={0,2}: 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/P9936#Format, SPARQL
Scope is as main value (Q54828448): 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/P9936#Scope, 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/P9936#Entity types
Item “country (P17): Indonesia (Q252): Items with this property should also have “country (P17): Indonesia (Q252)”. (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/P9936#Item P17, search, SPARQL

Regex change

edit

Hello @Pamputt, I changed regex format of this property to [A-Za-z0-9]{188,194}\=?\=?

I forgot to mention that some of the IDs are ending with double equal signs. For example, see this property's value on Q4271636. Hope it does not break anything. Best, ··· 🌸 Rachmat04 · 06:48, 20 October 2021 (UTC)Reply

After a moment later, @Raisha (WMID) has changed the format again to a better code. Thanks! ··· 🌸 Rachmat04 · 07:00, 20 October 2021 (UTC)Reply
I changed it so that it passes the regex only if the equal signs are at the end of the string. With the previous regex, it would accept also strings where = signs are present in the middle of the string, even more than 2 times. Pamputt (talk) 12:55, 20 October 2021 (UTC)Reply
@Pamputt: Thanks! ··· 🌸 Rachmat04 · 15:32, 20 October 2021 (UTC)Reply
Return to "P9936" page.