public class BindingLib extends Object
Operations on Bindings
  • Constructor Details

    • BindingLib

      public BindingLib()
  • Method Details

    • equals

      public static boolean equals(Binding bind1, Binding bind2)
      test for equality - order independent (Bindings are map-like)
    • merge

      public static Binding merge(Binding bind1, Binding bind2)
      Merge two bindings, assuming they are compatible.
    • bindingToMap

      public static Map<Var,org.apache.jena.graph.Node> bindingToMap(Binding binding)
      Convert Binding to a Map
    • asBinding

      public static Binding asBinding(QuerySolution qSolution)
      Convert a query solution to a binding
    • toBinding

      public static Binding toBinding(QuerySolution qSolution)