Embodiments of the invention provide access to a user's profile information
to a location based service, location enable user profile information in external
databases, portals, etc., and allow the seamless/transparent provision of location
services using both internal and external profile information. A compact definition
of a schema of an external database (that comprises a user's profile information)
is stored. Data source information that describes how to connect and communicate
with the external database and a structured query language (SQL) statement is stored,
wherein the statement, upon execution, extracts properties from the external database
corresponding to the compact definition. A foreign key identifies a record in the
external database and positional information for the record in the external database
is stored as a geocoding index. The stored information is then used to provide
access to the user's profile information.