Database Reference
In-Depth Information
Location Graph
A Gartner study referred to this graph use case as the
mobile graph
, but a better name would be the
location graph
.
The name
mobile graph
carries an implication that it is applied to devices within a specific network, such as a cellular
provider. However, that specific scope would likely limit the effectiveness of its practical use because it would be
confined to a specific network or mobile devices.
The location graph would be better applied to a broad scope of any object that has been connected to a specific
location. The relational model design for that scope is shown in Figure
3-17
, which displays a user connected to
addresses that could have multiple types, such as mailing address or billing address.
Figure 3-17.
Entity-relationship diagram of locations
To address the domain in a graph, the location model can be created using a node type called location, but use
one of at least to ways to manage the type of location as demonstrated in Figures
3-18
and
3-19
. In Figure
3-18
, we
use labels to represent address types. Using this approach, new types of locations can be added to application design
more easily.