OWLOntologyManager
@protocol OWLOntologyManager <NSObject>
An OWLOntologyManager manages a set of ontologies. It is the main point for creating, loading and accessing ontologies.
An OWLOntologyManager also manages the mapping betweem an ontology and its ontology document.
-
A data factory which can be used to create OWL API objects such as classes, properties, individuals, axioms etc.
Declaration
Objective-C
@property (nonatomic, strong, readonly) id<OWLDataFactory> _Nonnull dataFactory;
-
Loads an ontology from an ontology document contained in a local file. The loaded ontology will be assigned a document IRI that corresponds to the file IRI.
Declaration
Objective-C
- (nullable id<OWLOntology>) loadOntologyFromDocumentAtURL:(nonnull NSURL *)URL error:(NSError *_Nullable *_Nullable)error;
Parameters
URL
URL of the ontology document to load.
error
Error out parameter.
Return Value
The ontology that was parsed from the file, or nil on error.