Ontology

Manage ontology schemas, concepts, relationships, and alignments for VeritasReason knowledge graphs.

bibinprathap Updated

File contents

/veritasreason:ontology

Manage ontology definitions and validation. Usage: /veritasreason:ontology <task> [args]

$ARGUMENTS = task + optional ontology item or schema file.


describe <concept>

Show ontology concept details.

from veritasreason.ontology import OntologyManager

manager = OntologyManager()
concept = manager.get_concept(concept_name)

Output: properties, relationships, inherited types, and examples.


validate [--schema <file>]

Validate the graph or schema against the ontology.

result = manager.validate_graph(graph=graph, schema_file=schema_file)

Return: validation status, errors, and correction suggestions.

bibinprathap/VeritasGraph/tree/main/veritas-reason/plugins/skills/ontology commit 3c89650e6c

Frequently asked questions

npx skillmds@latest add bibinprathap/ontology