Module 8 · Information Systems · Lesson 1 · Week 1

Exposition and group work · Thursday, October 15, 2026

Learning the Dataset with Data Model Canvas

The module begins by modelling the partner problem before querying its data. The RM-ODP separates the concerns of the data platform into five viewpoints, and the Data Model Canvas records the first two of them, enterprise and information, in a single document that the group completes during Sprint 1.

RM-ODP · ISO/IEC 10746Enterprise viewpointInformation viewpointData Model CanvasMetabaseSprint 1

Project ritual

Daily · 15 minutes

Each group reports the progress of its deliverables, the work planned for this session and the blockers that require a decision.

15:00
What I didWhat I will doBlockersProgress
Session objective and structure

By the end of the session, students should be able to explain the five RM-ODP viewpoints and the concern each one separates, describe the folders and schemas of the partner Data Package, and write the business and analytical consumption blocks of the Data Model Canvas for the partner.

1Daily15 min
2Why the problem is modelled before the data is queried5 min
3RM-ODP: the five viewpoints and the module roadmap15 min
4Enterprise and information viewpoints on an illustrative case15 min
5The partner Data Package and its schemas20 min
6Groups write blocks 1 to 4 of the canvas for the partner35 min
7Pre-class task for Lesson 2, deliverables, self-study and workshop preparation15 min
The exposition is kept to fifty minutes so that the groups produce the first version of their canvas in class. The reading material develops each block in more depth and contains the Metabase queries, which are not run in this session.
Why the problem is modelled before the data is queried

A dataset opened without a question produces a description of its columns. The question comes from the organisation, and it determines which tables matter, at which grain and under which rules.

Starting from the tables

An inventory that answers no decision

The group lists tables and columns, counts rows and draws charts. At the end of the sprint it knows the shape of the data, but it cannot say which of the findings matters to the partner.

Starting from the problem

A reading guided by the decision

The group first states who decides, which decision is at stake and which rules constrain it. The dataset is then read to find the facts that support that decision and to expose the facts that are missing.

What the module asks

A single line of reasoning, recorded in parts

Each artefact of the module records one part of this reasoning. The Data Model Canvas is the document in which those parts are written next to each other and kept consistent.

The RM-ODP supplies the order of that reasoning. Purpose and rules are described first, information second, and processing, distribution and technology afterwards.
RM-ODP as a framework for separating concerns

The Reference Model of Open Distributed Processing is the standard ISO/IEC 10746, also published by ITU-T as Recommendations X.901 to X.904. It describes a distributed system through five viewpoints, each with its own set of concerns and its own vocabulary.

Viewpoints

Each concern is specified by those responsible for it

A single model that mixes business rules, data structures, components and servers grows unreadable, and every change touches all of it. Separate viewpoints let each concern be written, reviewed and revised on its own.

Correspondences

The viewpoints describe the same system

The standard requires explicit correspondences between viewpoints. A KPI in the information viewpoint traces to an objective in the enterprise viewpoint, and a component in the computational viewpoint processes objects that the information viewpoint defines.

Structure of the standard

Four parts and a separate enterprise language

Part 1 is an overview, Part 2 sets the foundations, Part 3 defines the architecture and the viewpoints, and Part 4 gives their formal semantics. The enterprise language was later detailed in ISO/IEC 15414.

Fit with the module

A data platform is an open distributed system

Several areas of an organisation produce and consume shared information under rules, through components that run on distributed infrastructure. These are precisely the concerns that the five viewpoints separate.

The five viewpoints and the question each one answers

Each viewpoint asks a different question about the same platform. The last column shows where that question appears in the module project.

ViewpointQuestionMain conceptsIn the data platform
EnterpriseWhy does the system exist, and under which rules?community, objective, role, process, policybusiness objectives, analytical questions, data owner, LGPD
InformationWhich information is handled, and which constraints does it obey?information object; invariant, static and dynamic schemasentities, attributes, relationships, grain, KPI definitions
ComputationalWhich functions process the information, through which interfaces?computational object, interface, interactionextraction, transformation and loading components; APIs
EngineeringHow are those functions distributed and kept reliable?node, channel, cluster, distribution transparenciesorchestration, retries, reprocessing, partitioning
TechnologyWhich technologies implement the solution?technology object, implementable standardPython, Docker, Spark, Prefect, cloud services and their cost
The module covers the viewpoints in order

The five sprints are grouped into three blocks. Each block works on the viewpoints that answer its question, so the project moves from purpose to processing and then to infrastructure.

Block 1 · What · Sprint 1

Enterprise and information

The partner problem, its decision-makers and rules, and the information that supports the decision. Data Model Canvas, exploratory analysis and the market and risk analysis.

EnterpriseInformation
Block 2 · How · Sprints 2–3

Computational

The functions that move and transform data: medallion layers, ETL from object storage, the data warehouse, data cubes and the DataApp package in layers.

Computational
Block 3 · Where · Sprints 4–5

Engineering and technology

How the platform runs and what it costs: DAG orchestration, automated tests, telemetry, cloud pricing, security and access control.

EngineeringTechnology
Sprint 1 deliverables are written in the enterprise and information viewpoints. Tool choices made this week are provisional, and they are revisited when the module reaches the engineering and technology viewpoints.
Enterprise viewpoint: purpose, roles and policies

The enterprise viewpoint describes the system as part of an organisation. It names the community that uses it, the objective it serves, the roles people play and the policies that constrain their behaviour.

Community

A group of actors formed to achieve an objective. In the project, the partner areas that produce and consume the data form the community.

Objective

The practical result the community expects, stated so that it can be verified, such as reducing stock-outs of a product line.

Role

A position defined by behaviour and independent of the person who holds it. Data owner, data steward and analyst are roles.

Process

The sequence of steps through which the objective is pursued, such as the replenishment of a store's stock.

Policy

A rule stated as an obligation, a permission, a prohibition or an authorisation. LGPD requirements and internal sharing rules are policies.

Questions for the partner

Who decides? Which decision, and how often? Which rule cannot be broken? Who is accountable for each dataset?

Information viewpoint: objects, schemas and constraints

The information viewpoint describes the information the system handles, independently of how it is stored or processed. Part 3 of the standard organises that description into three kinds of schema.

Invariant schema

What holds at every moment

Constraints that no state of the system may violate. Stock on hand is never negative, and every sale line refers to an existing product.

Static schema

The state at a given instant

The values of the information objects at one point in time, such as the stock position of each product in each store at midnight.

Dynamic schema

The changes allowed over time

The permitted transitions between states. A purchase order moves from created to approved and then to received, or it is cancelled.

Grain is an information decision. Stating that a fact table holds one row per product, store and day is a choice made in this viewpoint, and every KPI computed later depends on it.
Illustrative case: the enterprise viewpoint

A regional pharmacy chain reports that continuous-use medicines are often missing from its stores. The case is fictitious and serves only to show the reasoning that the groups apply to the partner.

Community and roles

Store managers, the purchasing team, pharmacists and the regional director. The purchasing director is the data owner, and an analyst of the purchasing team acts as data steward.

Objective and decision

Reduce stock-outs of continuous-use medicines. The decision at stake is the weekly order quantity for each product in each store.

Process

Sales reduce stock, the system suggests an order, purchasing approves it, the supplier delivers and the store records the receipt.

Policies

Health data is sensitive personal data under the LGPD (art. 5, II, and art. 11), and the chain's policy forbids using identifiable prescription data for marketing. Store managers are permitted to see only their own store.

Illustrative case: the information viewpoint

The decision about order quantities needs information about sales, stock and orders. The entities below are what the group would expect to find in the dataset, and the reading of the data confirms or corrects them.

EntityIdentifier and main attributesRelationships
storestore_id, city, regionhas many stock positions and sale lines
productproduct_id, name, continuous_use, supplier_idsupplied by one supplier
sale_linesale_id, product_id, store_id, quantity, sold_atrefers to one product and one store
stock_positionstore_id, product_id, date, on_handone row per product, store and day
purchase_orderorder_id, supplier_id, store_id, status, created_athas many order lines, one per product
KPI definition

Stock-out rate

Product-store-days with on_hand = 0 divided by product-store-days observed, computed weekly for continuous-use products.

Schemas

Invariant: on_hand ≥ 0. Static: the daily stock position. Dynamic: the status of a purchase order.

Correspondences keep the viewpoints consistent

Every element of the information viewpoint should trace back to an element of the enterprise viewpoint. The chain below is the traceability that the canvas makes visible.

EnterpriseObjective

Reduce stock-outs of continuous-use medicines

EnterpriseAnalytical question

Which stores run out most often, and of which products?

InformationKPI

Weekly stock-out rate by store and product

InformationGrain and objects

One stock position per product, store and day

DatasetSource tables

stock_position, product, store

A KPI that cannot be traced to an objective is removed from the canvas. An objective without a KPI shows that the information viewpoint is still incomplete.
The Data Model Canvas records the viewpoints in one document

The canvas of the module is divided into groups of numbered blocks. Each group belongs mainly to one or two viewpoints, which tells the group when it can be completed.

Canvas groupBlocksViewpointCompleted in
Business1 objectives · 2 analytical questions · 3 business processesEnterpriseSprint 1
Analytical consumption4 KPIs · 5 users and consumption · 6 open decisions and risksEnterprise InformationSprint 1
Corporate governance7 roles · 8 policies and compliance · 9 metadata and maturityEnterprise InformationSprint 1
Cubea–g dimensional model · h–l data · m–p governanceInformationSprints 1–3
ETL architecture10–16 sources, layers, orchestration, load, quality, telemetry, flowComputational EngineeringSprints 2–4
Architectural tacticsproblem, quality attribute, tactic, evidence, consequencesEngineering TechnologySprints 4–5
The canvas is available on the module home page and exports both JSON and PDF. Its labels are still in Portuguese, and its block numbers are the ones in this table. Blocks of later viewpoints may receive provisional entries in Sprint 1, which are revised as the module reaches them.
What a complete entry looks like in the Sprint 1 blocks

A block is complete when another reader can verify it against the partner and the data. The criteria below apply to the blocks that belong to the enterprise and information viewpoints.

Business · 1–3

Objectives are stated as verifiable results. Analytical questions are phrased as the decision-maker would ask them. Processes are named by a verb and an object, such as "replenish store stock".

Analytical consumption · 4–6

Each KPI has a formula, a unit and a periodicity. Each user is linked to the channel through which the data reaches them. Open decisions are written as questions with an owner.

Corporate governance · 7–9

Owner, steward and custodian are named people or areas. Personal and sensitive data are classified under the LGPD. The location of the data catalogue is stated.

First cube · a–f

The grain fits in one sentence. Facts and metrics are listed with their units. Each dimension answers at least one analytical question from block 2.

The partner Data Package in seven folders

The Brazilian Army delivers a versioned package of public data on federal expenditure, with a cutoff from January 2014 to June 2026. Each folder plays a different role, and only the first three contain the data that the pipeline will ingest.

FolderContentVolumeRole in the project
01_RAW_EXECUCAOMonthly expenditure files of the federal executive, one zipped CSV per month150 files, about 1 GBLongitudinal financial series
02_CURATED_EXECUCAOGoverned monthly and annual panels of the 2nd and 5th Military Regions, plus the 2026H1 extension9,936 + 828 + 374 rowsBenchmark for reconciliation
03_RAW_DOCUMENTAL_2026H1Commitment, liquidation and payment documents of the 65 current UGE, nine families1,002 files, 417,278 rowsDocumentary layer, Jan–Jun 2026
04_REFERENCEUGE registry, organisations (OM), institutional bridges, special cases, IPCA factors, data dictionary10 CSV filesInstitutional identity and validity
05_VALIDATIONExecution manifests, acceptance tests, reconciliations and audits of the governed layers11 filesControl totals
06_TEXT_FIXTURESInvoice (NF) and process number (NUP) signals extracted from free text213 + 644 rowsExploration of text, not governed
07_CHALLENGE_GUIDECharter in Portuguese and English, cutoff note, volumetry diagnosis, evidence matrix6 documentsFraming of the challenge
01 · Raw execution file: 47 columns in five groups

Each monthly file is the public expenditure extract of the whole federal executive, in which the Army is one body among many. The June 2026 file has 66,068 rows, of which 7,799 belong to the Army Command.

GroupColumns (code and name pairs)What it answers
TimeAno e mês do lançamento (YYYY/MM)When the amounts were recorded
Who spendsÓrgão Superior, Órgão Subordinado, Unidade Gestora, Gestão, Unidade OrçamentáriaWhich body and which management unit executes
For what purposeFunção, Subfunção, Programa Orçamentário, Ação, Plano Orçamentário, Programa Governo, Subtítulo, Localizador, UF, Município, Autor EmendaThe policy and programme the expense serves
On whatCategoria Econômica, Grupo de Despesa (GND), Elemento de Despesa, Modalidade da DespesaThe economic nature of the expense
How muchValor Empenhado, Liquidado, Pago, Restos a Pagar Inscritos, Cancelado, Pagos (R$)The amount at each stage of execution
Format of the file
separator ;   encoding Latin-1   decimal comma
"2026/06";"52000";"Ministério da Defesa";…;"970914,05"
Each row is a monthly sum for one combination of unit and classification, not a document. Negative amounts appear, because cancellations and reversals are recorded in the month in which they happen.
02 · Curated panels of the 2nd and 5th Military Regions

The partner has already reduced the raw series to the historical executors of the two regions. The panels are a benchmark against which the groups reconcile their own pipeline, not a substitute for it.

ColumnMeaning
base_ugCanonical key of the executor, consolidating the 160xxx and 167xxx codes
region_canonical2ª RM or 5ª RM
competencia · yearMonth as YYYYMM and its year
committed · liquidatedCommitment and liquidation in nominal reais
paid_current · paid_rpPayment of the current budget and of carried-over commitments (restos a pagar)
*_realThe same amounts deflated by IPCA to reais of December 2025
investment_*Commitment and payment of GND 4, the formal investment group
universe_semanticsWhich universe the row belongs to
Monthly panel · Parquet

9,936 rows, one per base_ug and month, from 2014 to 2025.

Annual panel · CSV

828 rows, one per base_ug and year, with the same measures.

2026H1 extension · CSV

374 rows up to the cutoff 202606, with the executor name, the 2016 archetype and governance columns.

03 · Documentary layer: the stages of expenditure as documents

For the first half of 2026, the package adds the documents behind the monthly sums, filtered to the 65 current UGE. Nine families record the commitment, the liquidation and the payment, and the links between them.

StageFamilyRowsKey and links
Commitment (NE)Despesas_Empenho34,197Código Empenho; unit, supplier, classification, process, bidding modality, amount
Despesas_ItemEmpenho60,532Items of each commitment: sub-element, description, quantity, unit value
Despesas_ItemEmpenhoHistorico69,364Operations on each item over time: inclusion, reinforcement, annulment
Liquidation (NS)Despesas_Liquidacao43,500Código Liquidação; unit, supplier, free-text observation
Despesas_Liquidacao_EmpenhosImpactados51,897Liquidation → commitment, with the amount liquidated in each
Payment (OB)Despesas_Pagamento75,933Código Pagamento; bank order type, supplier, observation, amount
Despesas_Pagamento_EmpenhosImpactados75,752Payment → commitment, with the amount paid in each
Despesas_Pagamento_FavorecidosFinais997Final beneficiaries of payments made through lists
Despesas_Pagamento_ListaFaturas5,106Invoice lists settled by a payment, with discounts and interest
Every row carries four provenance columns: _source_date, _source_member, _source_zip_sha256 and _selection_rule. The two bridge families are N:N, so one liquidation may touch several commitments and one commitment may be liquidated several times.
04 · Reference tables for institutional identity

The monthly files say which management unit spent. The reference tables say which organisation that unit is, to which region it belongs and since when, which is what the Regional and Local perspectives of the charter require.

Who executes

UGE and reconciliation

01_uge_correntes lists the 65 current UGE, 29 in the 2nd and 36 in the 5th Military Region, with their physical codes. 02_reconciliacao relates them to the 69 historical executors and flags which ones enter the current totals.

Which organisation

Organisations and bridges

03_dim_om describes 118 organisations keyed by om_id, preferably the CODOM. Three bridges link region to OM, brigade to OM and UGE to supported OM, each with validity dates and evidence status.

How to read the values

Special cases, IPCA, dictionary

07_situacoes_especiais records five transformed or predecessor units. 08_ipca gives the deflation factor of each month to December 2025, and 09_dicionario defines 17 analytical fields.

The bridges carry no financial values, and their allocation rule says so explicitly. The financial fact stays at the executing UGE, so copying a UGE total to every organisation it supports would count the same money several times.
05 to 07 · Controls, text samples and the challenge guide

The last three folders do not feed the pipeline directly. They tell the group whether its results are right, what free text can offer and how the partner frames the challenge.

05 · Validation

Control totals

Acceptance tests (34), column audits of the sources, completeness of documentary fields, document types and the reconciliation between the raw files and the governed 2026H1 layer, month by month.

06 · Text fixtures

Signals in free text

Invoice numbers found in 213 documents and process numbers (NUP) found in 644. The package states that these signals are not governed dimensions.

07 · Challenge guide

Framing documents

The approved charter, the note on cutoff and provenance, the volumetry diagnosis, the evidence matrix that relates the PI-SSEx reports to the corpus, and the README of the governed model.

The reconciliation files are the reference for the Sprint 3 requirement of the charter: the group shows that its totals match the controls and explains every discrepancy it cannot remove.
Questions for discussing the partner data

The README of the package states six rules of use. Each one points to a decision that the information viewpoint of the canvas has to record before any query is written.

Grain

The raw file, the curated panel and the documentary families describe the same expenditure at three different grains. Which grain does each analytical question of block 2 need?

Identity

A unit appears under a 160xxx and a 167xxx code, and the package counts 65 current UGE against 69 historical executors. Which key should the model use, and how is the difference explained to a manager?

Stages

Commitment, liquidation and payment are distinct concepts, and a payment may settle a commitment of an earlier year. Which stage answers the question the partner asks?

Limits

The package does not measure clinical efficiency or quality of care. Which KPIs written in block 4 would cross that limit, and how should they be rewritten?

The charter is available as a page on the module home, linked from the TAPI entry of the sidebar. Its semantic premise and its restrictions are the main source for these answers.
Group work: blocks 1 to 4 for the partner

For thirty-five minutes, each group writes the first version of the business and analytical consumption blocks for the partner, using the criteria of the previous slide. The professor goes from group to group and asks for the evidence behind each entry.

1Open the canvas

One member opens the canvas from the module home page and shares the screen with the group.

2Write blocks 1 to 3

Objectives that can be verified, questions as the decision-maker asks them, and processes named by a verb and an object.

3Write block 4

At least two KPIs, each with a formula, a unit and a periodicity, traced to an objective of block 1.

4Export and commit

Export the JSON and commit it under /docs/data_model_canvas/ before the session moves on to the pre-class task.

Write what the group does not know in block 6, as a question with an owner. The partner can answer an open question, whereas an objective invented to fill a block would have to be corrected later.
Sprint 1 deliverables, due at the Sprint Review

The two graded artefacts of the sprint are due at the Sprint Review on Friday, October 23, and are written in the enterprise and information viewpoints. Each one is stored in the group repository at the path indicated below.

Weight 4

Data Discovery with Data Model Canvas

A complete canvas supported by a data analysis in a Jupyter Notebook with Apache Spark, focused on opportunities in the partner context.

/docs/data_model_canvas/
Weight 3

Market and Risk Analysis Workbook

Market sizing and risk management for the solution, starting with a Value Proposition Canvas of customer jobs, pains and gains.

/docs/Market-and-Risk-Analysis-Workbook.md
The two artefacts describe the same partner. The customers of the Value Proposition Canvas are the community of the enterprise viewpoint, and their decisions are the analytical questions of block 2, so the workbook is easier to write after the first blocks of the canvas.
Toolchain for the next session

Lesson 2, on Monday, configures Poetry and Jupyter Notebook on top of this toolchain. Each member should arrive with the four items below working on their own machine.

Python 3.12

The interpreter used throughout the module. Apache Spark, required in the Sprint 1 notebook, also needs Java 17.

python3.12 --version   # Windows: py -3.12 --version
java -version
Docker and Docker Compose

Containers for Metabase, databases and the services of later sprints. Self-study 4 compares containers with virtual machines.

docker --version
docker compose version
Git and the group repository

Branch, commit and pull request conventions follow the quality criteria of self-study 5, which count towards the Sprint 5 grade.

git clone <group-repository-url>
MkDocs

The documentation of the project, including the canvas and the market and risk workbook, is published from the /docs folder.

pipx install mkdocs
mkdocs new .   # once, at the repository root
mkdocs serve
Pre-class task for Monday's lesson

Lesson 2 starts from work done at home. The class time on Monday goes to the analysis of the partner data and to the presentation of each group, so the environment and the first steps must be ready before the session.

1 · Environment

Python, Java and Poetry

Python 3.12 and Java 17 from the previous slide, plus Poetry, working on every member's machine.

pipx install poetry
poetry --version
2 · Starter notebook

Download the notebook

It generates a small synthetic dataset of the pharmacy case. Run steps 1 and 2 and keep the outputs.

3 · Reading

Lesson 2 material

The sections on steps 1 to 4 of the exploratory analysis. Monday starts with a short check on them.

Self-study for this session

Five readings assigned on Adalove for this session, about 140 minutes in total, with no grade weight. Self-study 5 is assigned by the group advisor.

Preparation for the partner workshop

The workshop is the occasion on which the groups validate with the partner what they have inferred so far. Each group arrives having studied the TAPI and with its questions already written, so that the time with the partner is spent on what the documents and the data cannot answer.

1 · Study the TAPI

Integrator Project Charter (TAPI)

Read the problem statement, the objectives, the scope and the constraints set by the partner, and compare them with blocks 1 to 4 of the canvas. Every difference between the charter and the canvas indicates either a block to be rewritten or a question for the workshop.

2 · Write the questions

Questions for the partner

Each question starts from a gap found in the session: a decision the group could not attribute to a role, or a KPI without a definition or without an objective in block 1. The group records the questions in its repository, ordered by their effect on the Sprint 1 deliverables.

About this session

Learning the Dataset with Data Model Canvas · 15/10/2026 · Prof. Afonso

Learning objective

By the end of the session, students should be able to explain the five RM-ODP viewpoints and the concern each one separates, describe the folders and schemas of the partner Data Package, and write the business and analytical consumption blocks of the Data Model Canvas for the partner from the enterprise and information viewpoints.

Session strategy

Session with in-class flipping. A fifty-minute exposition presents the RM-ODP, the order in which the module covers the viewpoints and the enterprise and information viewpoints on an illustrative case, followed by a discussion of the folders and schemas of the partner Data Package. The groups then write blocks 1 to 4 of the Data Model Canvas for the partner and commit the exported JSON, with the professor going from group to group. The session closes with the pre-class task for Lesson 2: environment, starter notebook and reading.

Session structure

  1. Daily — 15 min
  2. Why the problem is modelled before the data is queried — 5 min
  3. RM-ODP: the five viewpoints and the module roadmap — 15 min
  4. Enterprise and information viewpoints on an illustrative case — 15 min
  5. The partner Data Package and its schemas — 20 min
  6. Groups write blocks 1 to 4 of the canvas for the partner — 35 min
  7. Pre-class task for Lesson 2, deliverables, self-study and workshop preparation — 15 min