Beispiel #1
0
        public static SparqlExpression operator -(SparqlExpression e)
        {
            // e.SetExprType(ExpressionTypeEnum.numeric);
            var uminus = new SparqlUnaryExpression(o => - o, e, "mines");

            // uminus.SetExprType(e);
            return(uminus);
        }
Beispiel #2
0
        public static SparqlExpression operator !(SparqlExpression e)
        {
            // e.SetExprType(ObjectVariantEnum.@Bool);
            var opLogicalNot = new SparqlUnaryExpression(o => !o, e, "not");

            // opLogicalNot.SetExprType(ObjectVariantEnum.Bool);
            return(opLogicalNot);
        }