Mapping nl:Tabelrij rijksmonument: Difference between revisions
GerardKuys (talk | contribs) (Built in a condition, saying that the name of an object should be made the name of its address if otherwise the object name would be void) |
GerardKuys (talk | contribs) (Mapped a bit more effectively) |
||
Line 3: | Line 3: | ||
{{Condition | {{Condition | ||
| templateProperty = objectnaam | | templateProperty = objectnaam | ||
| operator = isSet | | operator = isSet | ||
| mapping = {{TemplateMapping | | mapping = {{TemplateMapping | ||
| mapToClass = ArchitecturalStructure | |||
| correspondingClass = List | | correspondingClass = List | ||
| correspondingProperty = listItemOf | | correspondingProperty = listItemOf | ||
| mappings = | | mappings = {{PropertyMapping | templateProperty = objectnaam | ontologyProperty = foaf:name }} | ||
}} ( closes the TemplateMapping template } | |||
}} | |||
{{Condition | {{Condition | ||
| operator = otherwise | | operator = otherwise | ||
| mapping = {{TemplateMapping | | mapping = {{TemplateMapping | ||
| mapToClass = ArchitecturalStructure | | mapToClass = ArchitecturalStructure | ||
| correspondingClass = List | | correspondingClass = List | ||
| correspondingProperty = listItemOf | | correspondingProperty = listItemOf | ||
| mappings = | | mappings = {{PropertyMapping | templateProperty = objectnaam | ontologyProperty = address }} | ||
}} | |||
}} | |||
| defaultMappings = | |||
{{ConstantMapping | ontologyProperty = protectionStatus | value = Rijksmonument }} | |||
{{ConstantMapping | ontologyProperty = country | value = Nederland }} | |||
{{PropertyMapping | templateProperty = objrijksnr | ontologyProperty = codeNationalMonument }} | |||
{{PropertyMapping | templateProperty = type_obj | ontologyProperty = type }} | |||
{{PropertyMapping | templateProperty = oorspr_functie | ontologyProperty = originallyUsedFor }} | |||
{{PropertyMapping | templateProperty = adres | ontologyProperty = address }} | |||
{{PropertyMapping | templateProperty = bouwjaar | ontologyProperty = yearOfConstruction }} | |||
{{PropertyMapping | templateProperty = architect | ontologyProperty = architect }} | |||
{{PropertyMapping | templateProperty = image | ontologyProperty = picture }} | |||
{{GeocoordinatesMapping | latitude = lat | longitude = lon }} | |||
}} | }} |
Revision as of 10:17, 28 August 2013
This is the mapping for the Wikipedia template Tabelrij rijksmonument. 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 | objectnaam |
operator | isSet |
This is the mapping for the Wikipedia template Tabelrij rijksmonument. 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 ArchitecturalStructure corresponding class List corresponding property listItemOf Mappings
Property Mapping (help) template property objectnaam ontology property foaf:name ( closes the TemplateMapping template }
Condition (help) | |
---|---|
otherwise |
This is the mapping for the Wikipedia template Tabelrij rijksmonument. 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 ArchitecturalStructure corresponding class List corresponding property listItemOf Mappings
Property Mapping (help) template property objectnaam ontology property address
Default Mappings
Constant Mapping (help) ontology property protectionStatus value Rijksmonument
Constant Mapping (help) ontology property country value Nederland
Property Mapping (help) template property objrijksnr ontology property codeNationalMonument
Property Mapping (help) template property type_obj ontology property type
Property Mapping (help) template property oorspr_functie ontology property originallyUsedFor
Property Mapping (help) template property adres ontology property address
Property Mapping (help) template property bouwjaar ontology property yearOfConstruction
Property Mapping (help) template property architect ontology property architect
Property Mapping (help) template property image ontology property picture
Geocoordinates Mapping (help) latitude template property lat longitude template property lon