fuzzy_dl_owl2.fuzzyowl2.util

UML Class Diagram for fuzzy_dl_owl2.fuzzyowl2.util

UML Class Diagram for fuzzy_dl_owl2.fuzzyowl2.util

Foundational utilities support the parsing, construction, and canonical ordering of FuzzyOWL2 and fuzzy-DL logic.

Description

A standardized type system and vocabulary are established through enumerations that map fuzzy logic constructs and language keywords to parsing definitions, ensuring consistent interpretation of semantics and supporting grammar validation. Programmatic generation of ontology elements is facilitated by a factory mechanism that builds XML nodes conforming to the FuzzyOWL2 specification, automatically handling attributes and metadata while converting element trees into formatted strings. To maintain structural integrity, a sorting mechanism enforces a canonical hierarchy on fuzzy-DL statements by ranking commands based on regular expressions derived from the reference manual, thereby organizing concept definitions and role properties into a specific sequence. These components collectively abstract the complexities of syntax validation, serialization, and code organization, providing a robust infrastructure for processing fuzzy logic ontologies.

Modules

  • [fuzzy_dl_owl2.fuzzyowl2.util.constants] — Centralizes the definition of fuzzy concept types and parsing keywords for the FuzzyOWL2 framework.

  • [fuzzy_dl_owl2.fuzzyowl2.util.fuzzy_xml] — A utility builder class that programmatically constructs XML elements conforming to the FuzzyOWL2 ontology specification.

  • [fuzzy_dl_owl2.fuzzyowl2.util.sort_dl_lines] — Sorts fuzzy-DL statements according to a specific syntax hierarchy derived from the official language documentation.

Submodules