Metadata-Version: 2.4
Name: gds-owl
Version: 0.99.0
Summary: OWL/Turtle, SHACL, and SPARQL for gds-framework specifications
Project-URL: Homepage, https://github.com/BlockScience/gds-core
Project-URL: Repository, https://github.com/BlockScience/gds-core
Project-URL: Documentation, https://blockscience.github.io/gds-core
Author-email: Rohan Mehta <rohan@block.science>
License-Expression: Apache-2.0
Keywords: gds-framework,generalized-dynamical-systems,ontology,owl,rdf,shacl,sparql,turtle
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: Intended Audience :: Science/Research
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Topic :: Scientific/Engineering
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Typing :: Typed
Requires-Python: >=3.12
Requires-Dist: gds-interchange>=0.1.0
Provides-Extra: shacl
Requires-Dist: pyshacl>=0.27; extra == 'shacl'
Description-Content-Type: text/markdown

# gds-owl

OWL/Turtle, SHACL, and SPARQL for [gds-framework](https://github.com/BlockScience/gds-core) specifications.

Exports GDS models (GDSSpec, SystemIR, CanonicalGDS, VerificationReport) to RDF/OWL and provides bidirectional round-trip with Pydantic models.

## Install

```bash
pip install gds-owl

# With SHACL validation support
pip install gds-owl[shacl]
```

## Quick Start

```python
import gds
from gds_owl import spec_to_turtle, build_core_ontology

# Export a GDSSpec to Turtle
ttl = spec_to_turtle(my_spec)

# Get the GDS ontology (TBox)
ontology = build_core_ontology()
```
