Module org.apache.jena.ontapi
Package org.apache.jena.ontapi.common
Interface OntPersonality.Punnings
- All Superinterfaces:
ResourceVocabulary<OntObject>
- Enclosing interface:
- OntPersonality
A punnings' vocabulary.
For a given
OntEntity
type it returns a Set
of forbidden types
(the right part of SPO with the (@code rdf:type) predicate).
A model
, that holds this configuration,
cannot contain entities which have intersection in rdf:type
that are determined by this vocabulary.
For example, for the PunningsMode.DL_WEAK
and for the PunningsMode.DL2
configurations, the expression voc.get(OntClass.class)
, where voc
is an instance of this class,
should return a Set
containing rdfs:Datatype
in the form of Node
,
since OntDT <-> OntClass
is illegal punning.
Each node obtained from this class must be IRI (i.e. node.isURI() = true
).
- See Also:
-
Method Summary
Methods inherited from interface org.apache.jena.ontapi.common.ResourceVocabulary
get, supports
-
Method Details
-
getNamedClasses
-
getDatatypes
-
getObjectProperties
-
getDatatypeProperties
-
getAnnotationProperties
-
getNamedIndividuals
-