/// <summary> /// Creates a new MEDIAN Aggregate /// </summary> /// <param name="expr">Variable Expression</param> /// <param name="distinct">Whether a DISTINCT modifier applies</param> public MedianAggregate(VariableExpressionTerm expr, bool distinct) : base(expr, distinct) { this._varname = expr.ToString().Substring(1); }
/// <summary> /// Creates a new COUNT(DISTINCT ?x) Aggregate /// </summary> /// <param name="expr">Variable Expression</param> public CountDistinctAggregate(VariableExpressionTerm expr) : base(expr) { this._varname = expr.ToString().Substring(1); }