public static SparqlExpression operator -(SparqlExpression e) { // e.SetExprType(ExpressionTypeEnum.numeric); var uminus = new SparqlUnaryExpression(o => - o, e); // uminus.SetExprType(e); return(uminus); }
public static SparqlExpression operator !(SparqlExpression e) { // e.SetExprType(ObjectVariantEnum.@Bool); var opLogicalNot = new SparqlUnaryExpression(o => !o, e); //opLogicalNot.SetExprType(ObjectVariantEnum.Bool); return(opLogicalNot); }