Mapping pt:Info/Futebolista: Difference between revisions

From Mediawiki1
Jump to navigationJump to search
No edit summary
No edit summary
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
{{TemplateMapping
 
  | mapToClass = SoccerPlayer
{{ TemplateMapping | mapToClass = SoccerPlayer | mappings =  
  | mappings =
    {{ PropertyMapping | templateProperty = nome | ontologyProperty = foaf:name }}
{{PropertyMapping | templateProperty = nome | ontologyProperty = foaf:name }}
    {{ PropertyMapping | templateProperty = apelido | ontologyProperty = foaf:nick }}
{{PropertyMapping | templateProperty = apelido | ontologyProperty = foaf:nick }}
    {{ PropertyMapping | templateProperty = nomecompleto | ontologyProperty = foaf:name }}
{{PropertyMapping | templateProperty = nomecompleto | ontologyProperty = foaf:name }}
<!--    {{ PropertyMapping | templateProperty = datanascimento | ontologyProperty = birthDate }} -->
        {{PropertyMapping | templateProperty = datanascimento | ontologyProperty = birthDate }}
    {{ PropertyMapping | templateProperty = data_nascimento | ontologyProperty = birthDate }}
        {{PropertyMapping | templateProperty = data_nascimento | ontologyProperty = birthDate }}
    {{ PropertyMapping | templateProperty = nascimento_data | ontologyProperty = birthDate }}
        {{PropertyMapping | templateProperty = nascimento_data | ontologyProperty = birthDate }}
    {{ PropertyMapping | templateProperty = nascimento_cidade | ontologyProperty = birthPlace }}
{{PropertyMapping | templateProperty = nascimento_cidade | ontologyProperty = birthPlace }}
    {{ PropertyMapping | templateProperty = cidadenatal | ontologyProperty = birthPlace }}
{{PropertyMapping | templateProperty = cidadenatal | ontologyProperty = birthPlace }}
    {{ PropertyMapping | templateProperty = nascimento_país | ontologyProperty = birthPlace }}
{{PropertyMapping | templateProperty = nascimento_país | ontologyProperty = birthPlace }}
    {{ PropertyMapping | templateProperty = paisnatal | ontologyProperty = birthPlace }}
{{PropertyMapping | templateProperty = paisnatal | ontologyProperty = birthPlace }}
    {{ PropertyMapping | templateProperty = actualclube | ontologyProperty = team }}
        {{PropertyMapping | templateProperty = actualclube | ontologyProperty = team }}
    {{ PropertyMapping | templateProperty = clubenumero | ontologyProperty = number }}
        {{PropertyMapping | templateProperty = clubenumero | ontologyProperty = number }}     
     {{ PropertyMapping | templateProperty = nacionalidade | ontologyProperty = nationality }}
        {{PropertyMapping | templateProperty = nacionalidade | ontologyProperty = nationality }}
    {{ PropertyMapping | templateProperty = altura | ontologyProperty = height | unit = Length }}
        {{PropertyMapping | templateProperty = altura | ontologyProperty = height | unit = Length}}
<!--    {{ PropertyMapping | templateProperty = peso | ontologyProperty = weight | unit = Mass }} -->
        {{PropertyMapping | templateProperty = peso | ontologyProperty = weight | unit = Mass}}
    {{ PropertyMapping | templateProperty = pé | ontologyProperty = footedness }}
        {{PropertyMapping | templateProperty = pé | ontologyProperty = footedness }}      
    {{ PropertyMapping | templateProperty = jovemclubes | ontologyProperty = youthClub }}
        {{PropertyMapping | templateProperty = jovemclubes | ontologyProperty = youthClub }}
    {{ PropertyMapping | templateProperty = imagem | ontologyProperty = picture }}
        {{PropertyMapping | templateProperty = imagem | ontologyProperty = picture }}
    {{ PropertyMapping | templateProperty = pcupdate | ontologyProperty = date }}
        {{PropertyMapping | templateProperty = pcupdate | ontologyProperty = date }}
    {{ PropertyMapping | templateProperty = ntupdate | ontologyProperty = date }}
        {{PropertyMapping | templateProperty = ntupdate | ontologyProperty = date }}
    {{ DateIntervalMapping | templateProperty = jovemanos | startDateOntologyProperty = activeYearsStartYear | endDateOntologyProperty = activeYearsEndYear }}
        {{DateIntervalMapping
    {{ PropertyMapping | templateProperty = clubes | ontologyProperty = team }}
          | templateProperty         = jovemanos
    {{ DateIntervalMapping | templateProperty = ano | startDateOntologyProperty = activeYearsStartYear | endDateOntologyProperty = activeYearsEndYear }}
          | startDateOntologyProperty = activeYearsStartYear
     <!-- {{ PropertyMapping | templateProperty = jogos(golos) | ontologyProperty = team }} Needs to been changed into an Intermediate Node -->
          | endDateOntologyProperty   = activeYearsEndYear
 
        }}  
    {{ PropertyMapping | templateProperty = selecaonacional | ontologyProperty = team }}
        {{PropertyMapping | templateProperty = clubes | ontologyProperty = team }}      
    {{ DateIntervalMapping | templateProperty = anoselecao | startDateOntologyProperty = activeYearsStartYear | endDateOntologyProperty = activeYearsEndYear }}
        {{DateIntervalMapping
     {{ PropertyMapping | templateProperty = partidasselecao | ontologyProperty = appearancesInNationalTeam }}  
          | templateProperty         = ano
    {{ PropertyMapping | templateProperty = site | ontologyProperty = foaf:homepage}} }}
          | startDateOntologyProperty = activeYearsStartYear
<!-- {{ PropertyMapping | templateProperty = medalhas | ontologyProperty = team }} Needs to been changed into an Intermediate Node -->
          | endDateOntologyProperty   = activeYearsEndYear
    {{ PropertyMapping | templateProperty = posição | ontologyProperty = position}} }}
        }}     
<!--   {{PropertyMapping | templateProperty = jogos(golos) | ontologyProperty = team }}
Needs to been changed into an Intermediate Node
-->  
        {{PropertyMapping | templateProperty = selecaonacional | ontologyProperty = team }}
        {{DateIntervalMapping
          | templateProperty         = anoselecao
          | startDateOntologyProperty = activeYearsStartYear
          | endDateOntologyProperty   = activeYearsEndYear
        }}  
     {{PropertyMapping | templateProperty = partidasselecao | ontologyProperty = appearancesInNationalTeam }}
Needs to been changed into an Intermediate Node
-->
<!--   {{PropertyMapping | templateProperty = medalhas | ontologyProperty = team }}
Needs to been changed into an Intermediate Node
-->  
}}

Latest revision as of 14:55, 17 November 2016

This is the mapping for the Wikipedia template Info/Futebolista. 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 SoccerPlayer

Mappings




Property Mapping (help)
template property nome
ontology property foaf:name




Property Mapping (help)
template property apelido
ontology property foaf:nick




Property Mapping (help)
template property nomecompleto
ontology property foaf:name




Property Mapping (help)
template property data_nascimento
ontology property birthDate




Property Mapping (help)
template property nascimento_data
ontology property birthDate




Property Mapping (help)
template property nascimento_cidade
ontology property birthPlace




Property Mapping (help)
template property cidadenatal
ontology property birthPlace




Property Mapping (help)
template property nascimento_país
ontology property birthPlace




Property Mapping (help)
template property paisnatal
ontology property birthPlace




Property Mapping (help)
template property actualclube
ontology property team




Property Mapping (help)
template property clubenumero
ontology property number




Property Mapping (help)
template property nacionalidade
ontology property nationality


Property Mapping (help)
template property altura
ontology property height
unitLength




Property Mapping (help)
template property
ontology property footedness




Property Mapping (help)
template property jovemclubes
ontology property youthClub




Property Mapping (help)
template property imagem
ontology property picture




Property Mapping (help)
template property pcupdate
ontology property date




Property Mapping (help)
template property ntupdate
ontology property date


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




Property Mapping (help)
template property clubes
ontology property team


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





Property Mapping (help)
template property selecaonacional
ontology property team


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




Property Mapping (help)
template property partidasselecao
ontology property appearancesInNationalTeam




Property Mapping (help)
template property site
ontology property foaf:homepage




Property Mapping (help)
template property posição
ontology property position
}}