Mapping lv:Rakstnieka infokaste: Difference between revisions

From DBpedia Mappings
Jump to navigationJump to search
(Writer template (first Latvian DBPedia mapping :))
 
No edit summary
 
(7 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{ TemplateMapping | mapToClass = Writer | mappings =  
{{ TemplateMapping | mapToClass = Writer | mappings =  
     {{ PropertyMapping | templateProperty = vārds | ontologyProperty = foaf:name }}
     {{ PropertyMapping | templateProperty = vārds | ontologyProperty = foaf:name }}
     {{ PropertyMapping | templateProperty = dzīvesbiedrs | ontologyProperty = spouse }}
     {{ PropertyMapping | templateProperty = dzīvesbiedrs | ontologyProperty = spouse }}
     {{ PropertyMapping | templateProperty = tautība | ontologyProperty = nationality }}
     {{ PropertyMapping | templateProperty = tautība | ontologyProperty = nationality }}
 
    {{CombineDateMapping | templateProperty1 = dz_diena | unit1 = xsd:gDay | templateProperty2 = dz_mēnesis | unit2 = xsd:gMonth | templateProperty3 = dz_gads | unit3 = xsd:gYear | ontologyProperty = birthDate }}
 
     {{ DateIntervalMapping | templateProperty = periods | startDateOntologyProperty = activeYearsStartYear | endDateOntologyProperty = activeYearsEndYear }}
     {{ DateIntervalMapping | templateProperty = periods | startDateOntologyProperty = activeYearsStartYear | endDateOntologyProperty = activeYearsEndYear }}
     {{ PropertyMapping | templateProperty = apbalvojumi | ontologyProperty = award }}
     {{ PropertyMapping | templateProperty = apbalvojumi | ontologyProperty = award }}
     {{ PropertyMapping | templateProperty = alma_mater | ontologyProperty = almaMater }}
     {{ PropertyMapping | templateProperty = alma_mater | ontologyProperty = almaMater }}
    {{ PropertyMapping | templateProperty = dz_gads | ontologyProperty = birthYear }}
}}
}}

Latest revision as of 16:47, 1 May 2016

This is the mapping for the Wikipedia template Rakstnieka infokaste. Find usages of this Wikipedia template here.

Test this mapping (or in namespace File or Creator) with some example Wikipedia pages. Check which properties are not mapped yet.

Read more about mapping Wikipedia templates.

Template Mapping (help)
map to class Writer

Mappings




Property Mapping (help)
template property vārds
ontology property foaf:name




Property Mapping (help)
template property dzīvesbiedrs
ontology property spouse




Property Mapping (help)
template property tautība
ontology property nationality


Combine Date Mapping (help)
template property 1 dz_diena
template property unit 1 xsd:gDay
template property 2 dz_mēnesis
template property unit 2 xsd:gMonth
template property 3 dz_gads
template property unit 3 xsd:gYear
ontology property birthDate


Date Interval Mapping (help)
template property periods
start date ontology property activeYearsStartYear
end date ontology property activeYearsEndYear




Property Mapping (help)
template property apbalvojumi
ontology property award




Property Mapping (help)
template property alma_mater
ontology property almaMater




Property Mapping (help)
template property dz_gads
ontology property birthYear