Mapping en:Infobox company: Difference between revisions

From Mediawiki1
Jump to navigationJump to search
No edit summary
No edit summary
Line 2: Line 2:
| mapToClass = Company  
| mapToClass = Company  
| mappings =  
| mappings =  
     {{ PropertyMapping | templateProperty = name | ontologyProperty = foaf:name }}
     {{ PropertyMapping | templateProperty = company_name | ontologyProperty = foaf:name }}
     {{ PropertyMapping | templateProperty = type | ontologyProperty = type }}
     {{ PropertyMapping | templateProperty = company_type | ontologyProperty = type }}
    {{ PropertyMapping | templateProperty = genre | ontologyProperty = genre }}
    {{ PropertyMapping | templateProperty = fate | ontologyProperty = fate }}
    {{ PropertyMapping | templateProperty = predecessor | ontologyProperty = predecessor }}
    {{ PropertyMapping | templateProperty = successor | ontologyProperty = successor }}
     <!-- mapped foundation into three different ontologyProperties    -->
     <!-- mapped foundation into three different ontologyProperties    -->
     {{ PropertyMapping | templateProperty = foundation | ontologyProperty = foundingDate }}
     {{ PropertyMapping | templateProperty = foundation | ontologyProperty = foundingDate }}
     {{ PropertyMapping | templateProperty = foundation | ontologyProperty = foundingYear }}
     {{ PropertyMapping | templateProperty = foundation | ontologyProperty = foundingYear }}
     {{ PropertyMapping | templateProperty = foundation | ontologyProperty = foundationPlace }}
     {{ PropertyMapping | templateProperty = foundation | ontologyProperty = foundationPlace }}
    {{ PropertyMapping | templateProperty = founder | ontologyProperty = foundedBy }}
    {{ PropertyMapping | templateProperty = defunct | ontologyProperty = extinctionDate }}
    {{ PropertyMapping | templateProperty = defunct | ontologyProperty = extinctionYear }}
    {{ PropertyMapping | templateProperty = location_city | ontologyProperty = locationCity }}
    {{ PropertyMapping | templateProperty = location_country | ontologyProperty = locationCountry }}
     {{ PropertyMapping | templateProperty = location | ontologyProperty = location }}
     {{ PropertyMapping | templateProperty = location | ontologyProperty = location }}
    {{ PropertyMapping | templateProperty = locations | ontologyProperty = location }}
     {{ PropertyMapping | templateProperty = area_served | ontologyProperty = regionServed }}
     {{ PropertyMapping | templateProperty = area_served | ontologyProperty = regionServed }}
     {{ PropertyMapping | templateProperty = key_people | ontologyProperty = keyPerson }}
     {{ PropertyMapping | templateProperty = key_people | ontologyProperty = keyPerson }}
Line 25: Line 15:
     {{ PropertyMapping | templateProperty = industry | ontologyProperty = industry }}
     {{ PropertyMapping | templateProperty = industry | ontologyProperty = industry }}
     {{ PropertyMapping | templateProperty = products | ontologyProperty = product }}
     {{ PropertyMapping | templateProperty = products | ontologyProperty = product }}
    {{ PropertyMapping | templateProperty = services | ontologyProperty = service }}
     {{ PropertyMapping | templateProperty = revenue | ontologyProperty = revenue | unit = Currency }}
     {{ PropertyMapping | templateProperty = revenue | ontologyProperty = revenue | unit = Currency }}
     {{ PropertyMapping | templateProperty = operating_income | ontologyProperty = operatingIncome | unit = Currency }}
     {{ PropertyMapping | templateProperty = operating_income | ontologyProperty = operatingIncome | unit = Currency }}
     {{ PropertyMapping | templateProperty = net_income | ontologyProperty = netIncome | unit = Currency }}
     {{ PropertyMapping | templateProperty = net_income | ontologyProperty = netIncome | unit = Currency }}
    {{ PropertyMapping | templateProperty = aum | ontologyProperty = assetUnderManagement | unit = Currency }}
    {{ PropertyMapping | templateProperty = assets | ontologyProperty = assets | unit = Currency }}
    {{ PropertyMapping | templateProperty = equity | ontologyProperty = equity | unit = Currency }}
    {{ PropertyMapping | templateProperty = owner | ontologyProperty = owner }}
    {{ PropertyMapping | templateProperty = owner | ontologyProperty = owningCompany }}
     {{ PropertyMapping | templateProperty = num_employees | ontologyProperty = numberOfEmployees }}
     {{ PropertyMapping | templateProperty = num_employees | ontologyProperty = numberOfEmployees }}
     {{ PropertyMapping | templateProperty = parent | ontologyProperty = parentCompany }}
     {{ PropertyMapping | templateProperty = parent | ontologyProperty = parentCompany }}
    {{ PropertyMapping | templateProperty = divisions | ontologyProperty = division }}
     {{ PropertyMapping | templateProperty = subsid | ontologyProperty = subsidiary }}
     {{ PropertyMapping | templateProperty = subsid | ontologyProperty = subsidiary }}
     {{ PropertyMapping | templateProperty = homepage | ontologyProperty = foaf:homepage }}
     {{ PropertyMapping | templateProperty = homepage | ontologyProperty = foaf:homepage }}
    {{ PropertyMapping | templateProperty = intl | ontologyProperty = internationally }}
}}
    <!-- not named in definition of Infobox company, but deliver sparql-results -->
 
    {{ PropertyMapping | templateProperty = production | ontologyProperty = production }}
    {{ PropertyMapping | templateProperty = company_name | ontologyProperty = foaf:name }}
    {{ PropertyMapping | templateProperty = company_type | ontologyProperty = type }} }}

Revision as of 14:04, 14 February 2012

This is the mapping for the Wikipedia template Infobox company. 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 Company

Mappings




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




Property Mapping (help)
template property company_type
ontology property type




Property Mapping (help)
template property foundation
ontology property foundingDate




Property Mapping (help)
template property foundation
ontology property foundingYear




Property Mapping (help)
template property foundation
ontology property foundationPlace




Property Mapping (help)
template property location
ontology property location




Property Mapping (help)
template property area_served
ontology property regionServed




Property Mapping (help)
template property key_people
ontology property keyPerson





Property Mapping (help)
template property industry
ontology property industry




Property Mapping (help)
template property products
ontology property product


Property Mapping (help)
template property revenue
ontology property revenue
unitCurrency


Property Mapping (help)
template property operating_income
ontology property operatingIncome
unitCurrency


Property Mapping (help)
template property net_income
ontology property netIncome
unitCurrency




Property Mapping (help)
template property num_employees
ontology property numberOfEmployees




Property Mapping (help)
template property parent
ontology property parentCompany




Property Mapping (help)
template property subsid
ontology property subsidiary




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