Refactoring and some changes to the base structure #64
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Refactoring
Created package
owlapy.abstracts
with 3 modules:abstract_owl_ontology_manager.py
abstract_owl_ontology.py
abstract_owl_reasoner.py
Abstract classes
OWLOntologyManager
andOWLOntologyChange
moved fromowlapy.owl_ontology_manager
toowlapy.abstracts.abstract_owl_ontology_manager
Abstract class
OWLOntology
moved fromowlapy.owl_ontology
toowlapy.abstracts.abstract_owl_ontology
.Abstract classes
OWLReasoner
andOWLReasonerEx
modev fromowlapy.owl_reasoner
toowlapy.abstracts.abstract_owl_reasoner
Changes
Signature changes on methods of
OWLReasoner
:only_named
is no longer a required argument of the abstract methodsdirect
is no longer required on the following methods:data_property_values
,object_property_values
andall_data_property_values
.The current reasoners have not changed. Reasoners such as FastInstanceCheckerReasoner still uses the above mentioned arguments, where they have a default value, but SyncReasoner for example does not.
Class
SyncReasoner
now inherit from OWLReasoner.Added Structural reasoner as an option to SyncReasoner.