- All Implemented Interfaces:
Abstract base class to provide shared implementation for ontology language profiles.
Method SummaryModifier and TypeMethodDescription
static booleanUtility method: answer true iff the enhanced graph contains some triple which has n as subject, p.asNode() as predicate, and any object.Answer an alias for the given resource.
booleanAnswer true if the given resource has an alias in this profile.Answer an iterator over the defined aliases for a resource.
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.apache.jena.ontology.Profile
ALL_DIFFERENT, ALL_VALUES_FROM, ANNOTATION_PROPERTY, BACKWARD_COMPATIBLE_WITH, CARDINALITY, CARDINALITY_Q, CLASS, COMMENT, COMPLEMENT_OF, DATARANGE, DATATYPE_PROPERTY, DEPRECATED_CLASS, DEPRECATED_PROPERTY, DIFFERENT_FROM, DISJOINT_WITH, DISTINCT_MEMBERS, DOMAIN, EQUIVALENT_CLASS, EQUIVALENT_PROPERTY, FIRST, FUNCTIONAL_PROPERTY, getAnnotationProperties, getAxiomTypes, getClassDescriptionTypes, getLabel, HAS_CLASS_Q, HAS_VALUE, IMPORTS, INCOMPATIBLE_WITH, INTERSECTION_OF, INVERSE_FUNCTIONAL_PROPERTY, INVERSE_OF, IS_DEFINED_BY, isSupported, LABEL, LIST, MAX_CARDINALITY, MAX_CARDINALITY_Q, MIN_CARDINALITY, MIN_CARDINALITY_Q, NAMESPACE, NIL, NOTHING, OBJECT_PROPERTY, ON_PROPERTY, ONE_OF, ONTOLOGY, ONTOLOGY_PROPERTY, PRIOR_VERSION, PROPERTY, RANGE, REST, RESTRICTION, SAME_AS, SAME_INDIVIDUAL_AS, SEE_ALSO, SOME_VALUES_FROM, SUB_CLASS_OF, SUB_PROPERTY_OF, SYMMETRIC_PROPERTY, THING, TRANSITIVE_PROPERTY, UNION_OF, VERSION_INFO
hasAliasForpublic boolean hasAliasFor
Answer true if the given resource has an alias in this profile.
Answer an alias for the given resource. If there is more than one such alias, a choice is made non-deterministically between the alternatives.
Answer an iterator over the defined aliases for a resource.
containsSomeUtility method: answer true iff the enhanced graph contains some triple which has n as subject, p.asNode() as predicate, and any object.
g- an enhanced graph to search for triples
n- some node
p- a property containing a predicate node
- true iff the graph contains (n, p, X) for some X