API

ontolutils.classes.thing.Thing(*, id, label, ...)

Most basic concept class owl:Thing (see also https://www.w3.org/TR/owl-guide/)

ontolutils.classes.thing.Thing.from_jsonld([...])

Initialize the class from a JSON-LD source

ontolutils.classes.thing.Thing.get_jsonld_dict([...])

Return the JSON-LD dictionary of the object.

ontolutils.classes.thing.Thing.model_dump_jsonld([...])

Similar to model_dump_json() but will return a JSON string with context resulting in a JSON-LD serialization.

ontolutils.classes.thing.Thing.iri([key, ...])

Return the IRI of the class or the key

ontolutils.classes.thing.Thing.namespaces

Return the namespaces of the class

ontolutils.classes.thing.Thing.urirefs

Return the urirefs of the class

ontolutils.classes.thing.Thing.get_context()

Return the context of the class