Difference between revisions of "Template:Concept scheme"
From Diversity Workbench
Anton Link (Talk | contribs) |
|||
Line 1: | Line 1: | ||
<includeonly>__NOEDITSECTION__<!-- | <includeonly>__NOEDITSECTION__<!-- | ||
default semantic settings | default semantic settings | ||
− | -->{{#set: dcterms:title={{PAGENAME}}}}<!-- | + | -->{{#set: dcterms:title={{PAGENAME}} }}<!-- |
Line 34: | Line 34: | ||
add later when properties are reviewed: browse RDF/properties | add later when properties are reviewed: browse RDF/properties | ||
--><tr><td><div><span class="rdflink" style="float:right;"><!-- | --><tr><td><div><span class="rdflink" style="float:right;"><!-- | ||
− | -->[{{FULLURL: Special:XMLTransformation|rdfurl={{urlencode:<!-- encode the link -->{{Concept scheme/RDF resource link}}}}<!-- #urlencode | + | -->[{{FULLURL: Special:XMLTransformation|rdfurl={{urlencode:<!-- encode the link -->{{Concept scheme/RDF resource link}}<!---->}}<!-- #urlencode |
XSLT stylesheet added: MediaWiki:SMWToSKOS.xsl | XSLT stylesheet added: MediaWiki:SMWToSKOS.xsl | ||
-->&xsltpage={{urlencode: MediaWiki:SMWToSKOS.xsl}}<!-- | -->&xsltpage={{urlencode: MediaWiki:SMWToSKOS.xsl}}<!-- | ||
Line 41: | Line 41: | ||
--> Export (SKOS)]<!-- | --> Export (SKOS)]<!-- | ||
--> │ <!-- | --> │ <!-- | ||
− | -->[{{FULLURL: Special:XMLTransformation|rdfurl={{urlencode:<!-- encode the link -->{{Concept scheme/RDF resource link}}}}<!-- #urlencode | + | -->[{{FULLURL: Special:XMLTransformation|rdfurl={{urlencode:<!-- encode the link -->{{Concept scheme/RDF resource link}}<!---->}}<!-- #urlencode |
XSLT stylesheet added: MediaWiki:SMWToRDF.xsl | XSLT stylesheet added: MediaWiki:SMWToRDF.xsl | ||
-->&xsltpage={{urlencode: MediaWiki:SMWToRDF.xsl}}<!-- | -->&xsltpage={{urlencode: MediaWiki:SMWToRDF.xsl}}<!-- | ||
Line 72: | Line 72: | ||
-->}} | -->}} | ||
}}{{ | }}{{ | ||
+ | #if: {{{cite as|}}}|<nowiki></nowiki> | ||
+ | |||
+ | '''Suggested citation:''' [[dcterms:bibliographicCitation::{{{cite as|}}}]]<!-- | ||
+ | -->}}{{ | ||
#if: {{{scheme uri|}}}|<nowiki></nowiki> | #if: {{{scheme uri|}}}|<nowiki></nowiki> | ||
Line 88: | Line 92: | ||
then-->|<!-- nothing | then-->|<!-- nothing | ||
else-->|{{Warning about non-unique namespace prefix | else-->|{{Warning about non-unique namespace prefix | ||
− | |concept namespace prefix={{{preferred namespace prefix|}}} | + | |concept namespace prefix={{{preferred namespace prefix|}}} |
− | }} | + | }} |
− | }} | + | }}<!-- |
− | }}<!-- | + | -->}}<!-- |
check URI conflict: ERROR message | check URI conflict: ERROR message | ||
Line 100: | Line 104: | ||
---- | ---- | ||
− | |||
{{#forminput: form=Concept|query string=Concept_relation[1][relation]=skos:in scheme&Concept_relation[1][internal page]={{PAGENAME}}|autocomplete on namespace=Property|button text=Create or edit a concept}} | {{#forminput: form=Concept|query string=Concept_relation[1][relation]=skos:in scheme&Concept_relation[1][internal page]={{PAGENAME}}|autocomplete on namespace=Property|button text=Create or edit a concept}} | ||
− | ---- | + | ---- |
− | + | ||
Revision as of 11:58, 14 October 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