/// <summary>
 /// Creates a call to the BOUND function with a variable parameter
 /// </summary>
 /// <param name="eb"></param>
 /// <param name="var">a SPARQL variable name</param>
 public static BooleanExpression Bound(this ExpressionBuilder eb, string var)
 {
     return(Bound(eb, eb.Variable(var)));
 }
Esempio n. 2
0
 /// <summary>
 /// Creates a call to the isBlank function with a variable parameter
 /// </summary>
 /// <param name="eb"> </param>
 /// <param name="variableName">name of variable to check</param>
 public static BooleanExpression IsBlank(this ExpressionBuilder eb, string variableName)
 {
     return(IsBlank(eb, eb.Variable(variableName)));
 }
 /// <summary>
 /// Creates a call of the SAMETERM function with two variable parameters
 /// </summary>
 /// <param name="eb"></param>
 /// <param name="left">a variable name</param>
 /// <param name="right">a variable name</param>
 public static BooleanExpression SameTerm(this ExpressionBuilder eb, string left, string right)
 {
     return(eb.SameTerm(eb.Variable(left), eb.Variable(right)));
 }
Esempio n. 4
0
 /// <summary>
 /// Creates a call to the isIRI function with a variable parameter
 /// </summary>
 /// <param name="eb"> </param>
 /// <param name="variableName">name of variable to check</param>
 public static BooleanExpression IsIRI(this ExpressionBuilder eb, string variableName)
 {
     return(eb.IsIRI(eb.Variable(variableName)));
 }