Property talk:P981

From Wikidata
Jump to navigation Jump to search

Documentation

BAG residence ID
BAG code for Dutch residencies ("woonplaats", mostly municipalities)
DescriptionBAG (woonplaatscode) for Dutch villages, see cadastral populated place in the Netherlands (Q1852859)
Representsbasic register addresses and buildings (Q2274762)
Associated itemTopografische Dienst (Q2161069)
Data typeExternal identifier
Template parameterwoonplaatscode in nl:Template:Infobox plaats in Nederland
Domain
According to this template: places: Dutch villages, streets...
According to statements in the property:
human settlement (Q486972)
When possible, data should only be stored as statements
Allowed values\d{4} (numeric string with 4 digits)
ExampleAadorp (Q2331262)1925 (RDF)
Haarlem (Q9920)2907 (RDF)
Sourcehttp://www.kadaster.nl/web/Themas/themaartikel/BAGartikel/BAG-woonplaatscodetabel.htm
Formatter URLhttps://bagviewer.kadaster.nl/lvbag/bag-viewer/index.html#?objectId=$1&detailsObjectId=$1
https://brt.basisregistraties.overheid.nl/top10nl/doc/plaats/$1
https://bag.basisregistraties.overheid.nl/bag/id/woonplaats/$1
Related to country Netherlands (Q55) (See 108 others)
See alsoBAG public space ID (P5207), BAG building ID (P5208), CBS municipality code (P382)
Lists
Proposal discussionProposal discussion
Current uses
Total2,520
Main statement2,50899.5% of uses
Qualifier2<0.1% of uses
Reference100.4% of uses
Search for values
[create Create a translatable help page (preferably in English) for this property to be included here]
Type “human settlement (Q486972): item must contain property “instance of (P31)” with classes “human settlement (Q486972)” 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/P981#Type Q486972, SPARQL
Format “\d{4}: value must be formatted using this pattern (PCRE syntax). (Help)
List of violations of this constraint: Database reports/Constraint violations/P981#Format, hourly updated report, SPARQL
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/P981#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/P981#Unique value, SPARQL (every item), SPARQL (by value)
Item “country (P17): Netherlands (Q55): Items with this property should also have “country (P17): Netherlands (Q55)”. (Help)
List of violations of this constraint: Database reports/Constraint violations/P981#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/P981#Item P131, search, SPARQL
Item “GeoNames ID (P1566): Items with this property should also have “GeoNames ID (P1566)”. (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/P981#Item P1566, 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/P981#Item P625, SPARQL
Item “Commons category (P373): Items with this property should also have “Commons category (P373)”. (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/P981#Item P373, search, 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/P981#Entity types
Label required in languages: nl: Entities using this property should have labels in one of the following languages: nl (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/P981#Label in 'nl' language, search, SPARQL
Label required in languages: en: Entities using this property should have labels in one of the following languages: en (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/P981#Label in 'en' language, search, 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/P981#Scope, SPARQL
Conflicts with “located in time zone (P421): 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/P981#Conflicts with P421, search, SPARQL


Missing BAG links
Woonplaatsen in BAG linked open data that we don't link to (Help)
Violations query: SELECT ?item ?woonplaats ?label ?status WHERE { SERVICE <https://data.pdok.nl/sparql> { SELECT ?woonplaats ?label ?status WHERE { ?woonplaats <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://bag.basisregistraties.overheid.nl/def/bag#Woonplaats> . ?woonplaats <http://bag.basisregistraties.overheid.nl/def/bag#status> ?status . ?woonplaats <http://www.w3.org/2000/01/rdf-schema#label> ?label . } } MINUS { ?item p:P981 ?bagstatement . ?bagstatement psn:P981 ?woonplaats . } . # Trick to make a dummy item BIND(xsd:integer(REPLACE(STR(?woonplaats), "http://bag.basisregistraties.overheid.nl/bag/id/woonplaats/", "")) AS ?bagid) BIND(URI(CONCAT("http://www.wikidata.org/entity/Q", STR(?bagid + 1000000000))) AS ?item ) . }
List of this constraint violations: Database reports/Complex constraint violations/P981#Missing BAG links

Expand scope?[edit]

I propose to expand the scope of this property to every that has a bag code like streets and individual houses. This is very useful data and makes it easier for others to connect to us. @Michiel1972: you proposed this property. Do you agree? Multichill (talk) 21:14, 28 January 2016 (UTC)[reply]

@Denengelse: you're probably interested in this property. Multichill (talk) 22:02, 3 February 2016 (UTC)[reply]
Ok, I changed the scope. Now the translations needs to be updated. Multichill (talk) 17:03, 21 February 2016 (UTC)[reply]
Turns out this wasn't such a good plan. See Wikidata:Property proposal/BAG Pand ID and Wikidata:Property proposal/BAG Openbare ruimte ID. Multichill (talk) 12:31, 19 May 2018 (UTC)[reply]

Complex constraint broken[edit]

The complex constraint defined on this page is broken because the used federated SPARQL endpoint https://data.pdok.nl/sparql is no longer available (see phab:T264659). Unfortunately, I don't get this to work again when I use the new endpoints. So can someone please have a look? (ping @Multichill in particular, who defined the complex constraint). —MisterSynergy (talk) 09:28, 21 March 2023 (UTC)[reply]