Semantic Layer course
Foundations 25 min AccuracyConsistencyExplainability

Why a semantic layer

One question, three answers, nobody lying

Section 1

The Tuesday meeting

Next section
Section 2

Where the meaning was hiding

Next section
Section 3

What a semantic layer actually is

Next section
Section 4

Why agents raise the stakes

Next section
Section 5

ACE: the three things you are buying

Next section
Section 6

What you will build

Hands on

Reproduce the disagreement

15 min

Run three defensible SQL queries against one loan book and get three different default counts.

make lab-up            # once, starts Postgres + Fuseki + Ontop
make lab lab01-two-answers

Full instructions, starter files and the solution are in labs/modules/lab01-two-answers/README.md. The lab checks its own work, so you will know if it passed.

Check yourself

Quiz

6 questions, pass mark 70%. Answers are explained either way, so a wrong guess is not wasted.

1 Three teams report different counts for loans in default, and no team made an arithmetic error. What is the cause?
2 A semantic layer is best described as:
3 Which two things go wrong when an agent queries loan_master with no semantic layer? (pick two)

Select all that apply.

4 ACE stands for:
5 Meridian's Finance team counts 1,203 defaults where Risk counts 1,847. Both used the 90-day rule. What else did Finance require?
6 Which statement about an ontology-driven semantic layer is true, compared with a BI semantic layer?