org.semanticweb.owlapi.profiles
Class OWL2Profile

java.lang.Object
  extended by org.semanticweb.owlapi.profiles.OWL2Profile
All Implemented Interfaces:
OWLProfile

public class OWL2Profile
extends java.lang.Object
implements OWLProfile

Author: Matthew Horridge
The University Of Manchester
Information Management Group
Date: 21-Jun-2008

Checks to see if an ontology and its imports closure fall into the OWL 2 DL profile. An ontology is OWL Full if any of the global structural restrictions are violated, if there is punning between object and data properties


Constructor Summary
OWL2Profile()
           
 
Method Summary
 OWLProfileReport checkOntology(OWLOntology ontology)
          Checks an ontology and its import closure to see if it is within this profile.
 java.lang.String getName()
          Gets the name of the profile.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OWL2Profile

public OWL2Profile()
Method Detail

getName

public java.lang.String getName()
Description copied from interface: OWLProfile
Gets the name of the profile.

Specified by:
getName in interface OWLProfile
Returns:
A string that represents the name of the profile

checkOntology

public OWLProfileReport checkOntology(OWLOntology ontology)
Checks an ontology and its import closure to see if it is within this profile.

Specified by:
checkOntology in interface OWLProfile
Parameters:
ontology - The ontology to be checked.
manager - A manager which can be used to obtain the imports closure of the ontology
Returns:
An OWLProfileReport that describes whether or not the ontology is within this profile.