Template:Draw graphviz concept relation

From TDWG Terms Wiki
Revision as of 17:35, 9 January 2013 by Andreas Plank (Talk | contribs) (Created page with "<includeonly><!-- relation: subproperty or subclass -->{{#vardefine:relation|{{#switch:{{LC:{{{relation|subproperty}}}}}|subclass=subclass|subproperty|#default=subproperty}...")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
[edit] [purge] Template-info.svg Template documentation

This template creates a graph of concepts. The graph displays either subproperties or subclasses with using Extension:GraphViz.

Usage

It has 2 parameters:

  • relation (optional: what type of ontology relation)
  • concept (optional: which concept page)
{{Draw graphviz concept relation}}
→ displays rdfs:subPropertyOf of the present PAGENAME
{{Draw graphviz concept relation|relation=subclass}}
→ displays rdfs:subClassOf
{{Draw graphviz concept relation|relation=subproperty}}
→ displays rdfs:subPropertyOf
{{Draw graphviz concept relation|concept=skos:note}}
→ displays skos:note, not the PAGENAME