0%

Intro

Data Models: Conceptual -> Logical -> Physical.

SDM is a conceptual data modeling tool, at the intersection of conceptual and logical. It facilitates an understaning of the meaning of the data.

  • Identify and classify principal intensional (semantic) structures of an application.

A set of constructs that express the essential meaning and structure of different problem domains.

Basic Structure

  • Classes: a collection of entities. Each class has:
    • A name.
    • A collection of members: Its entities. 3 member types:
      • Objects:
        • Concrete.
        • Abstraction: a generalization of another entity.
        • Aggregate: a collection of another type of entity.
      • Events: Action or activities in the application. Point and duration events.
      • Names are deginators for objects or events.
    • Attributes.
    • A description: nature, purpose, and uses of the class.
    • Identified as either base or nonbase.
  • Schema: a collection of classes.

Class Attributes:

  1. Member attributes link the member to one or more related entities in the same or another class.
  2. Class determined attribute is associated with the whole class and has the same value for all members of that class.
  3. Class attribute describes a property of a class taken as a whole.

An attribute value is either a primitive (user defined) or derived (a value calculated from other information in the database).

Base class

It is independent of other classes. In SDM, it may be a concrete object class, a point event class, a duration event, a name class.

It is specified as either containing duplicates or not containing duplicates. The latter models a multiset/bag of entities.

It has an associated list of groups of member attributes. One or more may serve as the unique identifier of a member.

Nonbase class

Subclass of a parent class. Members of the subclass inherit all attributes of the parent class. Subclass may add new member attributes. 2 types:

  1. Restrict: a predicate identifies which members of the parent belong to a subclass.
  2. Subset: A human user decides entities in the subclass as long as the subclass is a subset of its parent.

Attribute value: either an entity or a class of entities. It can be UNKNOWN.

Semantic types:

  1. A componenet models a physical part of an object.
  2. A participant of the event entity models an entity that plays a role in an event.
  3. A property of an attribute is an attribute that provides further information on the relationship between the entity and the value of one of its attributes.

Questions

Why is it important for a relational schema to satisfy the 5 normal forms?

To ensure the data integrity and consistency, and minimize the loss and redundancy of information.

1NF: all occurences of a record type must contain the same number of fields.

2 and 3NF: a non-key attribute is a fact about only the whole key.

4NF: a record should not contain two or more independent multi-valued fact about an entity.

5NF: decompose a table into smaller ones to eliminate multi-valued dependencies, while ensuring that the original data can be losslessly reconstructed through join operation.

With SDM, what is the unique identifier of a class containing duplicates?

There is no unique identifier of a class containing duplicates since some of the members of this class are indistinguishable.

Is SDM a competitor to the relational data model?

Yes. But SDM is not intended to be a direct competitor to the relational data model. The goal of SDM is to provide a more semantic way to model complex application environments, expressing the structure and meaning of data more effectively than tradtional relational models. It is designed to enhance the relational data model.

A database represents a snapshot of the state of an application and the changes to the database over time. What is the change in a 3D display that illuminates animations using FLSs? Does an FLS display represent a database using drones?

A 3D FLS display illuminates animations by computing the flight paths of the FLS drones based on the dynamic attributes of objects, such as geometry, color, and movement over time. Changes in the display represent transitions in the object’s states or visual properties.

Yes, the FLS display act as a dynamic visualization tool that represents a database where each drone corresponds to data points or entities, displaying multimedia content in a 3D space.

Section 1 of the SDM paper states: “SDM is not dependent on the successful implementation of a new database management system that directly supports the SDM. The latter approach would be impractical for a variety of reasons.” Why is it impractical to implement a new database management system that supports the SDM? Do you know of a system?

SDM emphasizes the meaning and relationship of data, requiring sophisticated handling of semantics, which adds complexity. Integrating SDM into existing systems will cause incompatibility with current DBMS architectures.

While there is not a widely adopted DBMS that fully supports SDM, some graph databases or knowledge graph systems such as Neo4j, RDF stores partially align with SDM principles.

Reference: https://dl.acm.org/doi/pdf/10.1145/509252.509264