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

From Mediawiki1
Jump to navigationJump to search
No edit summary
No edit summary
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

Revision as of 07:20, 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