+ public static Triple<Double, Double, String> parseInvertibleExpression(String expression) {
+ Triple<Double, Double, String> data = possibleInvertibleExpression(expression);
+ if (data == null)
+ return null;
+ String key = data.third.replace(MAGIC, ".");
+ return Triple.make(data.first, data.second, key);
+ }
+
+ private static Triple<Double, Double, String> possibleInvertibleExpression(ReadGraph graph, Variable base, String expression) throws DatabaseException {
+ if (base == null)
+ return null;
+ //System.out.println("invert : " + expression + " -> " + replaced(expression) + " for " + base.getURI(graph));
+ return possibleInvertibleExpression(expression);
+ }
+