
OWL (Web Ontology Language)
Enables AI systems to read, write, and modify Web Ontology Language (OWL) files by adding, removing, and searching axioms using functional syntax.
What it does
- Add axioms to OWL ontologies
- Remove axioms from OWL files
- Search axioms by pattern matching
- Configure and manage multiple ontologies
- Extract ontology metadata
- Add prefix mappings
Best for
Tools (19)
Add an axiom to the ontology using OWL functional syntax. Args: owl_file_path: Absolute path to the OWL file axiom_str: String representation of the axiom in OWL functional syntax e.g., "SubClassOf(:Dog :Animal)" Returns: str: Success message or error
Adds a list of axioms to the ontology, using OWL functional syntax. Args: owl_file_path: Absolute path to the OWL file axiom_strs: List of string representation of the axiom in OWL functional syntax e.g., ["SubClassOf(:Dog :Animal)", ...] Returns: str: Success message or error
Remove an axiom from the ontology using OWL functional syntax. Args: owl_file_path: Absolute path to the OWL file axiom_str: String representation of the axiom in OWL functional syntax Returns: str: Success message or error
Find axioms matching a pattern in the ontology. Args: owl_file_path: Absolute path to the OWL file pattern: A string pattern to match against axiom strings (simple substring matching) limit: (int) Maximum number of axioms to return (default: 100) include_labels: If True, include human-readable labels after ## in the output annotation_property: Optional annotation property IRI to use for labels (defaults to rdfs:label) Returns: list[str]: List of matching axiom strings
Get all axioms in the ontology as strings. Args: owl_file_path: Absolute path to the OWL file limit: Maximum number of axioms to return (default: 100) include_labels: If True, include human-readable labels after ## in the output annotation_property: Optional annotation property IRI to use for labels (defaults to rdfs:label) Returns: list[str]: List of all axiom strings