public RDFVariable(String variableName)
{
if (variableName != null && variableName.Trim() != String.Empty) {
this.VariableName = "?" + variableName.Trim().ToUpperInvariant();
this.PatternMemberID = RDFModelUtilities.CreateHash(this.ToString());
}
else {
throw new RDFQueryException("Cannot create RDFVariable because given \"variableName\" parameter is null or empty.");
}
}