ArticleslgStudy

science

EXPRESS (data modeling language)

EXPRESS (data modeling language) is a science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand EXPRESS (data modeling language) rather than just read about it. In short: EXPRESS is a standard for generic data modeling language for product data. EXPRESS is formalized in the ISO Standard for the Exchange of Product model STEP (ISO 10303), and standardized as ISO 10303-11.

EXPRESS (data modeling language) — main illustration
EXPRESS (data modeling language) — illustration

Key takeaways

  • EXPRESS (data modeling language) belongs to science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect EXPRESS (data modeling language) to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of EXPRESS (data modeling language) from memory before moving on to harder problems.

Reference excerpt

EXPRESS is a standard for generic data modeling language for product data. EXPRESS is formalized in the ISO Standard for the Exchange of Product model STEP (ISO 10303), and standardized as ISO 10303-11.

Overview Data models formally define data objects and relationships among data objects for a domain of interest. Some typical applications of data models include supporting the development of databases and enabling the exchange of data for a particular area of interest. Data models are specified in a data modeling language. EXPRESS is a data modeling language defined in ISO 10303-11, the EXPRESS Language Reference Manual. An EXPRESS data model can be defined in two ways, textually and graphically. For formal verification and as input for tools such as SDAI the textual representation within an ASCII file is the most important one. The graphical representation on the other hand is often more suitable for human use such as explanation and tutorials. The graphical representation, called EXPRESS-G, is not able to represent all details that can be formulated in the textual form. EXPRESS is similar to programming languages such as Pascal. Within a SCHEMA various datatypes can be defined together with structural constraints and algorithmic rules. A main feature of EXPRESS is the possibility to formally validate a population of datatypes - this is to check for all the structural and algorithmic rules.

EXPRESS-G EXPRESS-G is a standard graphical notation for information models. It is a companion to the EXPRESS language for displaying entity and type definitions, relationships and cardinality. This graphical notation supports a subset of the EXPRESS language. One of the advantages of using EXPRESS-G over EXPRESS is that the structure of a data model can be presented in a more understandable manner. A disadvantage of EXPRESS-G is that complex constraints cannot be formally specified. Figure 1 is an example. The data model presented in figure could be used to specify the requirements of a database for an audio compact disc (CD) collection.

Simple example

A simple EXPRESS data model looks like fig 2, and the code like this:

SCHEMA Family;

ENTITY Person ABSTRACT SUPERTYPE OF (ONEOF (Male, Female)); name: STRING; mother: OPTIONAL Female; father: OPTIONAL Male; END_ENTITY;

ENTITY Female SUBTYPE OF (Person); END_ENTITY;

ENTITY Male SUBTYPE of (Person); END_ENTITY;

END_SCHEMA;

The data model is enclosed within the EXPRESS schema Family. It contains a supertype entity Person with the two subtypes Male and Female. Since Person is declared to be ABSTRACT only occurrences of either (ONEOF) the subtype Male or Female can exist. Every occurrence of a person has a mandatory name attribute and optionally attributes mother and father. There is a fixed style of reading for attributes of some entity type:

a Female can play the role of mother for a Person a Male can play the role of father for a Person

EXPRESS Building blocks

Datatypes EXPRESS offers a series of datatypes, with specific data type symbols of the EXPRESS-G notation:

Entity data type: This is the most important datatype in EXPRESS. It is covered below in more detail. Entity datatypes can be related in two ways, in a sub-supertype tree and/or by attributes. Enumeration data type: Enumeration values are simple strings such as red, green, and blue for an rgb-enumeration. In the case that an enumeration type is declared extensible it can be extended in other schemas. Defined data type: This further specializes other datatypes—e.g., define a datatype positive that is of type integer with a value > 0. Select data type: Selects define a choice or an alternative between different options. Most commonly used are selects between different entity_types. More rare are selects that include defined types. In the case that an enumeration type is declared extensible, it can be extended in other schemas. Simple data type String: This is the most often used simple type. EXPRESS strings can be of any length and can contain any character (ISO 10646/Unicode). Binary: This data type is only very rarely used. It covers a number of bits (not bytes). For some implementations the size is limited to 32 bit. Logical: Similar to the Boolean datatype a logical has the possible values TRUE and FALSE and in addition UNKNOWN. Boolean: With the Boolean values TRUE and FALSE. Number: The number data type is a supertype of both, integer and real. Most implementations take uses a double type to represent a real_type, even if the actual value is an integer. Integer: EXPRESS integers can have in principle any length, but most implementations restricted them to a signed 32 bit value. Real: Ideally an EXPRESS real value is unlimited in accuracy and size. But in practice a real value is represented by a floating point value of type double. Aggregation data type: The possible kinds of aggregation_types are SET, BAG, LIST and ARRAY. While SET and BAG are unordered, LIST and ARRAY are ordered. A BAG may contain a particular value more than once, this is not allowed for SET. An ARRAY is the only aggregate that may contain unset members. This is not possible for SET, LIST, BAG. The members of an aggregate may be of any other data type. A few general things are to be mentioned for datatypes.

Constructed datatypes can be defined within an EXPRESS schema. They are mainly used to define entities, and to specify the type of entity attributes and aggregate members. Datatypes can be used in a recursive way to build up more and more complex data types. E.g. it is possible to define a LIST of an ARRAY of a SELECT of either some entities or other datatypes. If it makes sense to define such datatypes is a different question. EXPRESS defines a couple of rules how a datatype can be further specialized. This is important for re-declared attributes of entities. GENERIC data types can be used for procedures, functions and abstract entities.

Entity-Attribute Entity attributes allow to add "properties" to entities and to relate one entity with another one in a specific role. The name of the attribute specifies the role. Most datatypes can directly serve as type of an attribute. This includes aggregation as well. There are three different kinds of attributes, explicit, derived and inverse attributes. And all these can be re-declared in a subtype. In addition an explicit attribute can be re-declared as derived in a subtype. No other change of the kind of attributes is possible.

… excerpt ends here. Continue reading the full article.

Illustrations

EXPRESS (data modeling language): Fig 1. Requirements of a database for an audio compact disc (CD) collection, presented in EXPRESS-G notation.
Fig 1. Requirements of a database for an audio compact disc (CD) collection, presented in EXPRESS-G notation.
EXPRESS (data modeling language): Fig 2. An EXPRESS-G diagram for Family schema
Fig 2. An EXPRESS-G diagram for Family schema
EXPRESS (data modeling language) illustration
EXPRESS (data modeling language) illustration

Worked examples

Example 1 — a first encounter with EXPRESS (data modeling language)

Start with the simplest possible case. Write down what EXPRESS (data modeling language) claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to EXPRESS (data modeling language) before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about EXPRESS (data modeling language) ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of EXPRESS (data modeling language)

In research
EXPRESS (data modeling language) appears in science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses EXPRESS (data modeling language) in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
EXPRESS (data modeling language) is common in secondary-school and first-year university syllabi. It links to neighbouring topics Data modeling, Data modeling languages, ISO 10303, so understanding it makes those chapters shorter.
In everyday life
Look for EXPRESS (data modeling language) outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “EXPRESS (data modeling language)” →

How to study EXPRESS (data modeling language) in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what EXPRESS (data modeling language) means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain EXPRESS (data modeling language) out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is EXPRESS (data modeling language) in simple terms?

EXPRESS is a standard for generic data modeling language for product data. EXPRESS is formalized in the ISO Standard for the Exchange of Product model STEP (ISO 10303), and standardized as ISO 10303-11.

Why does EXPRESS (data modeling language) matter?

Because it connects several science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study EXPRESS (data modeling language)?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on EXPRESS (data modeling language).

Tags

  • Data modeling
  • Data modeling languages
  • ISO 10303
  • Modeling languages

Keep exploring