A method for defining grouping of data, across multiple data sources using variables and functions, may include defining grouping of data corresponding to one or more entities across multiple data sources, using a generic language that relates to multiple entities. The method may include providing access to the data based on Data-Dependent Routing (DDR), using variables and functions defined by the generic language. According to example embodiments, the system may include a user interface to receive one or more statements belonging to the generic language and present data accessed via the one or more statements. The system may also include a processor to execute statements and to provide access to the data. The system may further include a server to host the multiple data sources.