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
+22-4Lines changed: 22 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -22,19 +22,37 @@ This is an extension to RDF and SPARQL that introduces 2 new datatypes, dozens o
22
22
23
23
**[See the website](https://w3id.org/rdf-tensor) for more details.**
24
24
25
+
## Editing the ontology
26
+
27
+
The vocabulary (datatypes, functions, aggregates) is authored in [LinkML](https://linkml.io/) YAML files in the `ontology/` directory. The published RDF artifacts (RDFS in Turtle, N-Triples, JSON-LD, RDF/XML, and [Jelly](https://w3id.org/jelly)) are generated from these sources.
28
+
29
+
To regenerate the published files locally you need two tools in your `PATH`:
30
+
31
+
-[`linkml-scala`](https://github.com/NeverBlink-OSS/linkml-scala) – generates RDFS from the LinkML sources.
32
+
-[`jelly-cli`](https://github.com/Jelly-RDF/cli) – converts between RDF serializations.
33
+
34
+
Then run, from the root of the repository:
35
+
36
+
```bash
37
+
bin/build_ontology.sh
38
+
```
39
+
40
+
The generated files are written to the `publish/` directory. CI runs the same script.
41
+
25
42
## Editing the documentation
26
43
27
44
1. Clone the repository: `git clone git@github.com:NeverBlink-OSS/rdf-tensor.git`
28
45
2. Create a new Python virtual environment using your favorite tool (e.g., [`venv`](https://docs.python.org/3/library/venv.html)).
29
46
3. Install the dependencies: `pip install -r requirements.txt`
30
-
4. Compile the docs and host them locally for testing: `mkdocs serve`
31
-
5. Whenever you make changes to the documentation pages (they reside in the `docs` directory), the docs will be automatically recompiled.
47
+
4. Generate the ontology files so the docs can embed them: `bin/build_ontology.sh` (see above).
48
+
5. Compile the docs and host them locally for testing: `mkdocs serve`
49
+
6. Whenever you make changes to the documentation pages (they reside in the `docs` directory), the docs will be automatically recompiled.
32
50
33
51
## Authors, licensing
34
52
35
-
The original SPARQL extension and implementation for Jena were done by **[Piotr Marciniak](https://github.com/cinekele)** – see the [original repository](https://github.com/RDF-tensor/jena-datatensor).
53
+
This repository is maintained and developed by **[NeverBlink](https://neverblink.eu)**.
36
54
37
-
The work is continued in this repository under the stewardship of [NeverBlink](https://neverblink.eu). The current maintainers are **[Piotr Sowiński (Ostrzyciel)](https://github.com/Ostrzyciel)**and **[Nik Kozlov](https://github.com/nk2ishere)**.
55
+
The original SPARQL extension and implementation for Jena were done by **[Piotr Marciniak](https://github.com/cinekele)**– see the [original repository](https://github.com/RDF-tensor/jena-datatensor).
38
56
39
57
This repository is licensed under [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0).
0 commit comments