Ontologies vs Semantic Layers
- 15Unfamiliar
- 0Learning
- 0Familiar
- 0Mastered
What does an ontology define in the context of data governance?
What does an ontology define in the context of data governance?
15 questions
- 1
What does an ontology define in the context of data governance?
- A
The authentication and access control policies for data
- B
The structure of meaning: entities, properties, and relationships
- C
The physical storage layout of data in a warehouse
- D
The logic of measurement: metrics, dimensions, and calculations
Correct answer
BThe structure of meaning: entities, properties, and relationships
Explanation
An ontology defines what things exist in a domain and how they relate—entities, properties, and relationships. It is about the structure of meaning, not measurement logic.
- A
- 2
What is the primary job of a semantic layer?
- A
To model entities and relationships between business concepts
- B
To catalog all data assets with metadata tags
- C
To define metrics and dimensions with consistent calculation logic
- D
To enforce data quality rules on raw data sources
Correct answer
CTo define metrics and dimensions with consistent calculation logic
Explanation
A semantic layer defines how metrics are calculated and dimensions are grouped, ensuring consistent measurement across tools and queries.
- A
- 3
Which question does a semantic layer answer?
- A
What is X and how does it relate to Y?
- B
Who owns the data for X?
- C
Where is the raw data for X stored?
- D
How do we measure X?
Correct answer
DHow do we measure X?
Explanation
A semantic layer provides measurement logic (calculations, dimensions, aggregation). The ontology answers 'what is X' and its relationships.
- A
- 4
What characterizes a modern semantic layer according to the guide?
- A
Imperative, real-time, and embedded in databases
- B
Visual, drag-and-drop, and limited to BI tools
- C
Declarative, version-controlled, and API-accessible
- D
Proprietary, closed-source, and single-tool integrated
Correct answer
CDeclarative, version-controlled, and API-accessible
Explanation
A modern semantic layer is declarative (what to compute, not how), version-controlled (code reviews), and API-accessible (any consumer can query).
- A
- 5
In the spectrum of ontology, what is the lightest and least structured form?
- A
Flat glossary
- B
Hierarchical glossary
- C
Formal ontology
- D
Concept model
Correct answer
AFlat glossary
Explanation
A flat glossary is just a list of terms with definitions, capturing no structure or relationships. It is the least formal end of the ontology spectrum.
- A
- 6
Which of the following is an example of a formal ontology used in healthcare?
- A
FIBO
- B
SNOMED CT and FHIR
- C
DBT's metricflow
- D
LookML
Correct answer
BSNOMED CT and FHIR
Explanation
SNOMED CT and FHIR are formal ontologies for healthcare that support reasoning about diagnoses, procedures, and encounters.
- A
- 7
What is the practical recommendation for most enterprise data teams regarding ontology?
- A
Build a structured glossary with hierarchy and relationships, not a full formal ontology
- B
Start with a formal ontology in OWL or RDF
- C
Create a flat glossary and then immediately implement a formal ontology
- D
Skip ontology entirely and focus only on semantic layers
Correct answer
ABuild a structured glossary with hierarchy and relationships, not a full formal ontology
Explanation
Most teams don't need a formal ontology; they need something in the middle—a structured glossary with hierarchical terms and explicit relationships, which is maintainable.
- A
- 8
How does change propagation differ between ontology and semantic layer changes?
- A
Ontology changes are broad and high-stakes; semantic layer changes are specific and traceable
- B
Ontology changes are easy and quick; semantic layer changes are complex and slow
- C
Only semantic layer changes require governance; ontology changes are informal
- D
Both have identical impact and governance requirements
Correct answer
AOntology changes are broad and high-stakes; semantic layer changes are specific and traceable
Explanation
An ontology change (e.g., redefining 'customer') affects many metrics and dashboards broadly. A semantic layer metric change (e.g., updating a revenue formula) is traceable and bounded.
- A
- 9
In the SaaS company example with three revenue concepts, what does the ontology layer provide?
- A
The exact calculation formulas for each revenue type
- B
Definitions of recognized, booked, and built revenue as distinct subtypes with properties
- C
The source tables where revenue data is stored
- D
The access permissions for viewing revenue reports
Correct answer
BDefinitions of recognized, booked, and built revenue as distinct subtypes with properties
Explanation
The ontology defines these three as subtypes of revenue, each with different properties (e.g., accounting period, contract term). The semantic layer provides the calculation logic.
- A
- 10
Which scenario is described as an ontology-first problem?
- A
An e-commerce company where marketing and finance calculate conversion rate differently
- B
A financial services firm needing to report to multiple regulators
- C
A retail company deploying an LLM to answer customer queries
- D
A healthcare network with different definitions of 'patient encounter' across acquired hospitals
Correct answer
DA healthcare network with different definitions of 'patient encounter' across acquired hospitals
Explanation
The healthcare network needs to first agree on what an 'encounter' is as a concept, which is an ontology problem, before measuring it.
- A
- 11
What is the e-commerce conversion rate scenario an example of?
- A
A semantic-layer-first problem
- B
A problem requiring both ontology and semantic layer from the start
- C
A problem that can be solved with a data dictionary alone
- D
An ontology-first problem
Correct answer
AA semantic-layer-first problem
Explanation
In this case, entities are clear; the conflict is in measurement logic (how conversion rate is calculated). That is a semantic layer problem.
- A
- 12
For AI systems that answer data questions, why is ontological knowledge important?
- A
It directly improves the speed of query execution
- B
It ensures the AI can generate SQL without errors
- C
It replaces the need for a semantic layer entirely
- D
It provides the business context needed to understand entities and relationships before calculating metrics
Correct answer
DIt provides the business context needed to understand entities and relationships before calculating metrics
Explanation
LLMs need to understand what terms like 'customer' and 'retention' mean in the business context (ontological knowledge) to avoid hallucinated logic. The semantic layer then provides the calculation.
- A
- 13
What is the role of a context layer as described in the guide?
- A
To integrate ontology definitions, semantic layer formulas, and data assets into one platform with governance
- B
To provide a chat interface for business users to ask questions
- C
To replace both ontology and semantic layer with a single tool
- D
To act as a data warehouse that stores all raw data
Correct answer
ATo integrate ontology definitions, semantic layer formulas, and data assets into one platform with governance
Explanation
A context layer is a platform that makes ontological definitions and semantic layer metrics discoverable, linked to data assets, and governed consistently.
- A
- 14
Which of the following is identified as a common failure mode?
- A
Starting with a lightweight glossary and then iterating
- B
Starting with a pilot project focusing on a single domain
- C
Connecting ontology and semantic layer through a context layer
- D
Deploying a semantic layer without first clarifying ontology
Correct answer
DDeploying a semantic layer without first clarifying ontology
Explanation
A failure mode is deploying a semantic layer without ontological clarity, leading to metrics that use different entity definitions and produce conflicting numbers.
- A
- 15
What is the recommended sequence to get started?
- A
Start by implementing a data catalog without any governance
- B
Start by building a semantic layer with 200 metrics, then define entities later
- C
Start with a glossary capturing core entities and relationships inside a context layer, then connect semantic layer tools
- D
Start with a full formal ontology before any semantic layer work
Correct answer
CStart with a glossary capturing core entities and relationships inside a context layer, then connect semantic layer tools
Explanation
The practical sequence is to start with a structured glossary (light ontology) in a context layer, then connect semantic layer definitions, building governance proportionally.
- A

Ask anything
We've read this whole study set, so questions about it get the best answers.