Skip to content

Commit

Permalink
Merge pull request #55 from EKGF/master
Browse files Browse the repository at this point in the history
Fix issue #53 and upgrade rdflib
  • Loading branch information
nicholascar authored Jun 16, 2024
2 parents ed3f1b5 + d53a1c9 commit 933abdb
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 13 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ v.6.0.2 - October, 2021
~~~~~~~~~~~~~~~~~~~~~~~
Changes:

* works with rdflib >= 6.0.2
* works with rdflib >= 6.2.0
* replaces owl namespace element lists with those of rdflib (OWL, RDF, RDFS, XSD)

v5.2.3
Expand Down
2 changes: 1 addition & 1 deletion Doc_OLD/RDFClosure.Closure-module.html
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ <h1 class="epydoc">Module Closure</h1><p class="nomargin-top"><span class="codel
<hr />
<div class="fields"> <p><strong>Requires:</strong>
<a href="https://github.com/RDFLib/rdflib"
target="_top">RDFLib</a>, 4.0.0 and higher
target="_top">RDFLib</a>, 6.2.0 and higher
</p>
<p><strong>License:</strong>
This software is available for use under the <a
Expand Down
8 changes: 0 additions & 8 deletions docs/source/OWLRL.rst

This file was deleted.

4 changes: 2 additions & 2 deletions owlrl/OWLRLExtras.py
Original file line number Diff line number Diff line change
Expand Up @@ -351,8 +351,8 @@ class for further details.
to_be_removed.add((RDFS.Class, RDFS.subClassOf, OWL.Class))
to_be_removed.add((RDFS.Datatype, RDFS.subClassOf, OWL.DataRange))
to_be_removed.add((RDFS.Datatype, OWL.equivalentClass, OWL.DataRange))
to_be_removed.add((OWL.DataRange, RDFS.subClassOf, OWL.Datatype))
to_be_removed.add((OWL.DataRange, OWL.equivalentClass, OWL.Datatype))
to_be_removed.add((OWL.DataRange, RDFS.subClassOf, OWL.DatatypeProperty))
to_be_removed.add((OWL.DataRange, OWL.equivalentClass, OWL.DatatypeProperty))

for t in to_be_removed:
self.graph.remove(t)
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
rdflib>=6.0.2
rdflib>=6.2.0
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ def open_local(paths, mode="r", encoding="utf8"):
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
Expand Down

0 comments on commit 933abdb

Please sign in to comment.