Papers
Topics
Authors
Recent
Search
2000 character limit reached

TIO-SHACL: Comprehensive SHACL validation for TMF Intent Ontologies

Published 30 Apr 2026 in cs.AI and cs.CL | (2604.27359v1)

Abstract: Intent-based networking promises to revolutionize telecommunications network management by enabling operators to specify high-level goals rather than low-level configurations. The TM Forum Intent Ontology (tio) provides a standardized vocabulary for expressing network intents, yet lacks formal validation mechanisms to ensure intent correctness before its admission. We present tio-shacl, the first comprehensive SHACL (Shapes Constraint Language) validation framework for the TMF Intent Ontology. Our contribution includes 56 node shapes and 69 property shapes across all 15 tio v3.6.0 ontology modules, a reusable constraint library with 25 parameterized SPARQL-based constraint components, and novel validation patterns for recursive logical operators, quantity-based constraints, and cross-expectation relationships. We pursued 100% vocabulary coverage (87 classes, 109 properties, 72 functions), cross-implementation compatibility across three major SHACL engines, and validation accuracy on a corpus of 133 test cases. tio-shacl is publicly available under MIT license at https://github.com/EricssonResearch/tio-shacl and enables automated syntactic and semantic validation of network intents, addressing a critical gap in the field.

Summary

  • The paper introduces TIO-SHACL, a framework that comprehensively validates TMF Intent Ontologies using SHACL to enforce both structural and semantic correctness.
  • It demonstrates complete coverage with 133 test cases and 100% validation accuracy across multiple SHACL engines, ensuring robust interoperability.
  • The methodology leverages parameterized SPARQL constraints, mixin extensions, and test-driven development to support scalable, open-source ontology validation.

Comprehensive SHACL Validation for TMF Intent Ontologies: An Authoritative Overview

Intent-Based Networking and the TMF Intent Ontology

Intent-based networking (IBN) has emerged as a pivotal mechanism for transforming network management through abstraction, enabling operators to articulate desired outcomes, such as service reliability or performance targets, instead of manipulating intricate device-level settings. The TM Forum's Intent Ontology (TIO) standardizes semantic constructs for expressing these intents—encapsulating 87 classes and 109 properties across 15 modules—yet previously lacked formal mechanisms for validating intent expressions with syntactic and semantic precision. This deficiency permitted structurally correct but semantically erroneous RDF, which could propagate through intent handlers and impede vendor interoperability.

SHACL and Its Role in Semantic Validation

The Shapes Constraint Language (SHACL) is the W3C-standardized approach for validating RDF graphs, furnishing expressive constraints through node shapes, property shapes, and advanced SPARQL-based mechanisms. SHACL's relevance to TIO is twofold: enforcing explicit structural requirements and capturing nuanced domain semantics (e.g., nested logical operators, quantity relationships, and function arity/type correctness) that are crucial for operationalizing intent-driven automation.

Contributions of TIO-SHACL

TIO-SHACL offers a comprehensive SHACL validation framework for TIO v3.6.0, addressing the critical gap in standardized intent validation. Notable contributions include:

  • Complete Coverage: 56 node shapes and 69 property shapes, encompassing all TIO modules, classes, properties, and functions.
  • Reusable Constraint Library: 25 parameterized SPARQL constraint components with 3 custom target types, supporting scalable and maintainable validation.
  • Novel Validation Patterns: New SHACL patterns tackle recursive logical operators (e.g., log:allOf, log:anyOf), quantity-based constraints with unit handling, and cross-expectation relationships.
  • Empirical Evaluation: 133 test cases (balanced between valid and invalid examples) establish 100% vocabulary coverage and validation accuracy, with cross-compatibility across pySHACL, TopBraid SHACL, and Apache Jena engines.
  • Open Source Accessibility: TIO-SHACL and its tooling are available under the MIT license, promoting reproducibility and community adoption.

Shape Architecture and Validation Methodology

The TIO-SHACL design adheres to four principles: completeness, modularity, standards compliance, and actionability. Test-driven development is central—each update or addition precipitates regression tests, limiting manual specification tracking and expediting adaptation to evolving TIO versions.

Distinct architectural decisions strengthen practical utility:

  • Mixin Extensions: Instead of modifying the TIO baseline, semantic extensions via rdfs:subClassOf clarify validation requirements (e.g., BooleanFunction, Evaluable, Actionable).
  • Parameterized Constraints: One generic constraint for function arity validation suffices for all 72+ TIO functions, ensuring efficient maintainability and extensibility.
  • Positive Validation: Distinguishing allowed operand types through mixins obviates brittle negative checks, supporting future-proof ontology evolution.

Advanced SHACL features—including SPARQL-based constraints, target types, and constraint components—address expressive gaps and enable validation patterns not possible with SHACL-Core alone. For instance, recursively traversing nested RDF lists for logical function arguments, validating cross-type relationships, and vocabulary "spell-checking" (catching undeclared properties or typos) are crucial for semantic correctness.

Empirical Results and Numerical Evidence

TIO-SHACL delivers strong quantitative outcomes:

  • 100% Coverage and Accuracy: All 87 classes, 109 properties, and 72 functions of TIO v3.6.0 are exercised and validated. All 133 test cases yield expected results—precision and recall are thus empirically maximized.
  • Cross-Implementation Agreement: After ensuring explicit rdf:type declarations, all three SHACL validators (pySHACL, TopBraid SHACL, Apache Jena) achieve 100% conformance agreement across test suites.
  • Performance Benchmarking: Apache Jena demonstrates superior validation speed (4.2x faster than pySHACL, 1.3x faster than TopBraid). SHACL Advanced Features incur negligible overhead, establishing their utility for maintainable modularization.

Practical and Theoretical Implications

The introduction of TIO-SHACL addresses a critical operational gap in IBN and autonomous networking, bridging syntactic and semantic validation for complex intent expressions. Automated validation ensures intent portability across vendors, enhances error transparency, and expedites onboarding and evolution of intent-driven workflows.

The modular and parameterized constraint architecture is generalizable, applicable not only to telecom intent ontologies but also to other domain-specific ontologies requiring rich semantic validation. The test-driven, extension-friendly methodology supports sustainable development as TIO and similar standards evolve.

Theoretically, TIO-SHACL highlights the importance of formal semantic validation in knowledge-driven network automation, demonstrating the necessity of advanced constraint languages (and their implementations) for enabling robust, interoperable applications in semantic web and autonomous systems.

Future Directions

  • Extension to Additional Ontologies: Similar SHACL validation frameworks could be developed for other domain ontologies to enforce semantic correctness at scale.
  • Integration with Network Automation Pipelines: Embedding TIO-SHACL in operational pipelines can ensure intent correctness upon ingress, fostering closed-loop assurance.
  • Enhanced Reasoning Capabilities: Future work may explore inference-based validation or integration with OWL and other semantic web standards.
  • Performance Optimization: Investigation into SHACL engine optimization or parallelization can further increase validation throughput for large-scale deployments.

Conclusion

TIO-SHACL establishes the first comprehensive, modular, and empirically validated SHACL framework for TMF Intent Ontologies, enabling both syntactic and semantic validation of network intents and facilitating adoption of RDF-based intent-driven automation in telecommunications. By leveraging positive validation principles, mixin extensions, and parameterized constraints, TIO-SHACL embodies scalable ontology validation methodology with strong empirical evidence for accuracy, coverage, and performance (2604.27359).

Paper to Video (Beta)

No one has generated a video about this paper yet.

Whiteboard

No one has generated a whiteboard explanation for this paper yet.

Open Problems

We haven't generated a list of open problems mentioned in this paper yet.

Collections

Sign up for free to add this paper to one or more collections.