1. A query handling arrangement in a federated database system, the database system comprising data storing applications configured to store data in corresponding databases, the query handling arrangement comprising: a query handling device comprising: a profile handling unit comprising a query investigating element configured to: receive a database query from a query generating application concerning the obtaining of data from the databases, obtain usage profiles regarding allowed use of the data in the databases provided by a usage profile announcing device, investigate the usage profiles, obtain data from the databases according to the obtained usage profiles, and respond to the query with the obtained data.