Wikidata:WikiProject WLM/Mapping tables/pl (pl)
Step 1. Implicit values edit
required | field name | value | Wikidata property | comment |
Y | heritage status | object on the Polish cultural heritage register (Q21438156) | heritage designation (P1435) | |
Y | country | Poland (Q36) | country (P17) | |
Y | wikiproject | pl.wikipedia | used for getting wikidata items from wikilinks | |
Y | is a(n) | misc | instance of (P31) | There's no separate field that identifies monument type -- but it might be possible to extract some from the labels and use a lookup table. Need to identify most common elements in labels, like pałac, kościół etc. |
Step 2. analyze and map specific data edit
Step 2.2. country-specific data – pl_(pl) edit
heritage field | example values | Wikidata property | Conversion | comment |
---|---|---|---|---|
id | 4 | - | - | not relevant |
prov-iso | PL-KP | - | - | first-level unit (ignored) |
powiat | powiat aleksandrowski | - | second-level unit (ignored) | |
gmina | gmina Aleksandrów Kujawski | - | third-level unit, used only if miejscowosc is empty | |
miejscowosc |
|
located in the administrative territorial entity (P131) |
|
placename, wikicode can happen |
numer |
|
Polish cultural heritage register number (P3424) + point in time (P585) |
needs to be splitted, comments below |
|
group_of_monuments |
|
Three options:
| ||
nazwa | klasztor ss. Służebniczek Niepokalanego Poczęcia NMP, 1890 |
|
label in pl; possible to extract inception (P571) | |
adres | ul. Wojska Polskiego 9 | P969 (P969) or located on street (P669) + house number (P670) |
|
if contains wikicode, use located on street (P669) + house number (P670) |
lat | 0.0 | coordinate location (P625) | ||
lon | 0.0 | coordinate location (P625) | ||
koordynaty | - | - | always empty, use lat/lon | |
zdjecie | Kaplica cmentarza paarafialnego.JPG | image (P18) | sometimes File:Nie istnieje.svg is used for non-existent monuments, do not import | |
commonscat | Ukrainian War Cemetery in Aleksandrów Kujawski | Commons category (P373) | ||
source | //pl.wikipedia.org/w/index.php?title=Wikipedia%3AWiki_Lubi_Zabytki/kujawsko-pomorskie/powiat_aleksandrowski/gmina_Aleksandr%C3%B3w_Kujawski&oldid=44522594 | |||
changed | 2016-12-15 10:05:28 | |||
monument_article | Ukraiński_Cmentarz_Wojskowy_w_Aleksandrowie_Kujawskim | Polish wikipedia article | ||
registrant_url | 600884 | internal id (ignored), but must be used to match complex of monuments |
Additional notes edit
This one can be extracted from nazwa
.
The list has been moved to a separate page. --Alicia Fagerving (WMSE) (talk) 11:58, 21 February 2017 (UTC)
- numer
I tried to cover number with regex, what I have so far. Yarl (talk) 21:29, 18 February 2017 (UTC)
- nazwa
This one is quite messy, because of plenty of reasons. What is now in wikilist is a copy from official list one-liner that consists of name, build date and reconstruction dates. Some of them were later edited by wikipedians (added wikilinks, God knows what else 😉). If there is a wikilink, there should be already a wikidata entry, so I suggest to skip them, and do them in the second round maybe?
Anyway, there are some patterns, that we can regex:
grobowiec rodziny Biniakowskich, 1898
– name, datebudynek koszar, ob. sąd i prokuratura, 1 poł. XIX
– X, currently Y, datedwór, 1886, l. 90 XIX, 1920
– name, multiple dates
- dates in nazwa
Some string that needs to be "translated" to wikidata
- regex 😂
1898
– year1886-1887
– year rangeXIX w.
– nth century(1|2) poł. XIX
– first or second half of nth century (poł. – połowa), may be ended withw.
(w. – wiek)kon. XVIII w.
– end of nth century (kon. – koniec)pocz. XVIII w.
– start of nth century (pocz. – początek)ok. 1900
– about year n (ok. – około)po 1920
– after year nXIX/XX
–l. 90 XIX
– 1890s (l. – lata)l. 20-30. XX w.
– 1920s-1930s