Property talk:P771
Jump to navigation
Jump to search
Documentation
Swiss municipality code
identifier for a municipality in Switzerland
identifier for a municipality in Switzerland
[create Create a translatable help page (preferably in English) for this property to be included here]
List of violations of this constraint: Database reports/Constraint violations/P771#Format, hourly updated report, SPARQL
Item “country (P17): Switzerland (Q39), Liechtenstein (Q347), Germany (Q183)”: Items with this property should also have “country (P17): Switzerland (Q39), Liechtenstein (Q347), Germany (Q183)”. (Help)
List of violations of this constraint: Database reports/Constraint violations/P771#Item P17, hourly updated report, searchItem “coordinate location (P625)”: Items with this property should also have “coordinate location (P625)”. (Help)
List of violations of this constraint: Database reports/Constraint violations/P771#Item P625, hourly updated report, SPARQLDistinct 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/P771#Unique value, hourly updated report, 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). Known exceptions: Lake Zurich (Q14407), Lake Biel (Q14429), Lake Neuchâtel (Q14375), Lake Hallwil (Q14465), Lake Zug (Q14436), Lake Lucerne (Q14381), Walensee (Q14444), Lake Murten (Q14448), Lake Constance (Q4127), Lake Geneva (Q6403), Campione d'Italia (Q244207), Delémont (Q63896), Horgen (Q68286), Wädenswil (Q69718)List of violations of this constraint: Database reports/Constraint violations/P771#Single value, SPARQL
Item “country (P17): Switzerland (Q39)”: Items with this property should also have “country (P17): Switzerland (Q39)”. (Help)
Exceptions are possible as rare values may exist. Exceptions can be specified using exception to constraint (P2303). Known exceptions: Constance (Q3834), Büsingen am Hochrhein (Q61698), Campione d'Italia (Q244207), Vaduz (Q1844), Triesen (Q49654), Balzers (Q49663), Triesenberg (Q49651), Schaan (Q49657), Planken (Q49660), Eschen (Q4540), Mauren (Q49661), Gamprin (Q49662), Ruggell (Q49659), Schellenberg (Q49655)List of violations of this constraint: Database reports/Constraint violations/P771#Item P17, search, SPARQL
Exceptions are possible as rare values may exist. Exceptions can be specified using exception to constraint (P2303). Known exceptions: Q389212, Q994276, Q1252006, Q1780471, Q1780472, Q1780473, Q14550, Q52274, Q68869, Q70531, Q70606, Q70609, Q70629, Q70633, Q70635, Q70695, Q70701, Q70731, Q70741, Q585496, Q1021823, Q1686296, Q1877273, Q2680071, Q5682949, Q68358, Q68552, Q70704, Q15107547, Q67010, Q240486, Q251727, Q66020, Q66252, Q67775, Q68843, Q70463, Q70603, Q70639, Q237120, Q2507678, Q15056824, Q15059724, Q15060153, Q15108127, Q15124921, Q15890943, Q16269754, Q17325677, Q17326749, Q18229597, Q18411365, Q17310488, Q19944645, Q28035756, Q688557, Q28000807, Q19544878, Q19843359, Q19843360, Q21051027, Q68959, Q22490623
List of violations of this constraint: Database reports/Constraint violations/P771#Item P902, search, SPARQL
List of violations of this constraint: Database reports/Constraint violations/P771#Item P902, search, SPARQL
Exceptions are possible as rare values may exist. Exceptions can be specified using exception to constraint (P2303). Known exceptions: Comunanza Bidogno/Capriasca/Corticiasca (Q1780471), Comunanza Capriasca/Lugaggia (Q994276), Steg (Q689538), Oberramsern (Q669466), Mannens-Grandsivaz (Q473191), Oberehrendingen (Q689556), Willisau Stadt (Q689603)
List of violations of this constraint: Database reports/Constraint violations/P771#Item P1566, search, SPARQL
List of violations of this constraint: Database reports/Constraint violations/P771#Item P1566, search, SPARQL
Item “located in the administrative territorial entity (P131): Valais (Q834), Bern (Q11911), Canton of Geneva (Q11917), Glarus (Q11922), Grisons (Q11925), Solothurn (Q11929), Zug (Q11933), Canton of Zürich (Q11943), Aargau (Q11972), Appenzell Ausserrhoden (Q12079), Appenzell Innerrhoden (Q12094), Lucerne (Q12121), Basel-Landschaft (Q12146), Basel-Stadt (Q12172), Uri (Q12404), Schwyz (Q12433), Obwalden (Q12573), Nidwalden (Q12592), Canton of Fribourg (Q12640), Schaffhausen (Q12697), Thurgau (Q12713), Ticino (Q12724), Neuchâtel (Q12738), canton St. Gallen (Q12746), Jura (Q12755), canton Vaud (Q12771)”: Items with this property should also have “located in the administrative territorial entity (P131): Valais (Q834), Bern (Q11911), Canton of Geneva (Q11917), Glarus (Q11922), Grisons (Q11925), Solothurn (Q11929), Zug (Q11933), Canton of Zürich (Q11943), Aargau (Q11972), Appenzell Ausserrhoden (Q12079), Appenzell Innerrhoden (Q12094), Lucerne (Q12121), Basel-Landschaft (Q12146), Basel-Stadt (Q12172), Uri (Q12404), Schwyz (Q12433), Obwalden (Q12573), Nidwalden (Q12592), Canton of Fribourg (Q12640), Schaffhausen (Q12697), Thurgau (Q12713), Ticino (Q12724), Neuchâtel (Q12738), canton St. Gallen (Q12746), Jura (Q12755), canton Vaud (Q12771)”. (Help)
Exceptions are possible as rare values may exist. Exceptions can be specified using exception to constraint (P2303). Known exceptions: Constance (Q3834), Büsingen am Hochrhein (Q61698), Campione d'Italia (Q244207), Vaduz (Q1844), Triesen (Q49654), Balzers (Q49663), Triesenberg (Q49651), Schaan (Q49657), Planken (Q49660), Eschen (Q4540), Mauren (Q49661), Gamprin (Q49662), Ruggell (Q49659)List of violations of this constraint: Database reports/Constraint violations/P771#Item P131
Item “OpenStreetMap relation ID (P402)”: Items with this property should also have “OpenStreetMap relation ID (P402)”. (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/P771#Item P402, search, SPARQL
Type “municipality of Switzerland (Q70208), territory shared by several municipalities of Switzerland (Q14872996), area not part of a municipality of Switzerland (Q14811181), municipality of Liechtenstein (Q203300), former municipality of Switzerland (Q685309)”: item must contain property “instance of (P31)” with classes “municipality of Switzerland (Q70208), territory shared by several municipalities of Switzerland (Q14872996), area not part of a municipality of Switzerland (Q14811181), municipality of Liechtenstein (Q203300), former municipality of Switzerland (Q685309)” 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). Known exceptions: Constance (Q3834), Büsingen am Hochrhein (Q61698), Campione d'Italia (Q244207), Lake Geneva (Q6403)List of violations of this constraint: Database reports/Constraint violations/P771#Type Q70208, Q14872996, Q14811181, Q203300, Q685309, SPARQL
Item “locator map image (P242)”: Items with this property should also have “locator map image (P242)”. (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/P771#Item P242, SPARQL
Item “topic's main category (P910)”: Items with this property should also have “topic's main category (P910)”. (Help)
Exceptions are possible as rare values may exist. Exceptions can be specified using exception to constraint (P2303). Known exceptions: Q1252006, Q1780471, Q994276, Q1780472, Q1780473, Q389212, Q14497, Q14407, Q14426, Q14442, Q14429, Q14375, Q14509, Q14459, Q14465, Q14436, Q14381, Q688846, Q14505, Q14444, Q14507, Q682189, Q14448, Q4127, Q14418, Q14379, Q14472, Q6403List of violations of this constraint: Database reports/Constraint violations/P771#Item P910, search, SPARQL
Item “coat of arms image (P94)”: Items with this property should also have “coat of arms image (P94)”. (Help)
Exceptions are possible as rare values may exist. Exceptions can be specified using exception to constraint (P2303). Known exceptions: Q1252006, Q1780471, Q994276, Q1780472, Q1780473, Q389212, Q14497, Q14407, Q14426, Q14442, Q14429, Q14375, Q14509, Q14459, Q14465, Q14436, Q14381, Q688846, Q14505, Q14444, Q14507, Q682189, Q14448, Q4127, Q14418, Q14379, Q14472, Q6403List of violations of this constraint: Database reports/Constraint violations/P771#Item P94, SPARQL
Item “list of monuments (P1456)”: Items with this property should also have “list of monuments (P1456)”. (Help)
Exceptions are possible as rare values may exist. Exceptions can be specified using exception to constraint (P2303). Known exceptions: Q1252006, Q1780471, Q994276, Q1780472, Q1780473, Q389212, Q14497, Q14407, Q14426, Q14442, Q14429, Q14375, Q14509, Q14459, Q14465, Q14436, Q14381, Q688846, Q14505, Q14444, Q14507, Q682189, Q14448, Q4127, Q14418, Q14379, Q14472, Q6403, Q141502, Q183441, Q1844, Q244207, Q286332, Q289534, Q3834, Q390482, Q429085, Q429962, Q4540, Q49651, Q49654, Q49655, Q49657, Q49659, Q49660, Q49661, Q49662, Q49663, Q512542, Q526602, Q541319, Q54450, Q597413, Q611382, Q61698, Q623277, Q643200, Q65502, Q65549, Q658739, Q659753, Q659822, Q659899, Q659907, Q659960, Q660047, Q660057, Q660093, Q660142, Q660153, Q660215, Q660974, Q660999, Q661369, Q662259, Q662273, Q662286, Q662405, Q662456, Q662541, Q664153, Q664221, Q666959, Q668239, Q668625, Q669152, Q669218, Q669229, Q669254, Q669280, Q669292, Q669310, Q669332, Q669360, Q669375, Q669400, Q669411, Q669424, Q669437, Q669445, Q669466, Q669488, Q674405, Q678690, Q678769, Q678787, Q678813, Q678901, Q678960, Q678991, Q68692, Q688652, Q689087, Q689487, Q689499, Q689575, Q689623, Q70477, Q70485, Q70683, Q7149, Q869534, Q64226, Q64229, Q64319, Q64328, Q64659, Q64682, Q64895, Q65073, Q65107, Q65361, Q65434, Q65708, Q65789, Q66036, Q66342, Q66489, Q67267, Q67286, Q67330, Q67389, Q67484, Q67544, Q67571, Q67662, Q67782, Q67962, Q68474, Q68612, Q68784, Q68829, Q69868, Q69940, Q70330, Q70345, Q70693, Q281137, Q378869, Q388657, Q435231, Q443653, Q473191, Q604580, Q622853, Q659815, Q661294, Q662247, Q662427, Q668163, Q669170, Q669306, Q669350, Q669386, Q672249, Q672274, Q674886, Q681652, Q689459, Q689538, Q689543, Q689549, Q689556, Q689567, Q689582, Q689592, Q689603, Q689629, Q689644, Q692767List of violations of this constraint: Database reports/Constraint violations/P771#Item P1456, 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/P771#Item P18, SPARQL
List of violations of this constraint: Database reports/Constraint violations/P771#Item P18, SPARQL
Item “time of earliest written record (P1249)”: Items with this property should also have “time of earliest written record (P1249)”. (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/P771#Item P1249, 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/P771#Entity types
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/P771#Scope, hourly updated report, SPARQLRequired qualifier “located in the administrative territorial entity (P131)”: this property should be used with the listed qualifier. (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/P771#mandatory qualifier, SPARQL
Check all codes > 6806
(Help)
Violations query:
List of this constraint violations: _6806" title="Wikidata:Database reports/Complex constraint violations/P771">Database reports/Complex constraint violations/P771#Check all codes > 6806
(Help)
Violations query:
SELECT ?item ?code { ?item wdt:P771 ?code. FILTER (xsd:integer(?code) > 6806) FILTER NOT EXISTS { ?item wdt:P31 wd:Q14811181 } FILTER NOT EXISTS { ?item wdt:P31 wd:Q23397 } FILTER NOT EXISTS { ?item wdt:P31 wd:Q203300 } FILTER NOT EXISTS { ?item wdt:P131 wd:Q12755 } FILTER NOT EXISTS { ?item wdt:P501 wd:Q39 } FILTER (?code != "7111") }
List of this constraint violations: _6806" title="Wikidata:Database reports/Complex constraint violations/P771">Database reports/Complex constraint violations/P771#Check all codes > 6806
Picture
(Help)
Violations query:
List of this constraint violations: Database reports/Complex constraint violations/P771#Picture
(Help)
Violations query:
SELECT ?item ?pop { ?item p:P771 ?value. ?item wdt:P1082 ?pop. FILTER NOT EXISTS { ?item p:P18 [] } FILTER (?pop > 10000) }
List of this constraint violations: Database reports/Complex constraint violations/P771#Picture
This property is being used by:
Please notify projects that use this property before big changes (renaming, deletion, merge with another property, etc.) |
|
|
please add formatterUrl
[edit]The following URL provides further information to the Swiss Municipality ID: http://classifications.data.admin.ch/municipality/$id – The preceding unsigned comment was added by L00mi (talk • contribs) at 08:33, 27 July 2017 (UTC).
- It doesn't seem to use the same format. I added it as 3rd party.
--- Jura 17:47, 13 November 2017 (UTC)
Administrative territorial entity
[edit]The P131s are not necessarily the "cantons" and it is often the following case according to the "linked data" in RDF format. Example, Nyon (Q64027)located in the administrative territorial entity (P131)Nyon District (Q675501). Cordially. —Eihel (talk) 19:19, 9 October 2021 (UTC)
- I think you were already blocked over this. Please just use ranks and/or add start/end dates if you want to add these temporary entities too. --- Jura 13:03, 29 October 2021 (UTC)
Categories:
- Switzerland-related properties
- All Properties
- Properties with external-id-datatype
- Properties used on 1000+ items
- Properties with format constraints
- Properties with constraints on items using them
- Properties with unique value constraints
- Properties with single value constraints
- Properties with constraints on type
- Properties with entity type constraints
- Properties with scope constraints
- Properties with required qualifiers constraints
- Properties with complex constraints