Difference between revisions of "Template:Concept relation/doc"
From TDWG Terms Wiki
m (→Usage) |
m (→Usage) |
||
Line 27: | Line 27: | ||
Parameter “relation” can be one of the following strings: | Parameter “relation” can be one of the following strings: | ||
− | + | {| class = "wikitable sortable" | |
− | + | |- | |
− | + | ! used string<br/>(e.g. in forms) | |
− | + | ! maps to | |
− | + | |- | |
− | + | | obo_rel: adjacent to || [[property: obo_rel:adjacent_to]] | |
− | + | |- | |
− | + | | obo_rel: contained in || [[property: obo_rel:contained_in]] | |
− | + | |- | |
− | + | | obo_rel: derives from || [[property: obo_rel:derives_from]] | |
− | + | |- | |
− | + | | obo_rel: has agent || [[property: obo_rel:has_agent]] | |
− | + | |- | |
− | + | | obo_rel: integral part of || [[property: obo_rel:integral_part_of]] | |
− | + | |- | |
− | + | | obo_rel: located in || [[property: obo_rel:located_in]] | |
− | + | |- | |
− | + | | obo_rel: part of || [[property: obo_rel:part_of]] | |
− | + | |- | |
− | + | | obo_rel: preceded by || [[property: obo_rel:preceded_by]] | |
+ | |- | ||
+ | | obo_rel: proper part of || [[property: obo_rel:proper_part_of]] | ||
+ | |- | ||
+ | | obo_rel: transformation of || [[property: obo_rel:transformation_of]] | ||
+ | |- | ||
+ | | skos: has broader match || [[property: skos:hasBoaderMatch]] | ||
+ | |- | ||
+ | | skos: has close match || [[property: skos:hasCloseMatch]] | ||
+ | |- | ||
+ | | skos: has exact match || [[property: skos:hasExactMatch]] | ||
+ | |- | ||
+ | | skos: has narrower match || [[property: skos:hasNarrowerMatch]] | ||
+ | |- | ||
+ | | skos: has participant || [[property: skos:hasParticipant]] | ||
+ | |- | ||
+ | | skos: has related match || [[property: skos:hasRelatedMatch]] | ||
+ | |- | ||
+ | | skos: is in mapping relation with || [[property: skos:isInMappingRelationWith]] | ||
+ | |- | ||
+ | | rdfs: see also || [[property: rdfs:seeAlso]] | ||
+ | |- | ||
+ | | rdfs: subclass of || [[property: rdfs:subclassOf]] | ||
+ | |- | ||
+ | | rdfs: subproperty of || [[property: rdfs:subPropertyOf]] | ||
+ | |} | ||
=== Technical documentation === | === Technical documentation === |
Revision as of 15:52, 7 September 2012
Template “concept relation” sets a SMW-subobject and template: concept queries these data to display them in a fact box.
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 the following strings:
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