|
16 | 16 | OWL-RL |
17 | 17 | ====== |
18 | 18 |
|
19 | | -A simple implementation of the OWL2 RL Profile, as well as a basic RDFS inference, on top of RDFLib. Based mechanical forward chaining. The distribution contains: |
| 19 | +A simple implementation of the OWL2 RL Profile, as well as a basic RDFS inference, on top of RDFLib, based on forward chaining. |
20 | 20 |
|
21 | | -**OWL-RL**: the Python library. You should copy the directory somewhere into your :code:`PYTHONPATH`. Alternatively, you can also run the :code:`python setup.py install` script in the directory. |
| 21 | +This package is a Python library that also contains a couple of scripts: |
22 | 22 |
|
23 | | -* :code:`scripts/RDFConvertService`: can be used as a CGI script to invoke the library. It may have to be adapted to the local server setup. |
| 23 | +* `scripts/RDFConvertService`: a CGI script to invoke the library. It may have to be adapted to the local server setup. |
24 | 24 |
|
25 | | -* :code:`scripts/owlrl`: script that can be run locally on to transform a file into RDF (on the standard output). Run the script with :code:`-h` to get the available flags. |
| 25 | +* `scripts/owlrl`: a script that can be run locally on to transform a file into RDF (on the standard output). Run the script with `-h` to get the available flags. |
26 | 26 |
|
27 | | -The package requires Python version 3.5 or higher; it depends on `RDFLib`_; version 4.2.2 or higher is required. If you need the python 2.7.x compatible version, see the @/py2 branch in this repository. |
| 27 | +Installation |
| 28 | +------------ |
28 | 29 |
|
29 | | -.. _RDFLib: https://github.com/RDFLib |
| 30 | +This package requires RDFLib 7.1.3 as its only dependency and it can be installed from the Python Package index in the usual way: |
30 | 31 |
|
31 | | -For the details on RDFS, see the `RDF Semantics Specification`_; for OWL 2 RL, see the `OWL 2 Profile specification`_. |
| 32 | +:: |
| 33 | + |
| 34 | + pip install owlrl |
| 35 | + |
| 36 | + |
| 37 | +or |
| 38 | + |
| 39 | +:: |
| 40 | + |
| 41 | + poetry add owlrl |
| 42 | + |
| 43 | + |
| 44 | +Use |
| 45 | +--- |
| 46 | + |
| 47 | +This package can run inference according to RDFS and/or OWL-RL. |
| 48 | + |
| 49 | +For details on RDFS, see the `RDF Semantics Specification`_; for OWL 2 RL, see the `OWL 2 Profile specification`_. |
32 | 50 |
|
33 | 51 | .. _RDF Semantics Specification: http://www.w3.org/TR/rdf11-mt/ |
34 | 52 | .. _OWL 2 Profile specification: http://www.w3.org/TR/owl2-profiles/#Reasoning_in_OWL_2_RL_and_RDF_Graphs_using_Rules |
35 | 53 |
|
36 | 54 | View the **OWL-RL documentation** online: http://owl-rl.readthedocs.io/ |
37 | 55 |
|
38 | | -To view the changelog for this software library, see `CHANGELOG.rst <CHANGELOG.rst>`_. |
39 | 56 |
|
| 57 | +License |
| 58 | +------- |
40 | 59 | This software is released under the W3C© SOFTWARE NOTICE AND LICENSE. See `LICENSE.txt <LICENSE.txt>`_. |
41 | 60 |
|
42 | 61 |
|
| 62 | +Support & Contacts |
| 63 | +------------------ |
| 64 | + |
| 65 | +For general "how do I..." queries, please use https://stackoverflow.com and tag your question with ``rdflib``. Existing questions: |
| 66 | + |
| 67 | +* https://stackoverflow.com/questions/tagged/rdflib |
| 68 | + |
| 69 | +If you want to contact the rdflib maintainers, please do so via: |
| 70 | + |
| 71 | +* the rdflib-dev mailing list: https://groups.google.com/group/rdflib-dev |
| 72 | +* the chat, which is available at `gitter <https://gitter.im/RDFLib/rdflib>`_ or via matrix `#RDFLib_rdflib:gitter.im <https://matrix.to/#/#RDFLib_rdflib:gitter.im>`_ |
| 73 | + |
| 74 | + |
| 75 | +Development |
| 76 | +----------- |
| 77 | + |
| 78 | +Changes |
| 79 | +~~~~~~~ |
| 80 | + |
| 81 | +To view the changelog for this software library, see `CHANGELOG.rst <CHANGELOG.rst>`_. |
| 82 | + |
43 | 83 | Release Procedure |
44 | | ------------------ |
| 84 | +~~~~~~~~~~~~~~~~~ |
45 | 85 |
|
46 | 86 | * update all the version numbers |
47 | | -* remove the current dist dir |
| 87 | + |
| 88 | + * pyproject.toml |
| 89 | + * README.rst |
| 90 | + |
| 91 | +* remove the current ``dist/`` dir |
48 | 92 | * build the new distribution |
49 | 93 | * test the metadata rendering |
50 | 94 | * test push it to PyPI |
|
0 commit comments