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
The method public void loadNamespaceDeclarations(OWLOntology o) in Configuration.java loads the namespaces into a hashmap. However, this is a little redundant, since the following already returns all ns:
As shown in https://stackoverflow.com/questions/65480889/extracting-ontology-namespaces-prefixes-with-owl-api, there is a native method to retrieve all namespaces.
The method
public void loadNamespaceDeclarations(OWLOntology o)
inConfiguration.java
loads the namespaces into a hashmap. However, this is a little redundant, since the following already returns all ns:Should take the existing map and modify the preferrednsPrefix, instead of re-parsing everything again.
The text was updated successfully, but these errors were encountered: