Commons:Monuments database/Categorization

From Wikimedia Commons, the free media repository
Jump to: navigation, search
ErfgoedBot helps categorizing – but you have to help him a bit!

All images of monuments should be properly categorized. This page describes the categorization process and how this work can be supported by bot - if you help with some basic structures.

Categorization[edit]

Commons uses a tree of categories to organize all the images. Each country will have a root category for its monuments, for example Category:Rijksmonumenten for the Netherlands or Category:National Register of Historic Places for the United States. The categories contain subcategories organized by location, for example by province and muncipality in the Netherlands or by state and county in the United States. These lower categories will generally contain the images or specific categories for certain monuments for example Category:Royal Palace of Amsterdam or Category:Empire State Building. When an image is in a category and also in one of its (grand)parent categories it's called overcategorized. That's something we try to prevent at Commons.

The tracker template[edit]

All images and categories of monuments are tagged with a template to indicate that the image or category is about a certain monuments, for example in the Netherlands we use {{Rijksmonument}} and for the United States we use {{NRHP}}. These templates give a bit of information, maybe include a link to a heritage register and include a (hidden) tracker category, for example Category:Rijksmonumenten with known IDs or Category:National Register of Historic Places with known IDs. These categories should never be added directly, always use the template. The template will sort all the items in the tracker category by identifier. This is used by the bots (more about that later).

How does the categorization bot work?[edit]

To help with the categorization a bot was created. This bot will work on all images in the root categories and will try to categorize them.

  1. Try to find the tracking template and try to extract the identifier: For example at File:De Noorman, Westkapelle 4.JPG {{Rijksmonument}} with identifier 38851.
  2. Lookup the identifier in the monuments database to find if it has a commonscat link. Replace the base category with this category. Bot is done with this image.
  3. Lookup the identifier in the monuments database to find if it has an article.
    1. If this is the case and the article has a {{Commonscat}} link to a category at Commons. Replace the base category with this category. Bot is done with this image.
    2. If this is the case, and the article is linked to a Wikidata item, and if the Wikidata item knows about a category at Commons. Replace the base category with this category. Bot is done with this image.
  4. Look the identifier up in the monuments database to find in what list the monument is.
    1. If this list has a {{Commonscat}} link to a category at Commons. Replace the base category with this category. Bot is done with this image.
    2. If this list is linked to a Wikidata item, and if the Wikidata item knows about a category at Commons. Replace the base category with this category. Bot is done with this image.
  5. If the list doesn't contain a link to Commons, look in what categories the list is.
    1. If these categories have {{Commonscat}} links, replace the base category with these categories. This might add multiple categories. Bot is done with this image.
    2. If these categories are linked to Wikidata items, and if these Wikidata items know about a category at Commons. Replace the base category with these categories. Bot is done with this image.

There are several ways the {{Commonscat}} may point to a Commons category:

  • Explicitly having the category as parameter
  • Relying on Wikidata and P373
  • Implicitly to a category named like the article (without parameter).

There are two ways a Wikidata item may point to a Commons category:

How can I help?[edit]

  • If an entry in a list on Wikipedia has its own category here on Commons, add the | commonscat = <name of category here at Commons> to the row template. "commonscat" is the default, but might be localized in your list.
  • Every list on Wikipedia and most categories containing the lists on Wikipedia should have a {{Commonscat}} to Commons. This makes it easier for users to navigate and helps the bot to better categorize the images. You can help by adding the missing links.
  • After the bot run images are left in the root category. These images need some manual attention. Template and/or identifier might be missing or incorrect. You can help by fixing these things.
  • Expand and maintain the category tree. Commons has a lot of categories about specific monuments that are not yet part of the tree. You can help improve our category structure. Add other categories, which may indicate the purpose of the monument (example: Category:Churches in Bruges) or its precise geographic location (example:Category:Ezelstraat (Brugge)).

Overview[edit]

Every night a bot tries to categorize images based on their identifier. This page gives an overview of the work that has been done by the bot and what is left over for the users to do.

country lang Base category Template Total images Categorized images Images left Current image count
ch fr Category:Cultural properties of national significance in Switzerland {{Cultural property of national significance in Switzerland}} 0 0 0 0
ke en Category:None {{Kenya Monument}} 8 0 8 8
wlpa-es-ct ca Category:Public art in Catalonia {{Art públic Barcelona}} 17 0 17 17
aq en Category:Antarctic Protected Areas {{Antarctic Protected Area}} 0 0 0 0
it-88 ca [[:Category:]] {{0}} 0 0 0 0
de-nrw-k de Category:Cultural heritage monuments in Cologne {{Kulturdenkmal Köln}} 97 0 97 97
ch3 de Category:Cultural properties of national significance in Switzerland {{Cultural property of national significance in Switzerland}} 0 0 0 0
ca fr Category:Cultural heritage monuments in Canada {{Historic Places in Canada}} 4 0 4 4
jo ar Category:Cultural heritage monuments in Jordan {{Cultural Heritage Jordan}} 3475 0 3475 3,476
pt pt Category:Cultural heritage monuments in Portugal {{IGESPAR}} 85 0 85 85
se-ship sv Category:Listed historical ships in Sweden {{K-Fartyg}} 3 0 3 3
no no Category:Cultural heritage monuments in Norway {{Monument Norge}} 0 0 0 0
de-he de Category:Cultural heritage monuments in Hesse {{Kulturdenkmal Hessen}} 0 0 0 0
hk en Category:Declared monuments of Hong Kong {{Declared monuments Hong Kong}} 18 0 18 18
be-bru nl Category:Cultural heritage monuments in Brussels {{Monument Brussels}} 0 0 0 0
rs sr Category:Cultural heritage monuments in Serbia {{Cultural Heritage Serbia}} 276 0 276 276
gb-wls en Category:Listed buildings in Wales {{Listed building Wales}} 12 0 12 12
sk de Category:Cultural heritage monuments in Slovakia {{Cultural Heritage Slovakia}} 0 0 0 0
ad ca Category:Cultural heritage monuments in Andorra {{Béns Andorra}} 0 0 0 0
az az Category:Cultural heritage monuments in Azerbaijan {{Cultural Heritage Azerbaijan}} 169 0 169 169
gb-sct en Category:Listed buildings in Scotland {{Listed building Scotland}} 46 0 46 46
es-vc ca Category:Cultural heritage monuments in Spain {{BIC}} 0 0 0 0
pl-old pl [[:Category:]] {{0}} 0 0 0 0
es-ct ca Category:Cultural heritage monuments in Spain {{BIC}} 0 0 0 0
es es Category:Cultural heritage monuments in Spain {{BIC}} 0 0 0 0
de-nrw-bm de Category:Cultural heritage monuments in Bergheim {{Kulturdenkmal Bergheim}} 74 0 74 74
de-nrw de Category:Cultural heritage monuments in North Rhine-Westphalia {{Kulturdenkmal}} 0 0 0 0
be-vlg en Category:Onroerend erfgoed in Flanders {{Onroerend erfgoed}} 6 0 6 2
it-bz de Category:Cultural heritage monuments in South Tyrol {{Denkmalgeschütztes Objekt Südtirol}} 0 0 0 0
it it Category:Cultural heritage monuments in Italy {{Monumento italiano}} 4496 0 4496 4,497
bo es Category:Cultural heritage monuments in Bolivia {{Monumento Bolivia}} 175 0 175 175
in en Category:Cultural heritage monuments in India {{ASI Monument}} 0 0 0 0
se-bbr sv Category:Protected buildings in Sweden {{BBR}} 4 0 4 4
at de Category:Cultural heritage monuments in Austria {{Denkmalgeschütztes Objekt Österreich}} 3 0 3 0
il-npa he Category:Heritage sites in Israel {{Heritage site in Israel}} 262 0 262 262
ch2 de Category:Cultural properties of national significance in Switzerland {{Cultural property of national significance in Switzerland}} 0 0 0 0
se-fornmin sv Category:Archaeological monuments in Sweden {{Fornminne}} 0 0 0 0
ch-old it Category:Cultural properties of national significance in Switzerland {{Cultural property of national significance in Switzerland}} 0 0 0 0
ch-old de Category:Cultural properties of national significance in Switzerland {{Cultural property of national significance in Switzerland}} 0 0 0 0
za en Category:Cultural heritage monuments in South Africa {{South African Heritage Site}} 117 0 117 117
cz cs Category:Cultural monuments in the Czech Republic {{Cultural Heritage Czech Republic}} 0 0 0 0
wlpa-at de Category:Public art in Austria {{Public Art Austria}} 0 0 0 0
hu hu Category:Cultural heritage monuments in Hungary {{Monument Hungary}} 1 0 1 1
wlpa-il en Category:Public art in Israel {{Public Art Israel}} 1 0 1 1
be-wal en Category:Cultural heritage monuments in Wallonia {{Monument Wallonie}} 0 0 0 0
ch de Category:Cultural properties of national significance in Switzerland {{Cultural property of national significance in Switzerland}} 0 0 0 0
nl-prov nl Category:Provinciale monumenten {{Provinciaal monument}} 32 0 32 32
ua uk Category:Cultural heritage monuments in Ukraine {{Monument Ukraine}} 2 0 2 2
be-vlg nl Category:Onroerend erfgoed in Flanders {{Onroerend erfgoed}} 4 0 4 2
us en Category:National Register of Historic Places {{NRHP}} 18 0 18 11
uy es Category:Cultural heritage monuments in Uruguay {{Monumento Uruguay}} 0 0 0 0
nl-gem nl Category:Gemeentelijke monumenten {{Gemeentelijk monument}} 5 0 5 5
pk en Category:Cultural heritage monuments in Pakistan {{Cultural Heritage Pakistan}} 121 0 121 121
mx es Category:Cultural heritage monuments in Mexico {{Monumento de México}} 0 0 0 0
cl es Category:National monuments in Chile {{Monumento Nacional de Chile}} 6 0 6 6
il he Category:Heritage sites in Israel {{Heritage site in Israel}} 262 0 262 262
gb-nir en Category:Listed buildings in Northern Ireland {{Listed building Northern Ireland}} 7 0 7 7
dk-bygning da Category:Listed buildings in Denmark {{Fredet bygning}} 0 0 0 0
dz ar Category:Cultural heritage monuments in Algeria {{Cultural Heritage Algeria}} 716 0 716 717
ca en Category:Cultural heritage monuments in Canada {{Historic Places in Canada}} 4 0 4 4
ro ro Category:Historical monuments in Romania {{Monument istoric}} 4 0 4 4
jp-nhs en Category:National historic sites of Japan {{NHS Japan}} 0 0 0 0
pl pl Category:Cultural heritage monuments in Poland {{Zabytek nieruchomy}} 2 0 2 2
de-by de Category:Cultural heritage monuments in Bavaria {{Baudenkmal Bayern}} 0 0 0 0
fr fr Category:Monuments historiques in France {{Mérimée}} 4 0 4 4
ch-old en Category:Cultural properties of national significance in Switzerland {{Cultural property of national significance in Switzerland}} 0 0 0 0
cm fr Category:Cultural heritage monuments in Cameroon {{Cultural Heritage Cameroon}} 23 0 23 23
gh en Category:Cultural heritage monuments in Ghana {{Cultural Heritage Ghana}} 26 0 26 26
gb-eng en Category:Listed buildings in England {{Listed building England}} 98 0 98 98
be-vlg fr Category:Onroerend erfgoed in Flanders {{Onroerend erfgoed}} 2 0 2 2
th th Category:Cultural heritage monuments in Thailand {{Cultural Heritage Thailand}} 2465 0 2465 2,465
nl nl Category:Rijksmonumenten {{Rijksmonument}} 10 0 10 0
es-gl gl Category:Cultural heritage monuments in Spain {{BIC}} 0 0 0 0
nl-aw en Category:Cultural heritage monuments in Aruba {{Cultural Heritage Aruba}} 370 0 370 370
sv es Category:Cultural heritage monuments in El Salvador {{Cultural Heritage El Salvador}} 859 0 859 859
ru ru Category:Cultural heritage monuments in Russia {{0}} 0 0 0 310
co es Category:National monuments in Colombia {{Monumento Nacional de Colombia}} 0 0 0 0
am hy Category:Cultural heritage monuments in Armenia {{Cultural Heritage Armenia}} 271 0 271 223
dk-fortids da Category:Archaeological monuments in Denmark {{Fortidsminde}} 0 0 0 0
wlpa-fi fi Category:Public art in Finland {{Public Art Finland}} 26 0 26 26
lu lb Category:Cultural heritage monuments in Luxembourg {{0}} 0 0 0 1
fr ca Category:Monuments historiques in France {{Mérimée}} 4 0 4 4
np en Category:Cultural heritage monuments in Nepal {{Cultural Heritage Nepal}} 332 0 332 332
be-wal nl Category:Cultural heritage monuments in Wallonia {{Monument Wallonie}} 0 0 0 0
pa es Category:Cultural heritage monuments in Panama {{PCN}} 31 0 31 31
ve es Category:Cultural heritage monuments in Venezuela {{Monumento Venezuela}} 301 0 301 301
ch-old fr Category:Cultural properties of national significance in Switzerland {{Cultural property of national significance in Switzerland}} 0 0 0 0
ch it Category:Cultural properties of national significance in Switzerland {{Cultural property of national significance in Switzerland}} 0 0 0 0
se-arbetsl sv Category:Working Life Museums in Sweden {{Arbetslivsmuseum}} 0 0 0 0
ee et Category:Cultural heritage monuments in Estonia {{Kultuurimälestis}} 0 0 0 0
sk sk Category:Cultural heritage monuments in Slovakia {{Cultural Heritage Slovakia}} 0 0 0 0
mt de Category:Cultural heritage monuments in Malta {{National Inventory of Cultural Property of the Maltese Islands}} 0 0 0 0
ph en Category:Cultural heritage monuments in the Philippines {{WMPH-ID}} 0 0 0 0
ie en [[:Category:]] {{0}} 0 0 0 0
us-ca en Category:California Historical Landmarks {{US-CHL}} 4 0 4 4
cn en Category:Cultural heritage monuments in China {{Cultural Heritage China}} 1936 0 1936 1,937
nl-aw nl Category:Cultural heritage monuments in Aruba {{Cultural Heritage Aruba}} 370 0 370 370
tn fr Category:Cultural heritage monuments in Tunisia {{Cultural Heritage Tunisia}} 0 0 0 0
be-wal fr Category:Cultural heritage monuments in Wallonia {{Monument Wallonie}} 0 0 0 0
es ca Category:Cultural heritage monuments in Spain {{BIC}} 0 0 0 0
hk-hb en Category:Historic buildings of Hong Kong {{Historic buildings Hong Kong}} 1 0 1 1
ar es Category:Cultural heritage monuments in Argentina {{Monumento Argentino}} 5 0 5 5
17670 0 17670
Monuments database
ErfgoedBot