Difference between revisions of "Template:Concept relation/doc"

From TDWG Terms Wiki
Jump to: navigation, search
m (moved Template:Concept mapping/doc to Template:Concept relation/doc: relation is more general than mapping, e.g. disjunct is ''not'' a mapping)
m (concept mapping → concept relation)
Line 1: Line 1:
 
{{Documentation/subpage}}
 
{{Documentation/subpage}}
TODO [http://www.w3.org/TR/rdf-schema/#ch_range rdfs:range] --[[User:Andreas Plank|Andreas Plank]] 17:30, 28 August 2012 (CEST)
+
TODO: [http://www.w3.org/TR/rdf-schema/#ch_range rdfs:range] do we need this? --[[User:Andreas Plank|Andreas Plank]] 17:30, 28 August 2012 (CEST)
 +
NOTE: This template was named “concept relation” and not ”concept mapping” because, e.g. disjunct is ''not'' a mapping but a relation.
  
 
=== Usage ===
 
=== Usage ===
 
It should be called in the following format:
 
It should be called in the following format:
 
<pre>
 
<pre>
  {{Concept mapping
+
  {{Concept relation
 
  | relation =
 
  | relation =
 
   one of
 
   one of
Line 36: Line 37:
 
=== Technical documentation ===
 
=== Technical documentation ===
 
  {{#titleparts: {{PAGENAME}} | 1 | 1 }}
 
  {{#titleparts: {{PAGENAME}} | 1 | 1 }}
   ├ [[Template:Concept mapping/relation to property]] (map relation-string from template input to correct property page)
+
   ├ [[Template:Concept relation/relation to property]] (map relation-string from template input to correct property page)
   └ [[Template:Concept mapping/doc]]
+
   └ [[Template:Concept relation/doc]]
  
 
Dependency on http://www.mediawiki.org/wiki/Extension:Variables
 
Dependency on http://www.mediawiki.org/wiki/Extension:Variables

Revision as of 13:43, 7 September 2012

This is a documentation subpage for Template:Concept relation (see that page for the template itself).
It contains usage information, categories and other content that is not part of the original template page.

TODO: rdfs:range do we need this? --Andreas Plank 17:30, 28 August 2012 (CEST) NOTE: This template was named “concept relation” and not ”concept mapping” because, e.g. disjunct is not a mapping but a relation.

Usage

It should be called in the following format:

 {{Concept relation 
 | relation =
   one of
     obo_rel: adjacent to
     obo_rel: contained in
     obo_rel: derives from
     obo_rel: has agent
     obo_rel: integral part of
     obo_rel: located in
     obo_rel: part of
     obo_rel: preceded by
     obo_rel: proper part of
     obo_rel: transformation of
     skos: has broader match
     skos: has close match
     skos: has exact match
     skos: has narrower match
     skos: has participant
     skos: has related match
     skos: is in mapping relation with
     rdfs: see also
     rdfs: subclass of
     rdfs: subproperty of

 | internal page = 
 | uri =
 }}

Technical documentation

Concept relation
 ├ Template:Concept relation/relation to property (map relation-string from template input to correct property page)
 └ Template:Concept relation/doc

Dependency on http://www.mediawiki.org/wiki/Extension:Variables

See also