--- /dev/null
+package org.simantics.db;
+
+import org.simantics.db.exception.DatabaseException;
+import org.simantics.scl.runtime.function.Function1;
+
+public interface ConverterComputationalValue extends ComputationalValue {
+
+ /*
+ * This computes the expression function that shall be called with given context as defined in ReadGraph.getRelatedValue2
+ * Context can be Resource (literal) or Variable.
+ * With Resource context this gets called with o != null and s==null and p==null
+ * With Variable property context this gets called with (represents of parent, represents, predicate resource)
+ */
+ Function1<Object,Object> getFunction(ReadGraph graph, Resource s, Resource o, Resource p) throws DatabaseException;
+
+}