0. There are 4 types of relationships in data modeling:
- one-to-one
- one-to-many
- many-to-one
- many-to-many
- things to consider: many-to-one and many-to-many relationships, for one-to-one and one-to-many relationships, both models can handle them easily.
- document model vs. network model
2. Query languages for Data
- declarative vs. imperative languages (SQL vs. API)
- map-reduce query
3. Graph-like Data Model
- property graphs: verteies and edges
--- each vertex consists of:
- A unique identifier
- A set of outgoing edges set of incoming edges
- A collection of properties (key-value pairs)
- A unique identifier
- The vertex at which the edge starts (the tail vertex)
- The vertex at which the edge ends (the head vertex)
- A label to describe the kind of relationship between the two vertices
- A collection of properties (key-value pairs)
- Triple-Stores and SPARQL
- RDF data model



雷达卡




京公网安备 11010802022788号







