java.lang.Object
org.apache.jena.rdfs.setup.BaseSetupRDFS<X>
- All Implemented Interfaces:
ConfigRDFS<X>
- Direct Known Subclasses:
SetupRDFS
Core datastructures needed for RDFS for one vocabulary.
To be general, this is in
<X> space (e.g. Node, NodeId).-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionGet the domain(s) of a property - only includes mentioned domain types, not supertypes.getPropertiesByDomain(X elt) Get the properties that directly mention 'type' as their domain.getPropertiesByRange(X elt) Get the properties that directly mention 'type' as their range.Return the mapping property to domains(s).Return the mapping property to range(s).Get the range(s) of a property - only includes mentioned range types, not supertypes.getSubClasses(X elt) All sub-types of an element.getSubClassesInc(X elt) All sub-types of an element, including the element itselfReturn the sub-class hierarchy - map from class to its subclasses (transitive).getSubProperties(X elt) All sub-properties.getSubPropertiesInc(X elt) All sub-properties including the property itself.Return the sub-property hierarchy - map from property to its sub-properties (transitive).getSuperClasses(X elt) All super-types of an element.getSuperClassesInc(X elt) All super-types of an element, including the element itself.getSuperProperties(X elt) All super-properties.getSuperPropertiesInc(X elt) All super-properties including the property itself.booleanDoes this setup have any class/subclass declarations?booleanDoes this setup have any domain declarations?booleanDoes this setup have any property/subproperty declarations and no range, domain or subClass (which means no rdf:type work needed).booleanDoes this setup have any property/subproperty declarations?booleanDoes this setup have any range declarations?booleanhasRDFS()Does this setup have any RDFS?
-
Field Details
-
vocabGraph
public final org.apache.jena.graph.Graph vocabGraph
-
-
Method Details
-
getSubClassHierarchy
Description copied from interface:ConfigRDFSReturn the sub-class hierarchy - map from class to its subclasses (transitive).- Specified by:
getSubClassHierarchyin interfaceConfigRDFS<X>
-
getSubPropertyHierarchy
Description copied from interface:ConfigRDFSReturn the sub-property hierarchy - map from property to its sub-properties (transitive).- Specified by:
getSubPropertyHierarchyin interfaceConfigRDFS<X>
-
getPropertyRanges
Description copied from interface:ConfigRDFSReturn the mapping property to range(s).- Specified by:
getPropertyRangesin interfaceConfigRDFS<X>
-
getPropertyDomains
Description copied from interface:ConfigRDFSReturn the mapping property to domains(s).- Specified by:
getPropertyDomainsin interfaceConfigRDFS<X>
-
getSuperClasses
Description copied from interface:ConfigRDFSAll super-types of an element. Does not include the element unless there is a cycle of length > 1. Returns an empty set of there are no declared superclasses.- Specified by:
getSuperClassesin interfaceConfigRDFS<X>
-
getSuperClassesInc
Description copied from interface:ConfigRDFSAll super-types of an element, including the element itself.- Specified by:
getSuperClassesIncin interfaceConfigRDFS<X>
-
getSubClasses
Description copied from interface:ConfigRDFSAll sub-types of an element. Does not include the element unless there is a cycle of length > 1- Specified by:
getSubClassesin interfaceConfigRDFS<X>
-
getSubClassesInc
Description copied from interface:ConfigRDFSAll sub-types of an element, including the element itself- Specified by:
getSubClassesIncin interfaceConfigRDFS<X>
-
getSuperProperties
Description copied from interface:ConfigRDFSAll super-properties. Does not include the property itself unless there is a cycle of length > 1.- Specified by:
getSuperPropertiesin interfaceConfigRDFS<X>
-
getSuperPropertiesInc
Description copied from interface:ConfigRDFSAll super-properties including the property itself.- Specified by:
getSuperPropertiesIncin interfaceConfigRDFS<X>
-
getSubProperties
Description copied from interface:ConfigRDFSAll sub-properties. Does not include the property itself unless there is a cycle of length > 1.- Specified by:
getSubPropertiesin interfaceConfigRDFS<X>
-
getSubPropertiesInc
Description copied from interface:ConfigRDFSAll sub-properties including the property itself.- Specified by:
getSubPropertiesIncin interfaceConfigRDFS<X>
-
hasClassDeclarations
public boolean hasClassDeclarations()Description copied from interface:ConfigRDFSDoes this setup have any class/subclass declarations?- Specified by:
hasClassDeclarationsin interfaceConfigRDFS<X>
-
hasPropertyDeclarations
public boolean hasPropertyDeclarations()Description copied from interface:ConfigRDFSDoes this setup have any property/subproperty declarations?- Specified by:
hasPropertyDeclarationsin interfaceConfigRDFS<X>
-
hasRangeDeclarations
public boolean hasRangeDeclarations()Description copied from interface:ConfigRDFSDoes this setup have any range declarations?- Specified by:
hasRangeDeclarationsin interfaceConfigRDFS<X>
-
hasDomainDeclarations
public boolean hasDomainDeclarations()Description copied from interface:ConfigRDFSDoes this setup have any domain declarations?- Specified by:
hasDomainDeclarationsin interfaceConfigRDFS<X>
-
hasOnlyPropertyDeclarations
public boolean hasOnlyPropertyDeclarations()Description copied from interface:ConfigRDFSDoes this setup have any property/subproperty declarations and no range, domain or subClass (which means no rdf:type work needed).- Specified by:
hasOnlyPropertyDeclarationsin interfaceConfigRDFS<X>
-
hasRDFS
public boolean hasRDFS()Description copied from interface:ConfigRDFSDoes this setup have any RDFS?- Specified by:
hasRDFSin interfaceConfigRDFS<X>
-
getRange
Description copied from interface:ConfigRDFSGet the range(s) of a property - only includes mentioned range types, not supertypes.- Specified by:
getRangein interfaceConfigRDFS<X>
-
getDomain
Description copied from interface:ConfigRDFSGet the domain(s) of a property - only includes mentioned domain types, not supertypes.- Specified by:
getDomainin interfaceConfigRDFS<X>
-
getPropertiesByRange
Description copied from interface:ConfigRDFSGet the properties that directly mention 'type' as their range.- Specified by:
getPropertiesByRangein interfaceConfigRDFS<X>
-
getPropertiesByDomain
Description copied from interface:ConfigRDFSGet the properties that directly mention 'type' as their domain.- Specified by:
getPropertiesByDomainin interfaceConfigRDFS<X>
-