
2D presentation (O for overview, ? for help). Continuous HTML. Publications
Show practical steps to add a mapping:
To work more easily with the mapping wiki info, install some addons
Unreadable ugliness like
http://bg.dbpedia.org/resource/%D0%9A%D0%BE%D0%BD%D1%81%D1%82%D0%B0%D0%BD%D1%82%D0%B8%D0%BD%D0%B0_%D0%96%D0%B8%D0%B2%D0%BE%D0%B2%D0%B0
Or directly start a new mapping by replacing the template URL
https://bg.wikipedia.org/wiki/Шаблон:* -> http://mappings.dbpedia.org/index.php?action=edit&title=Mapping_bg:*
{{TemplateMapping | mapToClass =
| mappings =
!-- {{ PropertyMapping | templateProperty = imdb | ontologyProperty = }} --
!-- {{ PropertyMapping | templateProperty = Име | ontologyProperty = }} --
So we remove rdfs:domain and replace it with a comment (see the diff):
|comments=
{{comment|en|International Movie Database ID. Applies to Films, Actors, etc}}
There are a few props we need to add, eg zodiacSign, skinColor
[[Телец]] (Taurus). So we need an ObjectPropertyEntering an appropriate comment is mandatory: describe the usage in detail:
{{ObjectProperty
| labels =
{{label|en|zodiac sign}}
|comments=
{{comment|en|Zodiac Sign. Applies to persons, planets, etc}}
}}
Looking for "shoe size", we find two duplicate properties. showSize is the proper English term, so we choose to remove showNumber
Add a description of the problem:
* Duplicate of shoeSize (which is the proper English term). * Also, xsd:integer is not appropriate, xsd:string is better. * So: delete and replace all usages with shoeSize. https://github.com/dbpedia/mappings-tracker/issues/34 --~~~~
~~ at the end is converted to the datetime and your nameThe "vital stats" for a Model include height, weight, eyeColor, hairColor, skinColor, shoeSize, zodiacSign, bustSize (but of course!), waistSize, hipSize
So I made a new composite property, describing in detail its usage vs the 3 separate properties (rdfs:comment):
{{DatatypeProperty
|rdfs:label@en=bust-waist-hip Size
|rdfs:label@bg=размер бюст-талия-ханш
|rdfs:domain=Person
|rdfs:range=xsd:string
|rdfs:comment@en=Use this property if all 3 sizes are given together
(DBpedia cannot currently extract 3 Lengths out of a field).
Otherwise use separate fields bustSize, waistSize, hipSize
}}
Move any unmapped props to the end, in a comment !-- ... --
{{TemplateMapping | mapToClass = Model
| mappings =
{{ PropertyMapping | templateProperty = imdb | ontologyProperty = imdbId }}
{{ PropertyMapping | templateProperty = Име | ontologyProperty = foaf:name }}
{{ PropertyMapping | templateProperty = дата на смърт | ontologyProperty = deathDate }}
{{ PropertyMapping | templateProperty = дейности | ontologyProperty = occupation}}
....
{{ PropertyMapping | templateProperty = цвят на кожа | ontologyProperty = skinColor }}
{{ PropertyMapping | templateProperty = цвят на коса | ontologyProperty = hairColor }}
{{ PropertyMapping | templateProperty = цвят на очи | ontologyProperty = eyeColor }}
}}
!-- NOT YET MAPPED
{{ PropertyMapping | templateProperty = категория | ontologyProperty = }}
{{ PropertyMapping | templateProperty = филми | ontologyProperty = }} dbo:film has domain FilmFestival
--
So find some usages and pick up some names
Летисия Каста Константина Живова
The template en:Listen (el:Ακούστε, bg:Слушайте) adds soundRecording's that are somehow related to the subject. We map it to additional nodes like this (#19):
<Neil_Armstrong> soundRecording <Neil_Armstrong__1>. <Neil_Armstrong__1> a Sound; dc:type "speech"; filename "one-small-step.ogv"; title "One small step for man..."; description "Neal Armstrong's famous words".
TemplateMapping with mapToClass owl:Thing:
Listen can be embedded in various pages, and the only common class for all of them is the top-level owl:ThingIntermediateNodeMapping for the separate soundRecording. They share type and each has 3 own fields:
{{TemplateMapping | mapToClass = owl:Thing
| mappings =
{{IntermediateNodeMapping | nodeClass = Sound | correspondingProperty = soundRecording | mappings =
{{ PropertyMapping | templateProperty = type | ontologyProperty = dc:type }}
{{ PropertyMapping | templateProperty = filename | ontologyProperty = filename }}
{{ PropertyMapping | templateProperty = title | ontologyProperty = title }}
{{ PropertyMapping | templateProperty = description | ontologyProperty = description }}
}}
{{IntermediateNodeMapping | nodeClass = Sound | correspondingProperty = soundRecording | mappings =
{{ PropertyMapping | templateProperty = type | ontologyProperty = dc:type }}
{{ PropertyMapping | templateProperty = filename1 | ontologyProperty = filename }}
{{ PropertyMapping | templateProperty = title1 | ontologyProperty = title }}
{{ PropertyMapping | templateProperty = description1 | ontologyProperty = description }}
}}