| name | ontology |
| description | Manage ontology schemas, concepts, relationships, and alignments for VeritasReason knowledge graphs. |
/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.