Mapping fr:Infobox Livre: Difference between revisions
From Mediawiki1
Jump to navigationJump to search
No edit summary |
mNo edit summary |
||
(3 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{TemplateMapping | {{ConditionalMapping | ||
| mapToClass = Book | | cases = | ||
| | {{Condition | ||
| templateProperty = théatre_fr | |||
| operator = isSet | |||
| mapping = {{TemplateMapping | mapToClass = Play | header = 0}} | |||
}} | |||
{{Condition | |||
| templateProperty = datethéatre_fr | |||
| operator = isSet | |||
| mapping = {{TemplateMapping | mapToClass = Play | header = 0}} | |||
}} | |||
{{Condition | |||
| operator = otherwise | |||
| mapping = {{TemplateMapping | mapToClass = Book | header = 0}} | |||
}} | |||
| defaultMappings = | |||
{{PropertyMapping | templateProperty = nom | ontologyProperty = foaf:name }} | {{PropertyMapping | templateProperty = nom | ontologyProperty = foaf:name }} | ||
{{PropertyMapping | templateProperty = titre | ontologyProperty = foaf:name }} | {{PropertyMapping | templateProperty = titre | ontologyProperty = foaf:name }} | ||
{{PropertyMapping | templateProperty = titre_orig | ontologyProperty = foaf:name }} | |||
{{PropertyMapping | templateProperty = titre_orig | ontologyProperty = originalTitle }} | |||
{{PropertyMapping | templateProperty = traducteur | ontologyProperty = translator }} | {{PropertyMapping | templateProperty = traducteur | ontologyProperty = translator }} | ||
{{PropertyMapping | templateProperty = auteur | ontologyProperty = author }} | {{PropertyMapping | templateProperty = auteur | ontologyProperty = author }} | ||
Line 12: | Line 29: | ||
{{PropertyMapping | templateProperty = série | ontologyProperty = series }} | {{PropertyMapping | templateProperty = série | ontologyProperty = series }} | ||
{{PropertyMapping | templateProperty = genre | ontologyProperty = literaryGenre }} | {{PropertyMapping | templateProperty = genre | ontologyProperty = literaryGenre }} | ||
{{PropertyMapping | templateProperty = éditeur | ontologyProperty = dc:publisher }} | |||
{{PropertyMapping | templateProperty = éditeur | ontologyProperty = publisher }} | {{PropertyMapping | templateProperty = éditeur | ontologyProperty = publisher }} | ||
{{PropertyMapping | templateProperty = éditeur_orig | ontologyProperty = firstPublisher }} | |||
{{PropertyMapping | templateProperty = dateparution | ontologyProperty = publicationDate }} | {{PropertyMapping | templateProperty = dateparution | ontologyProperty = publicationDate }} | ||
{{PropertyMapping | templateProperty = lieuparution | ontologyProperty = | {{PropertyMapping | templateProperty = dateparution_orig | ontologyProperty = firstPublicationDate }} | ||
{{PropertyMapping | templateProperty = lieuparution | ontologyProperty = country }} | |||
{{PropertyMapping | templateProperty = type_média | ontologyProperty = mediaType }} | {{PropertyMapping | templateProperty = type_média | ontologyProperty = mediaType }} | ||
{{PropertyMapping | templateProperty = pages | ontologyProperty = numberOfPages }} | {{PropertyMapping | templateProperty = pages | ontologyProperty = numberOfPages }} | ||
{{PropertyMapping | templateProperty = préface | ontologyProperty = prefaceBy }} | |||
{{PropertyMapping | templateProperty = isbn | ontologyProperty = isbn }} | {{PropertyMapping | templateProperty = isbn | ontologyProperty = isbn }} | ||
{{PropertyMapping | templateProperty = précédent | ontologyProperty = previousWork }} | {{PropertyMapping | templateProperty = précédent | ontologyProperty = previousWork }} | ||
{{PropertyMapping | templateProperty = suivant | ontologyProperty = subsequentWork }} | {{PropertyMapping | templateProperty = suivant | ontologyProperty = subsequentWork }} | ||
{{PropertyMapping | templateProperty = datethéatre_fr | ontologyProperty = premiereDate }} | |||
{{PropertyMapping | templateProperty = datethéatre_fr | ontologyProperty = premiereYear }} | |||
{{PropertyMapping | templateProperty = théatre_fr | ontologyProperty = premierePlace }} | |||
}} | }} |
Latest revision as of 19:32, 29 June 2014
This is the mapping for the Wikipedia template Infobox Livre. 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 | théatre_fr |
operator | isSet |
Template Mapping (help) map to class Play
Condition (help) | |
---|---|
template property | datethéatre_fr |
operator | isSet |
Template Mapping (help) map to class Play
Condition (help) | |
---|---|
otherwise |
Template Mapping (help) map to class Book
Default Mappings
Property Mapping (help) template property nom ontology property foaf:name
Property Mapping (help) template property titre ontology property foaf:name
Property Mapping (help) template property titre_orig ontology property foaf:name
Property Mapping (help) template property titre_orig ontology property originalTitle
Property Mapping (help) template property traducteur ontology property translator
Property Mapping (help) template property auteur ontology property author
Property Mapping (help) template property dessinateur ontology property illustrator
Property Mapping (help) template property artiste_couverture ontology property coverArtist
Property Mapping (help) template property pays ontology property country
Property Mapping (help) template property langue ontology property language
Property Mapping (help) template property série ontology property series
Property Mapping (help) template property genre ontology property literaryGenre
Property Mapping (help) template property éditeur ontology property dc:publisher
Property Mapping (help) template property éditeur ontology property publisher
Property Mapping (help) template property éditeur_orig ontology property firstPublisher
Property Mapping (help) template property dateparution ontology property publicationDate
Property Mapping (help) template property dateparution_orig ontology property firstPublicationDate
Property Mapping (help) template property lieuparution ontology property country
Property Mapping (help) template property type_média ontology property mediaType
Property Mapping (help) template property pages ontology property numberOfPages
Property Mapping (help) template property préface ontology property prefaceBy
Property Mapping (help) template property isbn ontology property isbn
Property Mapping (help) template property précédent ontology property previousWork
Property Mapping (help) template property suivant ontology property subsequentWork
Property Mapping (help) template property datethéatre_fr ontology property premiereDate
Property Mapping (help) template property datethéatre_fr ontology property premiereYear
Property Mapping (help) template property théatre_fr ontology property premierePlace