Mapping bg talk:Монарх: Difference between revisions
From Mediawiki1
Jump to navigationJump to search
No edit summary |
No edit summary |
||
Line 14: | Line 14: | ||
Unfortunately in the result: http://mappings.dbpedia.org/server/extraction/bg/extract?title=Симеон+I&revid=&format=turtle-triples&extractors=custom | 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 [[Файл:...]] | * picture is not mapped, maybe because it's not at Commons but a local attachment <pre>[[Файл:...]]</pre> | ||
* pictureDescription is mapped to the URL of the painter <http://bg.dbpedia.org/resource/Николай_Павлович>, since it's an objectProperty | * pictureDescription is mapped to the URL of the painter <http://bg.dbpedia.org/resource/Николай_Павлович>, since it's an objectProperty | ||
Latest revision as of 07:21, 24 December 2014
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