Patent ID: 7454413

Claim:
A computer-implemented query expression system comprising the following computer executable components: a receiver component that receives a query expression and metadata that pertains to the query expression and a domain, wherein the domain represents at least one of a database or a document, or a combination thereof, comprising data and the metadata is associated with the data and the domain; a query engine that applies the query expression to the metadata, retrieves information that corresponds to a type of result that would be returned if the query expression were executed on the data, and provides results based in part on the retrieved information to facilitate at least one of computer program generation, program compilation, generation of a language map, or document updates, or a combination thereof; and an update component, in conjunction with the query engine, determines prior to updating the data of the domain whether a proposed update contained in the query expression is valid based at least in part on the proposed update and domain type, and if the proposed update is valid, facilitates updating the domain content.