Template:Property used in ontologies/doc

From Species-ID
Jump to: navigation, search
This is a documentation subpage for Template:Property used in ontologies (see that page for the template itself).
It contains usage information, categories and other content that is not part of the original template page.

Usage

 


A template to display property the definition. Parameters are:

  • label
  • definition
  • collection
  • remarks
  • namespace code, term identifier (old: full URI/short URI; namespace code assumes an SMW import, e.g using an permanent URL)
  • example

  • values → allowed multiple values separated by comma (,): one, two, three
  • type (imported from is forced by namespace code + term identifier)
  • subproperty
  • see also
  • category

Relations see template mapping.

Technical documentation

If a “namespace code” is provided, there must be a corresponding SMW-import page.

Example petal from plant ontology
http://purl.org/obo/owl/PO#PO_0009032  (“full URI”)
      namespace URI   ↗         ↑
      namespace code     term identifier
                      ↘         ↓
                        PO:PO_0009032 (“short URI”)
                        │
┌─ MediaWiki:SMW_import_PO ─────────────────────┐ (import documentation)
│ base-url-of-term-definition|documentation-url │
│ term1|data-type                               │
│ term2|data-type                               │
│ term3|data-type                               │
└───────────────────────────────────────────────┘
Example “species aggregate” from GBIF rank
http://rs.gbif.org/vocabulary/gbif/rank/speciesAggregate  (“full URI”)
              namespace URI  ↗                 ↑
              namespace code           term identifier
                             ↘                 ↓
                             gbif-rank:speciesAggregate (“short URI”)
                                  │
┌────── MediaWiki:SMW_import_gbif-rank ─────────┐ (import documentation)
│ base-url-of-term-definition|documentation-url │
│ term1|data-type                               │
│ term2|data-type                               │
│ term3|data-type                               │
└───────────────────────────────────────────────┘