Mapping bg talk:Монарх
From Mediawiki1
Jump to navigationJump to search
Pictures
Could someone fill me in on what's the best way to map images, coatOfArms (I made such a property), etc? E.g. for this Bulgarian tzar: https://bg.wikipedia.org/w/index.php?title=Симеон_I&action=edit
It has these fields:
| изображение за личността=300px | описание на изображението=Симеон пред портите на Константинопол (графика Николай Павлович)
Which are mapped like so:
{{ PropertyMapping | templateProperty = изображение за личността | ontologyProperty = picture }} {{ PropertyMapping | templateProperty = описание на изображението | ontologyProperty = pictureDescription }}
Unfortunately in the result: http://mappings.dbpedia.org/server/extraction/bg/extract?title=Симеон+I&revid=&format=turtle-triples&extractors=custom
- picture is not mapped, maybe because it's not at Commons but a local attachment
[[Файл:...]]
- pictureDescription is mapped to the URL of the painter <http://bg.dbpedia.org/resource/Николай_Павлович>, since it's an objectProperty
Testing
- Елизабет II: gender Female
- Цар Борис: gender Male
- Владислав Постум: has coatOfArms
- Симеон I: has picture, pictureDescription