Implement complete semantic check select #91

Validate attrRef selected statement and remove the  ".attrName" to make
it easier for QueryEvaluator