Mapping bg talk:Монарх: Difference between revisions

From Mediawiki1
Jump to navigationJump to search
No edit summary
No edit summary
 
(One intermediate revision by the same user not shown)
Line 8: Line 8:


Which are mapped like so:
Which are mapped like so:
<pre>
   {{ PropertyMapping | templateProperty = изображение за личността | ontologyProperty = picture }}
   {{ PropertyMapping | templateProperty = изображение за личността | ontologyProperty = picture }}
   {{ PropertyMapping | templateProperty = описание на изображението | ontologyProperty = pictureDescription }}
   {{ PropertyMapping | templateProperty = описание на изображението | ontologyProperty = pictureDescription }}
</pre>


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

Testing