Difference between revisions of "Template:Concept scheme"
From Diversity Workbench
(remove template: Bugfix SMW hased URI, SWM removes ending # in URIs anyway. No way to solve it properly in RDF) |
|||
Line 76: | Line 76: | ||
#if: {{{preferred namespace uri|}}}|<nowiki></nowiki> | #if: {{{preferred namespace uri|}}}|<nowiki></nowiki> | ||
− | '''Namespace URI:''' {{{preferred namespace uri|}}}{{ | + | '''Namespace URI:''' {{{preferred namespace uri|}}}{{#set: vann:preferredNamespaceUri={{{preferred namespace uri|}}}}}<nowiki></nowiki><!-- |
-->{{#vardefine: preferredNamespacePrefixes | {{#ask: [[vann:preferredNamespacePrefix::{{{preferred namespace prefix|}}}]] | mainlabel=- | link=none | ?vann:preferredNamespacePrefix#= | format=list | default=}} }}<!-- | -->{{#vardefine: preferredNamespacePrefixes | {{#ask: [[vann:preferredNamespacePrefix::{{{preferred namespace prefix|}}}]] | mainlabel=- | link=none | ?vann:preferredNamespacePrefix#= | format=list | default=}} }}<!-- | ||
-->{{#vardefine: preferredNamespaceUris | {{#ask: [[vann:preferredNamespacePrefix::{{{preferred namespace prefix|}}}]] [[vann:preferredNamespaceUri::+]] | mainlabel=- | link=none | ?vann:preferredNamespaceUri#= | format=list | default=}} }}<!-- | -->{{#vardefine: preferredNamespaceUris | {{#ask: [[vann:preferredNamespacePrefix::{{{preferred namespace prefix|}}}]] [[vann:preferredNamespaceUri::+]] | mainlabel=- | link=none | ?vann:preferredNamespaceUri#= | format=list | default=}} }}<!-- |
Revision as of 23:47, 7 September 2016
[edit] [ ] Template documentation
This is the "Concept scheme" template. For those schemes see Category: Concept scheme.
Usage
It has the following parameter with corresponding properties listed below:
{{Concept scheme |description= → property: dc:description |notes= → property: skos:note |creators= ,-separated value → property: dc:creator |contributors= ,-separated value → property: dc:contributor |cite as= → optional suggested citation → property: dcterms:bibliographicCitation |scheme uri= → optional canonical URI where scheme is used as a class (esp. value lists) |preferred namespace prefix= → property: vann:preferredNamespacePrefix |preferred namespace uri= → property: vann:preferredNamespaceUri |terms of usage = → e.g. “Creative Commons BY-SA 3.0 license” property: xmpRights:UsageTerms |license url = → e.g. “http://creativecommons.org/licenses/by-sa/3.0/us/” property: xmpRights:WebStatement |issued = property: dcterms:issued → should be of type date |modified = property: dcterms:modified → should be of type date |replaces = property: dcterms:replaces → should be of type page |replaced by = property: dcterms:isReplacedBy → should be of type page |status = property: vs:term status → should be of type text }}
Notes:
- automatically the Wiki’s {{PAGENAME}} is used to set property: dc:title, there is no title parameter
- Category: Concept scheme will be set automatically
TODO
See Template talk: Concept scheme.
Background /Technical documentation
It is a concept scheme that has an expert group that together takes responsibility for the collection of terms. Within a scheme concepts may further be organized into collections. Collections never have independent authorship. Scheme is like a publication, collection may be like subheadings within a publication.
┌── scheme e.g.: AC, DwC, DC ──┐ → this template · has authorship/expert group · “concept scheme” · · · ┌ collection ─────────┐ ……………………… → template: · · |
concept concept concept scheme scheme scheme ↖↘ concept collection ↙↗ ↖↘ concept collection ↙↗ ↖↘ ↓↑ ↙↗ concept scheme relation concept ⇄ concept relation ⇄ concept template ↙↗ ↓↑ ↖↘ … concept … collection |
Dependencies
- generate RDF export → extension XMLTransformation (Special:XMLTransformation + a XSLT File, e.g. MediaWiki:SMWToRDF.xsl, MediaWiki:SMWToSKOS.xsl)
- creates a wiki specific link (adjust it on export! See Class:Internal - Wiki specific URL)
- Template: Concept scheme/RDF resource link
- Template: Concept scheme/Concepts index list by label and name
- Template: Concept scheme/preload smw import (preload for import a vocabulary scheme for SMW)
- Template: Concept Index grouped by Collection
- Template: Validate and render identifier URI
- Form: Concept scheme
- CSS class:
template_concept-scheme_form-create-or-edit
to manipulate the form input
Properties:
- property: dc:contributor
- property: dc:creator
- property: dc:description
- property: dc:title
- property: dcterms:bibliographicCitation
- property: dcterms:isReplacedBy
- property: dcterms:issued
- property: dcterms:modified
- property: dcterms:replaces
- property: skos:note
- property: vann:preferredNamespacePrefix
- property: vann:preferredNamespaceUri
- property: vs:term status
- property: xmpRights:UsageTerms
- property: xmpRights:WebStatement