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

From TDWG Terms Wiki
Jump to: navigation, search
m (Andreas Plank moved page Template:Draw graphviz relation/doc to Template:Draw graphviz concept relation/doc without leaving a redirect: more precise)
m
 
Line 13: Line 13:
 
  <nowiki>{{</nowiki>{{#titleparts:{{PAGENAME}}|1}}|concept=skos:note}}
 
  <nowiki>{{</nowiki>{{#titleparts:{{PAGENAME}}|1}}|concept=skos:note}}
 
  → displays [[property: skos:note |skos:note]], not the PAGENAME
 
  → displays [[property: skos:note |skos:note]], not the PAGENAME
 
+
{{Draw graphviz concept relation|concept=skos:note}}
 
<includeonly>
 
<includeonly>
 
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
 
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
 
[[Category: Helper tool for ontologies]]
 
[[Category: Helper tool for ontologies]]
 
</includeonly>
 
</includeonly>

Latest revision as of 20:02, 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