Class Transitive

java.lang.Object
org.apache.jena.system.Transitive

public class Transitive extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static Map<org.apache.jena.graph.Node,Collection<org.apache.jena.graph.Node>>
    transitive(org.apache.jena.graph.Graph graph, org.apache.jena.graph.Node property)
    Calculate the transitive closure of a property.
    static void
    transitiveExc(org.apache.jena.graph.Graph graph, boolean forward, org.apache.jena.graph.Node node, org.apache.jena.graph.Node predicate, Collection<org.apache.jena.graph.Node> output)
    Transitive closure of a property from a start node, excluding the start node unless reachable via a cycle.
    static void
    transitiveInc(org.apache.jena.graph.Graph graph, boolean forward, org.apache.jena.graph.Node node, org.apache.jena.graph.Node predicate, Collection<org.apache.jena.graph.Node> output)
    Transitive closure of a property from a start node, and including the start node.

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • Transitive

      public Transitive()
  • Method Details

    • transitive

      public static Map<org.apache.jena.graph.Node,Collection<org.apache.jena.graph.Node>> transitive(org.apache.jena.graph.Graph graph, org.apache.jena.graph.Node property)
      Calculate the transitive closure of a property. Returns a map of node to all reachable nodes.
    • transitiveInc

      public static void transitiveInc(org.apache.jena.graph.Graph graph, boolean forward, org.apache.jena.graph.Node node, org.apache.jena.graph.Node predicate, Collection<org.apache.jena.graph.Node> output)
      Transitive closure of a property from a start node, and including the start node.
    • transitiveExc

      public static void transitiveExc(org.apache.jena.graph.Graph graph, boolean forward, org.apache.jena.graph.Node node, org.apache.jena.graph.Node predicate, Collection<org.apache.jena.graph.Node> output)
      Transitive closure of a property from a start node, excluding the start node unless reachable via a cycle.