Standard libray for visualising ontology in prescribed notation using plantUML.
The visual notation used in this standard library is below. Ontology visual notation
For using the standard notation for ontology, include ontologyv*.iuml
in your puml file
@startuml
!include https://raw.githubusercontent.com/iofoundry/ontopuml/main/ontologyv2.iuml
...
@enduml
For IOF specific styling, include iof.iuml
. Please see <> for creating custom styling
@startuml
!include https://raw.githubusercontent.com/iofoundry/ontopuml/main/iof.iuml
...
@enduml
Procedure class
takes two parameters.
- class variable that identifies the class throughout the screipt.
- IRI of the class
@startuml
!include https://raw.githubusercontent.com/iofoundry/ontopuml/main/iof.iuml
class(c1, "bfo:Quality")
@enduml
Procedure individual
takes two parameters.
- class variable that identifies the individual throughout the screipt.
- IRI of the individual
@startuml
!include https://raw.githubusercontent.com/iofoundry/ontopuml/main/iof.iuml
individual(o1, "ns1:temperature1")
@enduml
Procedure instanceOf
takes two parameters.
- class variable that is the type of the individual
- individual variable that has type (
rdf:type
) the class
@startuml
!include https://raw.githubusercontent.com/iofoundry/ontopuml/main/iof.iuml
class(c1, "bfo:Quality")
individual(o1, "ns1:temperature1")
instanceOf(o1, c1)
@enduml