Difference between revisions of "Template:Concept relation/doc"
From TDWG Terms Wiki
m |
m (Layout) |
||
Line 17: | Line 17: | ||
}} | }} | ||
</pre> | </pre> | ||
− | | or relating to {{abbr|URI}} | + | | style="padding:0px 1em"|or relating<br/> to an {{abbr|URI}} |
| | | | ||
<pre> | <pre> |
Revision as of 15:38, 7 September 2012
Template “concept relation/doc” sets a SMW-subobject and template: concept queries these data to display them in a fact box.
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 = … | internal page = … }} |
or relating to an URI |
{{Concept relation | relation = … | uri = … }} |
Parameter “relation” can be 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
Technical documentation
Concept relation ├ Template:Concept relation/return listelement from query return a list element to format an #ask-query with “format = template“ in an #ask-query ├ 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