Class GraphContainerUtils


  • public class GraphContainerUtils
    extends java.lang.Object
    • Constructor Detail

      • GraphContainerUtils

        public GraphContainerUtils()
    • Method Detail

      • containerMembers

        public static java.util.Collection<Node> containerMembers​(Graph graph,
                                                                  Node container)
      • containerMembers

        public static java.util.Collection<Node> containerMembers​(Graph graph,
                                                                  Node container,
                                                                  Node containerType)
      • isContainerMember

        public static boolean isContainerMember​(Graph graph,
                                                Node container,
                                                Node containerType,
                                                Node member)
      • countContainerMember

        public static int countContainerMember​(Graph graph,
                                               Node container,
                                               Node containerType,
                                               Node member)
      • rdfsMember

        public static java.util.Iterator<Triple> rdfsMember​(Graph graph,
                                                            Node s,
                                                            Node o)
        Calculate graph.find(?, rdfs:member, ?)
      • isContainer

        public static boolean isContainer​(Graph graph,
                                          Node container,
                                          Node containerType)