Class RangeUtils

java.lang.Object
org.aksw.jenax.arq.util.node.RangeUtils

public class RangeUtils extends Object
  • Constructor Details

    • RangeUtils

      public RangeUtils()
  • Method Details

    • createExpr

      public static org.apache.jena.sparql.expr.Expr createExpr(org.apache.jena.graph.Node node, com.google.common.collect.Range<? extends ComparableNodeValue> range)
      Create an (in)equality expression from the given node (typically a variable) and range. For example, for the arguments (?x, [5, 10)) the result is ?x >= 5 && ?x < 10.