java.lang.Object
org.apache.jena.sparql.util.Iso

public class Iso extends Object
Isomorphism utilities, based on in-order lists. See IsoMatcher for isomorphism for un-ordered collections. In this class, "isomorphism" is based on the policy in NodeIsomorphismMap, which is blank node isomorphism unless NodeIsomorphismMap.makeIsomorphic(org.apache.jena.graph.Node, org.apache.jena.graph.Node) is overridden.
  • Field Details

    • mappableBlankNodes

      public static Iso.Mappable mappableBlankNodes
      Blank nodes are mappable in IsoAlg
    • mappableVariables

      public static Iso.Mappable mappableVariables
      Blank nodes and variables are mappable in IsoAlg
    • mappableBlankNodesVariables

      public static Iso.Mappable mappableBlankNodesVariables
      Blank nodes and variables are mappable in IsoAlg
  • Constructor Details

    • Iso

      public Iso()
  • Method Details

    • isomorphicTriples

      public static boolean isomorphicTriples(List<org.apache.jena.graph.Triple> triples1, List<org.apache.jena.graph.Triple> triples2, NodeIsomorphismMap isoMap)
    • isomorphicQuads

      public static boolean isomorphicQuads(List<Quad> quads1, List<Quad> quads2, NodeIsomorphismMap isoMap)
    • isomorphicNodes

      public static boolean isomorphicNodes(List<org.apache.jena.graph.Node> nodes1, List<org.apache.jena.graph.Node> nodes2, NodeIsomorphismMap isoMap)
    • triplePathIso

      public static boolean triplePathIso(TriplePath tp1, TriplePath tp2, NodeIsomorphismMap isoMap)
    • tripleIso

      public static boolean tripleIso(org.apache.jena.graph.Triple t1, org.apache.jena.graph.Triple t2, NodeIsomorphismMap labelMap)
    • quadIso

      public static boolean quadIso(Quad t1, Quad t2, NodeIsomorphismMap labelMap)
    • nodeIso

      public static boolean nodeIso(org.apache.jena.graph.Node n1, org.apache.jena.graph.Node n2, NodeIsomorphismMap isoMap)