Using antipatterns to improve database code fragments, and utilizing knowledge graphs and NLP patterns to extract standardized data element names