rdflib-reasoning 0.1.0.post1.dev83__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,13 @@
1
+ """Namespace package for rdflib-reasoning subpackages."""
2
+
3
+ from pkgutil import extend_path
4
+
5
+ # extend_path prevents the metapackage from exclusively owning the namespace by
6
+ # widening the package’s search path to include sibling contributions. It is
7
+ # basically the older explicit-namespace mechanism that predates
8
+ # PEP 420 implicit namespaces.
9
+ #
10
+ # We're using is to that we can attach metadata and documentation to the
11
+ # root namespace as-needed. Each of the subprojects would be unable to do that
12
+ # without accidentally "claiming" the root namespace.
13
+ __path__ = extend_path(__path__, __name__)
File without changes
@@ -0,0 +1,178 @@
1
+ Metadata-Version: 2.4
2
+ Name: rdflib-reasoning
3
+ Version: 0.1.0.post1.dev83
4
+ Summary: Axiomatization of graphs for RDFLib
5
+ License: MIT License
6
+
7
+ Copyright (c) 2026 rdflib-reasoning contributors
8
+
9
+ Permission is hereby granted, free of charge, to any person obtaining a copy
10
+ of this software and associated documentation files (the "Software"), to deal
11
+ in the Software without restriction, including without limitation the rights
12
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
13
+ copies of the Software, and to permit persons to whom the Software is
14
+ furnished to do so, subject to the following conditions:
15
+
16
+ The above copyright notice and this permission notice shall be included in all
17
+ copies or substantial portions of the Software.
18
+
19
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
20
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
21
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
22
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
23
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
24
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
25
+ SOFTWARE.
26
+ License-File: LICENSE
27
+ Requires-Python: >=3.14
28
+ Requires-Dist: rdflib
29
+ Requires-Dist: rdflib-reasoning-axioms
30
+ Requires-Dist: rdflib-reasoning-engine
31
+ Requires-Dist: rdflib-reasoning-middleware
32
+ Provides-Extra: dev
33
+ Requires-Dist: beautifulsoup4; extra == 'dev'
34
+ Requires-Dist: build; extra == 'dev'
35
+ Requires-Dist: mypy; extra == 'dev'
36
+ Requires-Dist: myst-parser; extra == 'dev'
37
+ Requires-Dist: pip-audit; extra == 'dev'
38
+ Requires-Dist: pre-commit; extra == 'dev'
39
+ Requires-Dist: pytest; extra == 'dev'
40
+ Requires-Dist: pytest-cov; extra == 'dev'
41
+ Requires-Dist: rdflib-reasoning-axioms[dev]; extra == 'dev'
42
+ Requires-Dist: rdflib-reasoning-engine[dev]; extra == 'dev'
43
+ Requires-Dist: rdflib-reasoning-middleware[dev]; extra == 'dev'
44
+ Requires-Dist: ruff; extra == 'dev'
45
+ Requires-Dist: sphinx; extra == 'dev'
46
+ Requires-Dist: sphinx-autoapi; extra == 'dev'
47
+ Requires-Dist: twine; extra == 'dev'
48
+ Provides-Extra: research
49
+ Requires-Dist: ipykernel; extra == 'research'
50
+ Requires-Dist: jupyter; extra == 'research'
51
+ Requires-Dist: rdflib-reasoning-middleware[notebook]; extra == 'research'
52
+ Description-Content-Type: text/markdown
53
+
54
+ # rdflib-reasoning
55
+
56
+ [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
57
+ [![Project Status: WIP – Initial development is in progress, but there has not yet been a stable, usable release suitable for the public.](https://www.repostatus.org/badges/latest/wip.svg)](https://www.repostatus.org/#wip)
58
+
59
+ [![PyPI Version](https://img.shields.io/pypi/v/rdflib-reasoning.svg)](https://pypi.org/project/rdflib-reasoning/)
60
+ ![PyPI - Python Version](https://img.shields.io/pypi/pyversions/rdflib-reasoning)
61
+
62
+ [![Coverage](https://raw.githubusercontent.com/kvjrhall/rdflib-reasoning/python-coverage-comment-action-data/badge.svg)](https://github.com/kvjrhall/rdflib-reasoning/tree/python-coverage-comment-action-data)
63
+
64
+ `rdflib-reasoning` is a monorepo for Python packages and notebooks used to study how tool-grounded Research Agents interact with RDF graphs and formal reasoning systems.
65
+
66
+ The repository is organized around one practical research question:
67
+
68
+ > When do tool-grounded Research Agent harnesses outperform direct prompting on multi-step formal reasoning tasks that require external knowledge retrieval, knowledge-base updates, and verifiable inference?
69
+
70
+ ## Reviewer Guide
71
+
72
+ If you are reviewing this repository quickly, start here:
73
+
74
+ 1. Read this file for the repository layout and install paths.
75
+ 2. Read [docs/dev/architecture.md](./docs/dev/architecture.md) for the current technical direction.
76
+ 3. Inspect [rdflib-reasoning-engine](./rdflib-reasoning-engine/) for the reasoning core.
77
+ 4. Inspect [rdflib-reasoning-middleware](./rdflib-reasoning-middleware/) for Research Agent integration.
78
+ 5. Inspect [notebooks](./notebooks/) for the research surface and experiments.
79
+
80
+ ## Repository Roles
81
+
82
+ This repository distinguishes between two agent types. Canonical definitions are in [AGENTS.md](./AGENTS.md).
83
+
84
+ - **Research Agent**: The deployed or runtime agent that is the subject of research. It sees middleware, tools, system prompts, and generated schema; it does not see the repository or design documentation.
85
+ - **Development Agent**: The code agent that reads repository documentation, modifies code and docs, and develops code for the Research Agent.
86
+
87
+ ## Repository Layout
88
+
89
+ | Path | Purpose |
90
+ | --- | --- |
91
+ | [notebooks](./notebooks/) | Analysis notebooks and research experiments |
92
+ | [rdflib-reasoning-axioms](./rdflib-reasoning-axioms/) | Graph axiomatization primitives |
93
+ | [rdflib-reasoning-engine](./rdflib-reasoning-engine/) | RETE-based RDFS and OWL 2 RL entailment |
94
+ | [rdflib-reasoning-middleware](./rdflib-reasoning-middleware/) | Middleware and Research Agent-facing data interchange |
95
+ | [docs/dev](./docs/dev/) | Architecture notes, decision records, and development guidance |
96
+ | [docs/specs](./docs/specs/) | Cached specifications optimized for development work |
97
+
98
+ API and developer documentation can be generated locally with `make docs` and served from the
99
+ generated HTML output with `make docs-serve`.
100
+
101
+ ## Component Overview
102
+
103
+ Research on agents takes place in [Analysis Notebooks](./notebooks/), uses the [LangChain ecosystem](https://www.langchain.com/), and depends on packages defined in this repository. Those packages build on [RDFLib](https://github.com/RDFLib/rdflib) for semantic-web support and on [Pydantic](https://docs.pydantic.dev/latest/) for Research Agent-friendly schemas.
104
+
105
+ ```mermaid
106
+ ---
107
+ config:
108
+ theme: 'base'
109
+ ---
110
+ block-beta
111
+ columns 3
112
+ Notebooks("Analysis Notebooks"):3
113
+ Deepagents:1 ReasoningMiddleware["rdflib-reasoning-middleware"]:2
114
+ LangGraph:2
115
+ block:RdflibAbstraction:1
116
+ columns 1
117
+ Reasoning["rdflib-reasoning-engine"]:1
118
+ Axioms["rdflib-reasoning-axioms"]:1
119
+ end
120
+ LangChain:2 RDFLib:1
121
+
122
+ %% Agent Note: The remainder of this block is styling for humans and can be ignored
123
+
124
+ classDef Research fill:#fdb462,stroke:black
125
+ class Notebooks Research
126
+
127
+ classDef LangChainEcosystem fill:#80b1d3,stroke:blue
128
+ class Deepagents,LangGraph,LangChain LangChainEcosystem
129
+
130
+ classDef SupportingPackage fill:#b3de69,stroke:black
131
+ class ReasoningMiddleware,Reasoning,Axioms SupportingPackage
132
+
133
+ classDef SemanticWeb fill:#ccebc5,stroke:darkgreen
134
+ class RDFLib SemanticWeb
135
+ ```
136
+
137
+ ## Installation
138
+
139
+ Development in this repository is expected to use the `rdflib-reasoning` conda environment.
140
+
141
+ Base install:
142
+
143
+ ```sh
144
+ pip install -e .
145
+ ```
146
+
147
+ Developer tooling:
148
+
149
+ ```sh
150
+ pip install -e .[dev]
151
+ ```
152
+
153
+ Notebook and research tooling:
154
+
155
+ ```sh
156
+ pip install -e .[research]
157
+ ```
158
+
159
+ Full local workspace:
160
+
161
+ ```sh
162
+ pip install -e .[dev,research]
163
+ ```
164
+
165
+ If you use `uv`, the equivalent commands are:
166
+
167
+ ```sh
168
+ uv sync
169
+ uv sync --extra dev
170
+ uv sync --extra research
171
+ uv sync --extra dev --extra research
172
+ ```
173
+
174
+ The root `Makefile` wraps those commands with `install`, `install-dev`, `install-research`, `install-all`, and `notebook`.
175
+
176
+ ## Why This Repository Exists
177
+
178
+ RDFLib does not by itself provide a clean path for graph axiomatization, Research Agent-oriented schema exposure, and inspectable reasoning workflows. This repository packages those concerns into reusable libraries and research notebooks so that formal-logic experiments with agents are easier to build, evaluate, and explain.
@@ -0,0 +1,6 @@
1
+ rdflib_reasoning/__init__.py,sha256=Yzx4y_UMhIfzT-oM-HrJ5pnqUbplQS22re0WH93Vuqs,598
2
+ rdflib_reasoning/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
3
+ rdflib_reasoning-0.1.0.post1.dev83.dist-info/METADATA,sha256=DYQWtlCHyXdVfTw_96NWDGl8cGr-1_ovCr1b35W53bk,7624
4
+ rdflib_reasoning-0.1.0.post1.dev83.dist-info/WHEEL,sha256=QccIxa26bgl1E6uMy58deGWi-0aeIkkangHcxk2kWfw,87
5
+ rdflib_reasoning-0.1.0.post1.dev83.dist-info/licenses/LICENSE,sha256=upc972J0_dn59AJkQawFX-Ns0GTz2VF346YIWp5exhw,1086
6
+ rdflib_reasoning-0.1.0.post1.dev83.dist-info/RECORD,,
@@ -0,0 +1,4 @@
1
+ Wheel-Version: 1.0
2
+ Generator: hatchling 1.29.0
3
+ Root-Is-Purelib: true
4
+ Tag: py3-none-any
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 rdflib-reasoning contributors
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.