- All Known Implementing Classes:
BaseSetupRDFS
,SetupRDFS
public interface ConfigRDFS<X>
Inference setup for RDFS over some space of 3-tuples of type
<T>
.
<T>
maybe Node
but it may be some storage idea of a RDF term,
such as TDB2's NodeId
.-
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.boolean
Does this setup have any class/subclass declarations?boolean
Does this setup have any domain declarations?boolean
Does this setup have any property/subproperty declarations and no range, domain or subClass (which means no rdf:type work needed).boolean
Does this setup have any property/subproperty declarations?boolean
Does this setup have any range declarations?boolean
hasRDFS()
Does this setup have any RDFS?
-
Method Details
-
getSubClassHierarchy
Return the sub-class hierarchy - map from class to its subclasses (transitive). -
getSubPropertyHierarchy
Return the sub-property hierarchy - map from property to its sub-properties (transitive). -
getPropertyRanges
Return the mapping property to range(s). -
getPropertyDomains
Return the mapping property to domains(s). -
getSuperClasses
All 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. -
getSuperClassesInc
All super-types of an element, including the element itself. -
getSubClasses
All sub-types of an element. Does not include the element unless there is a cycle of length > 1 -
getSubClassesInc
All sub-types of an element, including the element itself -
getSuperProperties
All super-properties. Does not include the property itself unless there is a cycle of length > 1. -
getSuperPropertiesInc
All super-properties including the property itself. -
getSubProperties
All sub-properties. Does not include the property itself unless there is a cycle of length > 1. -
getSubPropertiesInc
All sub-properties including the property itself. -
getRange
Get the range(s) of a property - only includes mentioned range types, not supertypes. -
getDomain
Get the domain(s) of a property - only includes mentioned domain types, not supertypes. -
getPropertiesByRange
Get the properties that directly mention 'type' as their range. -
getPropertiesByDomain
Get the properties that directly mention 'type' as their domain. -
hasClassDeclarations
boolean hasClassDeclarations()Does this setup have any class/subclass declarations? -
hasPropertyDeclarations
boolean hasPropertyDeclarations()Does this setup have any property/subproperty declarations? -
hasOnlyPropertyDeclarations
boolean hasOnlyPropertyDeclarations()Does this setup have any property/subproperty declarations and no range, domain or subClass (which means no rdf:type work needed). -
hasRangeDeclarations
boolean hasRangeDeclarations()Does this setup have any range declarations? -
hasDomainDeclarations
boolean hasDomainDeclarations()Does this setup have any domain declarations? -
hasRDFS
boolean hasRDFS()Does this setup have any RDFS?
-