Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Minor fix for fact++ #817

Merged
merged 5 commits into from
Dec 11, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion ontopy/ontology.py
Original file line number Diff line number Diff line change
Expand Up @@ -1365,7 +1365,7 @@
)

if include_imported:
ontologies = self.get_imported_ontologies(recursive=True)
ontologies = [self] + self.get_imported_ontologies(recursive=True)

Check warning on line 1368 in ontopy/ontology.py

View check run for this annotation

Codecov / codecov/patch

ontopy/ontology.py#L1368

Added line #L1368 was not covered by tests
else:
ontologies = [self]

Expand All @@ -1382,6 +1382,8 @@
# Datatype instances that are known to crash the reasoner
datatypes = (
"http://www.w3.org/2002/07/owl#rational",
"http://www.w3.org/1999/02/22-rdf-syntax-ns#HTML",
"http://www.w3.org/1999/02/22-rdf-syntax-ns#JSON",
"http://www.w3.org/2001/XMLSchema#NCName",
"http://www.w3.org/2001/XMLSchema#NMTOKEN",
"http://www.w3.org/2001/XMLSchema#Name",
Expand Down
Loading