| Given an OWL ontology model owlModel,
answer the minimum OWL language
level that the constructs
used in this model lie entirely within. The three possible return values are
OWL.FULL_LANG for OWL-full,
OWL.DL_LANG for OWL-DL or
OWL.LITE_LANG for OWL-lite.
Note that these URI's are not officially sanctioned by the WebOnt
working group. For unknown reasons, the working group chose not to assign official
URI's to represent the different OWL language levels. There is a slim chance that this
may change in future, in which case these return values will change apropriately.
In addition, the given problems list, if non-null, will be filled with the syntax
problems detected by the syntax checker.
The Jena OWL syntax checker will normally list as problems those constructs used in
this model that are in OWL Full but not permitted in OWL DL. The exception to this
is if the
for this model is
, then the syntax checker will
test for constructs that lie in OWL-DL or OWL-Full and hence outside in OWL-Lite.
Parameters: owlModel - An OntModel that must be an OWL ontology. Parameters: problems - A list that, if non-null, will have the various problems discovered by the OWL syntaxchecker added to it. A resource denoting the minimum OWL language level for owlModel exception: OntologyException - if owlModel is not an OWL model |