Check whether a term with a curie has been defined.
List the prefixes used by the vocabulary
Promote an unknown term to a datatype. This is necessary when a term is used, e.g., in a range or domain, before it is defined.
(Currently unused in the package.)
Create or retrieve an term. When created, the term is initially considered as an unknown term.
Does the system really use a predefined prefix?
StaticequalsStaticincludesDoes a curie identify a term in a list of terms.
StaticincludesStaticisStaticisStaticisTypeguard for individuals.
(Currently unused in the package.)
StaticisStaticis
A factory object for the creation of RDF Terms.
The main reason for using this factory is that fact that some terms may be used before they are formally defined. The factory will create a term with the minimal information needed, and then promote it to a class, property, etc., when defined.
Also: some terms refer to internal terms, i.e., defined by the input yml file, and some refer to external terms, i.e., defined by external ontologies. The factory will put in the correct properties, used by the generator functions to HTML, Turtle, or JSON-LD.
Terms are stored in an internal map, indexed by their curie. The curie is used even if the term is defined locally; the general prefix of the vocabulary (defined in the yml file) is used for that purpose.
Note that the factory includes some methods that are not (yet?) used in the package. They are included for possible future use.