Property talk:P3503
Jump to navigation
Jump to search
Documentation
LombardiaBeniCulturali building ID
identifier of a historical building in the cultural heritage database of the Lombardy Region of Italy
identifier of a historical building in the cultural heritage database of the Lombardy Region of Italy
[create Create a translatable help page (preferably in English) for this property to be included here]
Distinct values: this property likely contains a value that is different from all other items. (Help)
List of violations of this constraint: Database reports/Constraint violations/P3503#Unique value, hourly updated report, SPARQL (every item), SPARQL (by value)Single value: this property generally contains a single value. (Help)
List of violations of this constraint: Database reports/Constraint violations/P3503#Single value, hourly updated report, SPARQL List of violations of this constraint: Database reports/Constraint violations/P3503#Item P31, hourly updated report, search, SPARQL
Format “
List of violations of this constraint: Database reports/Constraint violations/P3503#Format, hourly updated report, SPARQL([0-9A-Z]{2,4}|[a-z0-9]{2}[0-9]{2})[01]-[01]?[0-9]{4}
”: value must be formatted using this pattern (PCRE syntax). (Help)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/P3503#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/P3503#Scope, SPARQL
Label required in languages: it: Entities using this property should have labels in one of the following languages: it (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/P3503#Label in 'it' language, search, SPARQL
Pattern ^/([0-9A-Za-z]{3}\d\d-\d{4,5})/?$ will be automatically replaced to \1. Testing: TODO list |
Pattern ^([0-9A-Za-z]{3}\d\d-\d{4,5})/$ will be automatically replaced to \1. Testing: TODO list |
This property is being used by: Please notify projects that use this property before big changes (renaming, deletion, merge with another property, etc.) |
|
|
Proposal of update of format violations
[edit]Hi, Hitrandil (WMIT) and I would like to suggest to upgrade the expression of the format violation in ([0-9A-Za-z]{3,5}-[0-9]{3,5})
in order to exclude a group of architecture from the violations. Elemar (WMIT) (talk) 14:31, 10 June 2022 (UTC)
- Notified participants of WikiProject Italy Elemar (WMIT) (talk) 12:51, 17 June 2022 (UTC)
- Yes, it would include cases like http://www.lombardiabeniculturali.it/architetture/schede/SWCF1-00014/. Support. --Epìdosis 12:54, 17 June 2022 (UTC)
- Support--Parma1983 (talk) 13:03, 17 June 2022 (UTC)
- Support --FeltriaUrbsPicta (msg) 13:11, 17 June 2022 (UTC)
- Scusate ma non capisco: si tratta di escludere un gruppo di architetture dalle violazioni? Di quali violazioni si parla? Grazie, --Sentruper (talk) 13:13, 17 June 2022 (UTC)
- @Sentruper: Si propone di rendere più flessibile il formato dell'identificatore (espresso tramite un'espressione regolare) in modo da non segnalare più alcune dichiarazioni come violazioni del vincolo di formato (ad es., attualmente Q112140459#P3503 segnala un errore di questo tipo). --Horcrux (talk) 13:24, 17 June 2022 (UTC)
- Support --Marcok (talk) 13:48, 17 June 2022 (UTC)
- Disagree with the original proposal. All the identifiers are made of 5 characters, followed by an hyphen, followed by other 5 characters (except for Q94998806, which ends by 4 chars). Parentheses and
3,
are useless. I would suggest([0-9A-Z]{2,4}|[a-z0-9]{2}[0-9]{2})[01]-[01]?[0-9]{4}
, which covers all the current identifiers and it is not too much permissive. --Horcrux (talk) 14:00, 17 June 2022 (UTC)- We adopted the solution suggested by Horcrux and there are no format violations anymore. Thank you everyone! Elemar (WMIT) (talk) 07:58, 1 July 2022 (UTC)
Categories:
- Italy-related properties
- All Properties
- Properties with external-id-datatype
- Properties used on 10000+ items
- Properties with unique value constraints
- Properties with single value constraints
- Properties with constraints on items using them
- Properties with format constraints
- Properties with entity type constraints
- Properties with scope constraints
- Properties with label language constraints
- Cultural heritage properties