Mapping en:Infobox company: Difference between revisions

From DBpedia Mappings
Jump to navigationJump to search
No edit summary
(merged from Infobox Company, some updates)
Line 28: Line 28:
| defaultMappings =  
| defaultMappings =  
     {{ PropertyMapping | templateProperty = name | ontologyProperty = foaf:name }}
     {{ PropertyMapping | templateProperty = name | ontologyProperty = foaf:name }}
    {{ PropertyMapping | templateProperty = trading_name | ontologyProperty = tradingName }}
    {{ PropertyMapping | templateProperty = native_name | ontologyProperty = originalName }}
    {{ PropertyMapping | templateProperty = former_name | ontologyProperty = formerName }}
     {{ PropertyMapping | templateProperty = type | ontologyProperty = type }}
     {{ PropertyMapping | templateProperty = type | ontologyProperty = type }}
    {{ PropertyMapping | templateProperty = ISNI | ontologyProperty = isniId }}
    {{ PropertyMapping | templateProperty = ISNI2 | ontologyProperty = isniId }}
    {{ PropertyMapping | templateProperty = ISNI3 | ontologyProperty = isniId }}
     {{ PropertyMapping | templateProperty = genre | ontologyProperty = genre }}
     {{ PropertyMapping | templateProperty = genre | ontologyProperty = genre }}
     {{ PropertyMapping | templateProperty = fate | ontologyProperty = fate }}
     {{ PropertyMapping | templateProperty = fate | ontologyProperty = fate }}
Line 35: Line 41:
     <!-- 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 = founded | ontologyProperty = foundingDate }}
    {{ PropertyMapping | templateProperty = foundation | ontologyProperty = foundationPlace }}
     {{ PropertyMapping | templateProperty = founder | ontologyProperty = foundedBy }}
     {{ PropertyMapping | templateProperty = founder | ontologyProperty = foundedBy }}
     {{ PropertyMapping | templateProperty = defunct | ontologyProperty = extinctionDate }}
     {{ PropertyMapping | templateProperty = defunct | ontologyProperty = dissolutionDate }}
    {{ PropertyMapping | templateProperty = defunct | ontologyProperty = extinctionYear }}
 
    {{ PropertyMapping | templateProperty = location_city | ontologyProperty = locationCity }}
    {{ PropertyMapping | templateProperty = location_country | ontologyProperty = locationCountry }}
    {{ PropertyMapping | templateProperty = location | ontologyProperty = location }}
     {{ PropertyMapping | templateProperty = locations | ontologyProperty = numberOfLocations }}
     {{ PropertyMapping | templateProperty = locations | ontologyProperty = numberOfLocations }}
    {{ PropertyMapping | templateProperty = num_locations | ontologyProperty = numberOfLocations }}
     {{ PropertyMapping | templateProperty = area_served | ontologyProperty = regionServed }}
     {{ PropertyMapping | templateProperty = area_served | ontologyProperty = regionServed }}
     {{ PropertyMapping | templateProperty = key_people | ontologyProperty = keyPerson }}
     {{ PropertyMapping | templateProperty = key_people | ontologyProperty = keyPerson }}
     <!-- {{ IntermediateNodeMapping | nodeClass = PersonFunction | correspondingProperty = leaderFunction | mappings = {{ PropertyMapping | templateProperty = key_people | ontologyProperty = person }} {{ PropertyMapping | templateProperty = key_people | ontologyProperty = title }} }} -->
 
     {{ PropertyMapping | templateProperty = hq_location | ontologyProperty = headquarter }}
    {{ PropertyMapping | templateProperty = hq_city | ontologyProperty = locationCity }}
    {{ PropertyMapping | templateProperty = hq_country | ontologyProperty = locationCountry }}
    {{ PropertyMapping | templateProperty = location | ontologyProperty = location }}


     {{ 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 = services | ontologyProperty = service }}
    {{ PropertyMapping | templateProperty = production | ontologyProperty = production }}
     {{ 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 }}
Line 67: Line 75:
     {{ PropertyMapping | templateProperty = website | ontologyProperty = foaf:homepage }}
     {{ PropertyMapping | templateProperty = website | ontologyProperty = foaf:homepage }}


     {{ PropertyMapping | templateProperty = company_logo | ontologyProperty = foaf:depiction }}
     {{ PropertyMapping | templateProperty = company_logo | ontologyProperty = foaf:logo }}
     {{ PropertyMapping | templateProperty = logo | ontologyProperty = foaf:depiction }}
     {{ PropertyMapping | templateProperty = logo | ontologyProperty = foaf:logo }}


     {{ PropertyMapping | templateProperty = intl | ontologyProperty = internationally }}
     {{ PropertyMapping | templateProperty = intl | ontologyProperty = internationally }}
     <!-- not named in definition of Infobox company, but deliver sparql-results -->
     <!-- 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_name | ontologyProperty = foaf:name }}
     {{ PropertyMapping | templateProperty = company_type | ontologyProperty = type }}  
     {{ PropertyMapping | templateProperty = company_type | ontologyProperty = type }}  
}}
}}

Revision as of 19:36, 8 October 2017

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.

Conditions

Condition (help)
template property industry
operator contains
value banking
Template Mapping (help)
map to class Bank


Condition (help)
template property industry
operator contains
value financial
Template Mapping (help)
map to class Bank


Condition (help)
otherwise
Template Mapping (help)
map to class Company

Default Mappings




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




Property Mapping (help)
template property trading_name
ontology property tradingName




Property Mapping (help)
template property native_name
ontology property originalName




Property Mapping (help)
template property former_name
ontology property formerName




Property Mapping (help)
template property type
ontology property type




Property Mapping (help)
template property ISNI
ontology property isniId




Property Mapping (help)
template property ISNI2
ontology property isniId




Property Mapping (help)
template property ISNI3
ontology property isniId




Property Mapping (help)
template property genre
ontology property genre




Property Mapping (help)
template property fate
ontology property fate




Property Mapping (help)
template property predecessor
ontology property predecessor




Property Mapping (help)
template property successor
ontology property successor




Property Mapping (help)
template property foundation
ontology property foundingDate




Property Mapping (help)
template property founded
ontology property foundingDate




Property Mapping (help)
template property founder
ontology property foundedBy




Property Mapping (help)
template property defunct
ontology property dissolutionDate





Property Mapping (help)
template property locations
ontology property numberOfLocations




Property Mapping (help)
template property num_locations
ontology property numberOfLocations




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 hq_location
ontology property headquarter




Property Mapping (help)
template property hq_city
ontology property locationCity




Property Mapping (help)
template property hq_country
ontology property locationCountry




Property Mapping (help)
template property location
ontology property location





Property Mapping (help)
template property industry
ontology property industry




Property Mapping (help)
template property products
ontology property product




Property Mapping (help)
template property services
ontology property service




Property Mapping (help)
template property production
ontology property production


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 aum
ontology property assetUnderManagement
unitCurrency


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


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




Property Mapping (help)
template property owner
ontology property owner




Property Mapping (help)
template property owner
ontology property owningCompany




Property Mapping (help)
template property num_employees
ontology property numberOfEmployees




Property Mapping (help)
template property parent
ontology property parentCompany




Property Mapping (help)
template property divisions
ontology property division




Property Mapping (help)
template property subsid
ontology property subsidiary





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




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












Property Mapping (help)
template property intl
ontology property internationally





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




Property Mapping (help)
template property company_type
ontology property type