Difference between revisions of "Template:Draw graphviz concept relation/doc"

From TDWG Terms Wiki
Jump to: navigation, search
(Created page with "{{Documentation/subpage}} This template creates a graph of concepts. The graph displays either subproperties or subclasses with using [http://www.mediawiki.org/wiki/Extension:...")
 
m (Andreas Plank moved page Template:Draw graphviz relation/doc to Template:Draw graphviz concept relation/doc without leaving a redirect: more precise)
(No difference)

Revision as of 18:44, 9 January 2013

This is a documentation subpage for Template:Draw graphviz 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.

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