Property talk:P2951

From Wikidata
Jump to navigation Jump to search

Documentation

Cultural heritage database in Austria ObjektID
identifier given by the published BDA (Bundesdenkmalamt) list of monuments
DescriptionThis property defines an identifier as given by the published BDA (Bundesdenkmalamt) list of monuments.
RepresentsDenkmalgeschütztes Objekt (Q1188447)
Data typeExternal identifier
Allowed values[1-9]\d{0,5}
ExamplePfarrkirche Mariä Himmelfahrt (Q18818498)12591
no label (Q96678592)156
no label (Q97012510)135
Formatter URLhttps://denkmalliste.toolforge.org/index.php?action=EinzelID&ID=$1
Tracking: usageCategory:Pages using Wikidata property P2951 (Q29034667)
Related to country Austria (Q40) (See 81 others)
See alsoHeritage Information System ID in the database of cultural heritage in Austria (P9154)
Lists
Proposal discussionProposal discussion
Current uses
Total38,844
Main statement38,838>99.9% of uses
Qualifier3<0.1% of uses
Reference3<0.1% of uses
Search for values
[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)
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/P2951#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/P2951#Single value, SPARQL
Format “[1-9]\d{0,5}: value must be formatted using this pattern (PCRE syntax). (Help)
"exceptions" is incompatible with "mandatory" parameter List of violations of this constraint: Database reports/Constraint violations/P2951#Format, hourly updated report, SPARQL
Item “country (P17): Austria (Q40): Items with this property should also have “country (P17): Austria (Q40)”. (Help)
List of violations of this constraint: Database reports/Constraint violations/P2951#Item P17, hourly updated report, search, SPARQL
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/P2951#Item P131, search, SPARQL
Item “coordinate location (P625): Items with this property should also have “coordinate location (P625)”. (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/P2951#Item P625, 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/P2951#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/P2951#Scope, SPARQL
Conflicts with “instance of (P31): cultural property (Q2065736): this property must not be used with the listed properties and values. (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/P2951#Conflicts with P31, search, SPARQL
Items without ID
Items that do have Denkmalgeschütztes Objekt (Q1188447) in heritage designation (P1435), but neither Cultural heritage database in Austria ObjektID (P2951) nor Heritage Information System ID in the database of cultural heritage in Austria (P9154) (Help)
Violations query: SELECT ?item WHERE { ?item wdt:P1435 wd:Q1188447 . OPTIONAL { ?item wdt:P2951 ?dummy0 } OPTIONAL { ?item wdt:P9154 ?dummy1 } FILTER(!bound(?dummy0) && !bound(?dummy1)) } ORDER BY ?item
List of this constraint violations: Database reports/Complex constraint violations/P2951#Items without ID
located in an administrative territorial entity different from an Austrian municipality
cultural heritage located in an administrative territorial entity different from an Austrian municipality (Help)
Violations query: SELECT ?item WHERE { ?item wdt:P2951 [] . FILTER NOT EXISTS { ?item wdt:P361?/wdt:P131/wdt:P964 []} } ORDER BY ?item
List of this constraint violations: Database reports/Complex constraint violations/P2951#located in an administrative territorial entity different from an Austrian municipality
Single value constraint violation not marked as an exception
either fix or mark as an exception (add object causing the contraint violation to Cultural heritage database in Austria ObjektID (P2951), Property property constraint (P2302), single-value constraint (Q19474404), qualifier exception to constraint (P2303) (Help)
Violations query: SELECT DISTINCT ?item ?count ?sample1 ?sample2 WHERE { { SELECT ?item (COUNT(?value) AS ?count) (MIN(?value) AS ?sample1) (MAX(?value) AS ?sample2) { ?item wdt:P2951 ?val . OPTIONAL { wd:P2951 wdt:P1630 ?formatter } . BIND( IF( BOUND( ?formatter ), URI( REPLACE( ?formatter, '\\$1', ?val ) ), ?val ) AS ?value ) . } GROUP BY ?item HAVING ( ?count > 1 ) LIMIT 500 } . OPTIONAL { wd:P2951 p:P2302 [ ps:P2302 wd:Q19474404; pq:P2303 ?exc ] . FILTER( ?exc = ?item ) . } . BIND( BOUND( ?exc ) AS ?exception ) . FILTER (?exception = false) . } ORDER BY DESC(?count)
List of this constraint violations: Database reports/Complex constraint violations/P2951#Single value constraint violation not marked as an exception
Find municipalities marked as cultural heritage monuments in Austria
Error, as municipalities as a whole are not cultural heritage monuments in Austria (Help)
Violations query: SELECT ?item WHERE { ?item wdt:P2951 [] . ?item wdt:P31 wd:Q667509. } ORDER BY ?itemLabel
List of this constraint violations: Database reports/Complex constraint violations/P2951#Find municipalities marked as cultural heritage monuments in Austria