Mapping en:Infobox road: Difference between revisions
From Mediawiki1
Jump to navigationJump to search
RobertIsele (talk | contribs) (system property will be renamed to highwaySystem) |
AndreasLange (talk | contribs) (Added onthology property dateOfAbandonment, deletet not necasry ones) |
||
Line 5: | Line 5: | ||
| mappings = | | mappings = | ||
{{PropertyMapping | templateProperty = state | ontologyProperty = state }} | {{PropertyMapping | templateProperty = state | ontologyProperty = state }} | ||
{{PropertyMapping | templateProperty = highway_name | ontologyProperty = foaf:name }} | |||
{{PropertyMapping | templateProperty = type | ontologyProperty = type }} | |||
{{PropertyMapping | templateProperty = route | ontologyProperty = foaf:name }} | |||
{{PropertyMapping | templateProperty = alternate_name | ontologyProperty = foaf:name }} | |||
{{PropertyMapping | templateProperty = beltway_city | ontologyProperty = beltwayCity }} | {{PropertyMapping | templateProperty = beltway_city | ontologyProperty = beltwayCity }} | ||
{{PropertyMapping | templateProperty = counties | ontologyProperty = county }} | {{PropertyMapping | templateProperty = counties | ontologyProperty = county }} | ||
Line 11: | Line 15: | ||
{{PropertyMapping | templateProperty = system | ontologyProperty = highwaySystem }} | {{PropertyMapping | templateProperty = system | ontologyProperty = highwaySystem }} | ||
{{PropertyMapping | templateProperty = spur_type | ontologyProperty = spurType }} | {{PropertyMapping | templateProperty = spur_type | ontologyProperty = spurType }} | ||
{{PropertyMapping | templateProperty = length_mi | ontologyProperty = length | unit = mile }} | {{PropertyMapping | templateProperty = length_mi | ontologyProperty = length | unit = mile }} | ||
{{PropertyMapping | templateProperty = length_km | ontologyProperty = length | unit = kilometre }} | {{PropertyMapping | templateProperty = length_km | ontologyProperty = length | unit = kilometre }} | ||
{{PropertyMapping | templateProperty = established | ontologyProperty = openingDate }} | |||
{{PropertyMapping | templateProperty = decommissioned | ontologyProperty = dateOfAbandonment } | |||
{{PropertyMapping | templateProperty = previous_route | ontologyProperty = previousInfrastructure }} | {{PropertyMapping | templateProperty = previous_route | ontologyProperty = previousInfrastructure }} | ||
{{PropertyMapping | templateProperty = previous_type | ontologyProperty = type }} | |||
{{PropertyMapping | templateProperty = next_route | ontologyProperty = subsequentInfrastructure }} | {{PropertyMapping | templateProperty = next_route | ontologyProperty = subsequentInfrastructure }} | ||
{{PropertyMapping | templateProperty = next_type | ontologyProperty = type }} | |||
}} | }} |
Revision as of 12:41, 17 March 2010
This is the mapping for the Wikipedia template Infobox road. 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.
{{TemplateMapping | mapToClass = Road | mappings =
Property Mapping (help) | |
---|---|
template property | state |
ontology property | state |
Property Mapping (help) | |
---|---|
template property | highway_name |
ontology property | foaf:name |
Property Mapping (help) | |
---|---|
template property | type |
ontology property | type |
Property Mapping (help) | |
---|---|
template property | route |
ontology property | foaf:name |
Property Mapping (help) | |
---|---|
template property | alternate_name |
ontology property | foaf:name |
Property Mapping (help) | |
---|---|
template property | beltway_city |
ontology property | beltwayCity |
Property Mapping (help) | |
---|---|
template property | counties |
ontology property | county |
Property Mapping (help) | |
---|---|
template property | rural_municipalities |
ontology property | ruralMunicipality |
Property Mapping (help) | |
---|---|
template property | cities |
ontology property | city |
Property Mapping (help) | |
---|---|
template property | system |
ontology property | highwaySystem |
Property Mapping (help) | |
---|---|
template property | spur_type |
ontology property | spurType |
Property Mapping (help) | |
---|---|
template property | length_mi |
ontology property | length |
unit | mile |
Property Mapping (help) | |
---|---|
template property | length_km |
ontology property | length |
unit | kilometre |
Property Mapping (help) | |
---|---|
template property | established |
ontology property | openingDate |
Property Mapping (help) | |||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
template property | decommissioned | ||||||||||||||||||||||||||||||||||||||||||||||||
ontology property | [[OntologyProperty:dateOfAbandonment }
|