Mapping pt:Info/Futebolista: Difference between revisions

From Mediawiki1
Jump to navigationJump to search
(Created page with '{{TemplateMapping | mapToClass = SoccerPlayer | Mappings = {{PropertyMapping | templateProperty = nome | ontologyProperty = foaf:name }} {{PropertyMapping | templatePropert...')
 
No edit summary
 
(3 intermediate revisions by 3 users 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 = nomecompleto | ontologyProperty = foaf:name }}
    {{ PropertyMapping | templateProperty = nomecompleto | ontologyProperty = foaf:name }}
        {{PropertyMapping | templateProperty = nascimento_data | ontologyProperty = birthDate }}
<!--    {{ PropertyMapping | templateProperty = datanascimento | ontologyProperty = birthDate }} -->
{{PropertyMapping | templateProperty = nascimento_cidade | ontologyProperty = birthPlace }}
    {{ PropertyMapping | templateProperty = data_nascimento | ontologyProperty = birthDate }}
{{PropertyMapping | templateProperty = nascimento_país | ontologyProperty = birthPlace }}
    {{ PropertyMapping | templateProperty = nascimento_data | ontologyProperty = birthDate }}
        {{PropertyMapping | templateProperty = actualclube | ontologyProperty = team }}
    {{ PropertyMapping | templateProperty = nascimento_cidade | ontologyProperty = birthPlace }}
        {{PropertyMapping | templateProperty = clubenumero | ontologyProperty = number }}     
    {{ PropertyMapping | templateProperty = cidadenatal | ontologyProperty = birthPlace }}
        {{PropertyMapping | templateProperty = nacionalidade | ontologyProperty = nationality }}
    {{ PropertyMapping | templateProperty = nascimento_país | ontologyProperty = birthPlace }}
        {{PropertyMapping | templateProperty = altura | ontologyProperty = height | unit = Length}}
    {{ PropertyMapping | templateProperty = paisnatal | ontologyProperty = birthPlace }}
        {{PropertyMapping | templateProperty = peso | ontologyProperty = weight | unit = Mass}}
    {{ PropertyMapping | templateProperty = actualclube | ontologyProperty = team }}
        {{PropertyMapping | templateProperty = pé | ontologyProperty = footedness }}      
    {{ PropertyMapping | templateProperty = clubenumero | ontologyProperty = number }}
        {{PropertyMapping | templateProperty = jovemclubes | ontologyProperty = youthClub }}
     {{ PropertyMapping | templateProperty = nacionalidade | ontologyProperty = nationality }}
        {{DateIntervalMapping
    {{ PropertyMapping | templateProperty = altura | ontologyProperty = height | unit = Length }}
          | templateProperty         = jovemanos
<!--    {{ PropertyMapping | templateProperty = peso | ontologyProperty = weight | unit = Mass }} -->
          | startDateOntologyProperty = activeYearsStartYear
    {{ PropertyMapping | templateProperty = pé | ontologyProperty = footedness }}
          | endDateOntologyProperty   = activeYearsEndYear
    {{ PropertyMapping | templateProperty = jovemclubes | ontologyProperty = youthClub }}
        }}  
    {{ PropertyMapping | templateProperty = imagem | ontologyProperty = picture }}
        {{PropertyMapping | templateProperty = clubes | ontologyProperty = team }}      
    {{ PropertyMapping | templateProperty = pcupdate | ontologyProperty = date }}
        {{DateIntervalMapping
    {{ PropertyMapping | templateProperty = ntupdate | ontologyProperty = date }}
          | templateProperty         = ano
    {{ DateIntervalMapping | templateProperty = jovemanos | startDateOntologyProperty = activeYearsStartYear | endDateOntologyProperty = activeYearsEndYear }}
          | startDateOntologyProperty = activeYearsStartYear
    {{ PropertyMapping | templateProperty = clubes | ontologyProperty = team }}
          | endDateOntologyProperty   = activeYearsEndYear
    {{ DateIntervalMapping | templateProperty = ano | startDateOntologyProperty = activeYearsStartYear | endDateOntologyProperty = activeYearsEndYear }}
        }}     
     <!-- {{ PropertyMapping | templateProperty = jogos(golos) | ontologyProperty = team }} Needs to been changed into an Intermediate Node -->
<!--   {{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 = selecaonacional | ontologyProperty = team }}
    {{ PropertyMapping | templateProperty = partidasselecao | ontologyProperty = appearancesInNationalTeam }}  
        {{DateIntervalMapping
    {{ PropertyMapping | templateProperty = site | ontologyProperty = foaf:homepage}} }}
          | templateProperty         = anoselecao
<!-- {{ PropertyMapping | templateProperty = medalhas | ontologyProperty = team }} Needs to been changed into an Intermediate Node -->
          | startDateOntologyProperty = activeYearsStartYear
    {{ PropertyMapping | templateProperty = posição | ontologyProperty = position}} }}
          | endDateOntologyProperty   = activeYearsEndYear
        }}  
<!--    {{PropertyMapping | templateProperty = partidasselecao | ontologyProperty = team }}
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
}}