Local Semantics for Federated Databases