The Protégé-OWL API is an open-source Java library for the Web Ontology Language and RDF(S). The API provides
classes and methods to load and save OWL files, to query and manipulate OWL data models, and to perform reasoning. Furthermore,
the API is optimized for the implementation of graphical user interfaces.
Getting Started
Protégé-OWL API Diagrams
Thanks go to Matthew Horridge from the
CO-ODE Project for providing these
diagrams.
Protégé-OWL API Conversion Matrix
For a quick start, the following table summarizes the classes in the Protégé-OWL API, compared with other
popular OWL APIs:
| Old Protégé-OWL API |
RDF/OWL element |
New Protégé-OWL API |
Jena |
Wonderweb API |
| OWLKnowledgeBase |
(model) |
OWLModel |
OntModel |
OWLOntology |
| OWLInstance |
rdf:Resource |
RDFResource |
OntResource |
OWLEntity |
| RDFSlot |
rdf:Property |
RDFProperty |
OntProperty |
OWLProperty (?) |
| OWLSlot |
- |
OWLProperty |
OntProperty |
OWLProperty |
| DatatypeSlot |
owl:DatatypeProperty |
OWLDatatypeProperty |
DatatypeProperty |
OWLDataProperty |
| ObjectSlot |
owl:ObjectProperty |
OWLObjectProperty |
ObjectProperty |
OWLObjectProperty |
| OWLCls |
- |
RDFSClass
|
OntClass |
OWLDescription |
| RDFSCls |
rdfs:Class |
RDFSNamedClass
|
OntClass |
? |
| NamedCls |
owl:Class |
OWLNamedClass |
OntClass |
OWLClass |
| AnonymousCls |
owl:Class |
OWLAnonymousClass |
(OntClass.isAnon) |
? |
| Restriction |
owl:Restriction |
OWLRestriction |
Restriction |
OWLRestriction |
| AllRestriction |
owl:allValuesFrom |
OWLAllValuesFrom |
AllValuesFromRestriction |
OWLxAllRestriction |
| SomeRestriction |
owl:someValuesFrom |
OWLSomeValuesFrom |
SomeValuesFromRestriction |
OWLxSomeRestriction |
| HasRestriction |
owl:hasValue |
OWLHasValue |
HasValueRestriction |
OWLxValueRestriction |
| CardiRestriction |
owl:cardinality |
OWLCardinality |
CardinalityRestriction |
OWLCardinalityRestriction |
| MaxCardinalityRestriction |
owl:maxCardinality |
OWLMaxCardinality |
MaxCardinalityRestriction |
OWLCardinalityRestriction |
| MinCardinalityRestriction |
owl:minCardinality |
OWLMinCardinality |
MinCardinalityRestriction |
OWLCardinalityRestriction |
| IntersectionCls |
owl:intersectionOf |
OWLIntersectionClass |
IntersectionClass |
OWLAnd |
| UnionCls |
owl:unionOf |
OWLUnionClass |
UnionClass |
OWLOr |
| ComplementCls |
owl:complementOf |
OWLComplementClass |
ComplementClass |
OWLNot |
| EnumerationCls |
owl:oneOf |
OWLEnumeratedClass |
EnumeratedClass |
OWLEnumeration |
| SimpleOWLInstance |
(Individual of rdfs:Class) |
RDFIndividual |
Individual |
OWLIndividual |
| SimpleOWLInstance |
(Individual of owl:Class) |
OWLIndividual |
Individual |
OWLIndividual |
| ListInstance |
rdf:List |
RDFList |
RDFList |
? |
| OntologyInstance |
owl:Ontology |
OWLOntology |
Ontology |
OWLOntology (?) |
| AllDifferentInstance |
owl:AllDifferent |
OWLAllDifferent |
AllDifferent |
? |
| (ValueType SYMBOL) |
owl:DataRange |
OWLDataRange |
DataRange |
? |
| (primitive values) |
rdf:Literal |
RDFLiteral |
Literal |
? |
| ExternalResourceInstance |
rdf:Resource (untyped) |
RDFExternalResource |
Resource |
? |
| isAnnotationProperty() |
owl:AnnotationProperty |
isAnnotationProperty() |
AnnotationProperty |
OWLAnnotationProperty |
| isSymmetric() |
owl:SymmetricProperty |
isSymmetric() |
SymmetricProperty |
isSymmetric |
| isTransitive() |
owl:TransitiveProperty |
isTransitive() |
TransitiveProperty |
isTransitive() |
| isFunctional() |
owl:FunctionalProperty |
isFunctional() |
FunctionalProperty |
isOneToOne() |
| isInverseFunctional() |
owl:InverseFunctionalProperty |
isInverseFunctional() |
InverseFunctionalProperty |
isInverseFunctional() |