You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+29-16Lines changed: 29 additions & 16 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,9 +2,36 @@
2
2
3
3
`ontoenv` is an environment manager for ontology management. It eventually wants to be a package manager for RDF ontologies and graphs.
4
4
5
+
- A CLI tool (`cargo install ontoenv-cli`)
6
+
-`ontoenv`, a [Rust library](https://docs.rs/ontoenv/latest/ontoenv/)
7
+
-`pyontoenv`, a [Python library](https://pypi.org/project/pyontoenv/)
8
+
5
9
## Overview
6
10
7
-
Imagine you have an RDF graph which imports
11
+
Imagine you have an RDF graph which imports some ontologies in order to use those concepts.
12
+
Those ontologies might in import other ontologies, and so on.
13
+
14
+
The design goals of this project are:
15
+
-**be lightweight**: big fancy ontology tools will handle ontology imports automatically, but do so within a heavyweight GUI and usually without an easy-to-use API; I wanted something that could be used in a Python library or a command line tool
16
+
-**configurable**: when doing ontology development, I want to refer to some files locally, and others on the web; I want to be able to control which files are included and which are not.
17
+
-**fast**: I want to be able to quickly refresh my workspace when I make changes to local files.
18
+
19
+
## How does it work?
20
+
21
+
Specifically, `ontoenv` looks for patterns like the following inside local ontology files:
When initialized, `ontoenv` searches for all local files defining ontologies, identifies their dependencies, and then recursively pulls in those dependencies, *their* dependencies, and so on.
34
+
It saves this in a local [Oxigraph](https://github.com/oxigraph/oxigraph) database inside the local `.ontoenv`.
8
35
9
36
## Command Line Interface
10
37
@@ -23,21 +50,7 @@ Begin by initializing an `ontoenv` workspace in a directory containing some onto
23
50
ontoenv init
24
51
```
25
52
26
-
This may take a couple minutes. `ontoenv` searches for all local files defining ontologies, identifies their dependencies, and then recursively pulls in those dependencies, *their* dependencies, and so on.
27
-
28
-
Specifically, `ontoenv` looks for patterns like the following inside local ontology files:
It is possible to adjust which directories `ontoenv` searches for, which files it traverses, and whether it pulls ontologies from the web.
53
+
This may take a couple minutes. `ontoenv` searches for all local files defining ontologies, identifies their dependencies, and then recursively pulls in those dependencies, *their* dependencies, and so on. It is possible to adjust which directories `ontoenv` searches for, which files it traverses, and whether it pulls ontologies from the web.
0 commit comments