Metadata-Version: 2.4
Name: websemantic
Version: 0.2.5
Summary: Software-agnostic semantic layer from intent to qualified simulated data (research prototype)
Author: Cyril Voyant
License-Expression: PolyForm-Noncommercial-1.0.0
Project-URL: Homepage, https://www.cyrilvoyant.com
Project-URL: Repository, https://github.com/cyrilvoyant/websemantic
Project-URL: Documentation, https://github.com/cyrilvoyant/websemantic#readme
Project-URL: Ontology, https://w3id.org/websemantic/ns
Project-URL: DOI, https://doi.org/10.5281/zenodo.23238902
Keywords: semantic web,scientific software,large language models,ontology,SHACL,provenance,FAIR
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Science/Research
Classifier: Programming Language :: Python :: 3
Classifier: Topic :: Scientific/Engineering
Requires-Python: >=3.10
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: pydantic>=2.6
Requires-Dist: pyyaml>=6.0
Requires-Dist: rdflib>=7.0
Requires-Dist: pyshacl>=0.26
Requires-Dist: packaging>=24
Provides-Extra: tls
Requires-Dist: numpy>=1.24; extra == "tls"
Requires-Dist: pandas>=2.0; extra == "tls"
Provides-Extra: backends
Requires-Dist: numpy>=1.24; extra == "backends"
Requires-Dist: pandas>=2.0; extra == "backends"
Provides-Extra: atmosphere
Requires-Dist: numpy; extra == "atmosphere"
Requires-Dist: scipy; extra == "atmosphere"
Requires-Dist: pandas; extra == "atmosphere"
Requires-Dist: polars; extra == "atmosphere"
Requires-Dist: xarray; extra == "atmosphere"
Requires-Dist: netcdf4; extra == "atmosphere"
Requires-Dist: setuptools; extra == "atmosphere"
Requires-Dist: jax==0.11.2; extra == "atmosphere"
Requires-Dist: diffrax==0.7.2; extra == "atmosphere"
Requires-Dist: equinox==0.13.8; extra == "atmosphere"
Requires-Dist: optimistix==0.1.0; extra == "atmosphere"
Provides-Extra: llm
Provides-Extra: dev
Requires-Dist: pytest>=8; extra == "dev"
Requires-Dist: ruff>=0.6; extra == "dev"
Requires-Dist: jsonschema>=4.18; extra == "dev"
Dynamic: license-file

# WebSemantic

Software-agnostic semantic layer for scientific codes (research prototype). One descriptor per code is compiled into
three documents: a readable contract for language models, an ontology with SHACL rules, and FAIR metadata. A
deterministic validator checks the scenario a model proposes (values, units, origins, acceptances) before the
unchanged code runs, and the outputs are stored with quantity, unit, origin, provenance and validity limits.

This package provides the Python layer: validation gate, adapters, semantic tools and command-line entry point. The
descriptors, ontology, contracts and the pinned scientific codes (TLS, LQL-Equiv, pyrcel) live in the repository;
full use requires a clone with its submodules.

- Repository and documentation: https://github.com/cyrilvoyant/websemantic
- Ontology (persistent namespace): https://w3id.org/websemantic/ns
- Concept DOI (all versions): https://doi.org/10.5281/zenodo.23238902
- Licence: PolyForm Noncommercial 1.0.0
