Mapping commons:Flickr: Difference between revisions

From Mediawiki1
Jump to navigationJump to search
(Added transform=external)
(Added prefix and suffix for testing)
Line 5: Line 5:
<!-- Some standard properties -->
<!-- Some standard properties -->
{{PropertyMapping | templateProperty = description | ontologyProperty = dct:description }}
{{PropertyMapping | templateProperty = description | ontologyProperty = dct:description }}
         {{PropertyMapping | templateProperty = flickr_url | ontologyProperty = source }}
         {{PropertyMapping | templateProperty = flickr_url | ontologyProperty = source | prefix = http://example.org/ }}
         {{PropertyMapping | templateProperty = title | ontologyProperty = title }}
         {{PropertyMapping | templateProperty = title | ontologyProperty = title }}


Line 11: Line 11:


<!-- Added a suffix to test prefix/suffix -->
<!-- Added a suffix to test prefix/suffix -->
         {{PropertyMapping | templateProperty = photographer_url | ontologyProperty = creator | suffix = #top | transform = external }}
         {{PropertyMapping | templateProperty = photographer_url | ontologyProperty = creator | suffix = #top }}
         {{PropertyMapping | templateProperty = photographer | ontologyProperty = creator }}
         {{PropertyMapping | templateProperty = photographer | ontologyProperty = creator }}



Revision as of 07:47, 31 July 2014

This is the mapping for the Wikipedia template Flickr. 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 Work

Mappings




Property Mapping (help)
template property description
ontology property dct:description
Property Mapping (help)
template property flickr_url
ontology property source
prefixhttp://example.org/




Property Mapping (help)
template property title
ontology property title





Property Mapping (help)
template property taken
ontology property dct:created


Property Mapping (help)
template property photographer_url
ontology property creator
suffix#top




Property Mapping (help)
template property photographer
ontology property creator





Property Mapping (help)
template property permission
ontology property license