Interface ConfigRDFS<X>

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 Details

    • getSubClassHierarchy

      Map<X,Set<X>> getSubClassHierarchy()
      Return the sub-class hierarchy - map from class to its subclasses (transitive).
    • getSubPropertyHierarchy

      Map<X,Set<X>> getSubPropertyHierarchy()
      Return the sub-property hierarchy - map from property to its sub-properties (transitive).
    • getPropertyRanges

      Map<X,Set<X>> getPropertyRanges()
      Return the mapping property to range(s).
    • getPropertyDomains

      Map<X,Set<X>> getPropertyDomains()
      Return the mapping property to domains(s).
    • getSuperClasses

      Set<X> getSuperClasses(X elt)
      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

      Set<X> getSuperClassesInc(X elt)
      All super-types of an element, including the element itself.
    • getSubClasses

      Set<X> getSubClasses(X elt)
      All sub-types of an element. Does not include the element unless there is a cycle of length > 1
    • getSubClassesInc

      Set<X> getSubClassesInc(X elt)
      All sub-types of an element, including the element itself
    • getSuperProperties

      Set<X> getSuperProperties(X elt)
      All super-properties. Does not include the property itself unless there is a cycle of length > 1.
    • getSuperPropertiesInc

      Set<X> getSuperPropertiesInc(X elt)
      All super-properties including the property itself.
    • getSubProperties

      Set<X> getSubProperties(X elt)
      All sub-properties. Does not include the property itself unless there is a cycle of length > 1.
    • getSubPropertiesInc

      Set<X> getSubPropertiesInc(X elt)
      All sub-properties including the property itself.
    • getRange

      Set<X> getRange(X elt)
      Get the range(s) of a property - only includes mentioned range types, not supertypes.
    • getDomain

      Set<X> getDomain(X elt)
      Get the domain(s) of a property - only includes mentioned domain types, not supertypes.
    • getPropertiesByRange

      Set<X> getPropertiesByRange(X elt)
      Get the properties that directly mention 'type' as their range.
    • getPropertiesByDomain

      Set<X> getPropertiesByDomain(X elt)
      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?