Property talk:P1770

Latest comment: 9 years ago by Pigsonthewing in topic formatter URL

Documentation

Romania LMI code
identifier in 'Lista monumentelor istorice din România' (Romanian heritage sites)
Data typeExternal identifier
Domainonly instances of historic monument (Q916620) (note: this should be moved to the property statements)
Allowed values[A-Z]{1,2}-(I|II|III|IV)-[a-z]-(A|B)-[0-9]{5}(\.\d\d\d?)?
ExampleGrand Hôtel du Boulevard (Q3113619)B-II-m-A-18678
Deschan Palace in Timișoara (Q132407)TM-II-m-A-06162
Liteni Castle (Q541105)CJ-I-m-A-07090.01
SourceCommons:Template:Monument istoric, ro:Category:Liste de monumente istorice din România (note: this information should be moved to a property statement; use property source website for the property (P1896))
Formatter URLhttps://ro.wikipedia.org/wiki/Cod:LMI:$1
Tracking: usageCategory:Pages using Wikidata property P1770 (Q56158871)
Related to country Romania (Q218) (See 37 others)
Lists
Proposal discussionProposal discussion
Current uses
Total30,292
Main statement30,288>99.9% of uses
Qualifier3<0.1% of uses
Reference1<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/P1770#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/P1770#Unique value, SPARQL (every item), SPARQL (by value)
Item “country (P17): Romania (Q218): Items with this property should also have “country (P17): Romania (Q218)”. (Help)
List of violations of this constraint: Database reports/Constraint violations/P1770#Item P17, hourly updated report, search, SPARQL
Conflicts with “instance of (P31): historic monument (Q916620): this property must not be used with the listed properties and values. (Help)
List of violations of this constraint: Database reports/Constraint violations/P1770#Conflicts with P31, hourly updated report, search, SPARQL
Format “[A-Z]{1,2}-(I|II|III|IV)-(m|a|s)-(A|B)-[0-9]{5}(\.\d\d\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/P1770#Format, SPARQL
Scope is as main value (Q54828448), as reference (Q54828450): the property must be used by specified way only (Help)
List of violations of this constraint: Database reports/Constraint violations/P1770#Scope, hourly updated report, SPARQL
Format “[A-Z]{1,2}-(I|II|III|IV)-[a-z]-(A|B)-[0-9]{5}.*: value must be formatted using this pattern (PCRE syntax). (Help)
List of violations of this constraint: Database reports/Constraint violations/P1770#Format, hourly updated report, SPARQL
Format “(AR|AG|BC|BN|BH|BZ|BT|BR|BV|DJ|DB|AB|GL|GJ|GR|HR|HD|IL|IS|IF|CL|CJ|CT|CV|CS|MM|MS|MH|NT|OT|PH|SM|SB|SJ|SV|TR|TM|TL|VL|VS|VN|B-).*: 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/P1770#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/P1770#Entity types
Check ID
See ISO 3166-2 code (P300) (Help)
Violations query: SELECT ?item ?prefix ?iso ?isoPart { ?item p:P1770 [ps:P1770 ?value]. BIND (SUBSTR(?value, 1, 2) AS ?prefix). FILTER (?prefix NOT IN ("B-")) ?item wdt:P131 ?loc. ?loc wdt:P300 ?iso. BIND (SUBSTR(?iso, 4, 2) AS ?isoPart). FILTER (?isoPart != ?prefix) } LIMIT 3
List of this constraint violations: Database reports/Complex constraint violations/P1770#Check ID

Discussion edit

formatter URL edit

Using ro.Wikipedia as formatter URL for now. @Zolo: it would be good to encourage the Romanian authorities to provide a permanent URL for each entry in their list. Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 10:47, 20 March 2015 (UTC)Reply

Return to "P1770" page.