Methods, systems, and articles of manufacture that may be used to create and share annotations for query components, such as query conditions, in an effort to share domain knowledge, are provided. The annotations may be created by users with particular domain knowledge and may contain information useful to other users when building queries including the annotated query components. An annotation may indicate a particular format or syntax for an associated query component. In some cases, a replacement to the associated query component is suggested.