Files
data-meta-model/ontology/pr_metamodel.ttl
T

888 lines
45 KiB
Turtle

@prefix dcterms: <http://purl.org/dc/terms/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix pr: <https://ontology.pernod-ricard.com/metamodel/> .
@prefix prov: <http://www.w3.org/ns/prov#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
pr: a owl:Ontology ;
dcterms:creator "Bastien Gourdon" ;
dcterms:modified "2026-07-30"^^xsd:date ;
dcterms:title "Pernod Ricard Data Meta Model" ;
rdfs:comment "OWL T-Box. Six layers (Ownership, Business, Logical, Delivery, Physical, Consumption) crossed with a provenance axis (Defined vs Captured). Defined objects are written by governance and reviewed; Captured objects are read from Snowflake, Tableau and Looker and are rebuilt, never edited. Bridge annotation properties are declared for future alignment with domain ontologies." ;
owl:priorVersion pr:1.5 ;
owl:versionIRI pr:2.0 ;
owl:versionInfo "1.6.0-draft-2026-07-30" .
pr:BusinessIntelligenceTool a pr:SystemType ;
rdfs:label "BI Tool" .
pr:DataPlatform a pr:SystemType ;
rdfs:label "Data Platform" .
pr:ExternalProvider a pr:SystemType ;
rdfs:label "External Provider" .
pr:KeyPerformanceIndicator a owl:Class ;
rdfs:label "Key Performance Indicator" ;
rdfs:comment "An elevated Metric. Use this class rather than the deprecated isKPI flag." ;
rdfs:subClassOf pr:Metric ;
pr:acronym "KPI" ;
pr:isAbstract false ;
pr:shortLabel "KPI" .
pr:MasterDataSystem a pr:SystemType ;
rdfs:label "Master Data System" .
pr:SourceApplication a pr:SystemType ;
rdfs:label "Source Application" .
pr:acronym a owl:AnnotationProperty ;
rdfs:label "acronym" ;
rdfs:range xsd:string .
pr:activationStatus a owl:DatatypeProperty,
owl:FunctionalProperty ;
rdfs:label "activation Status" ;
rdfs:domain pr:DataDomain ;
rdfs:range xsd:string .
pr:arbitrationStatus a owl:DatatypeProperty ;
rdfs:label "arbitration Status" ;
rdfs:comment "TO_ARBITRATE blocks publication (OW-007). Use this on the object rather than tracking arbitration in a side spreadsheet." ;
rdfs:range xsd:string .
pr:authoringMode a owl:AnnotationProperty ;
rdfs:label "authoring Mode" ;
rdfs:comment "Who writes this, in practice: ASSERTED (a person does), HARVESTED (a job does) or PROPOSED_CONFIRMED (a job proposes and a person accepts). Renamed from curationMode along with the classes: 'curation' belonged to the same jargon family as 'curated'." .
pr:belongsTo a owl:FunctionalProperty,
owl:ObjectProperty ;
rdfs:label "belongs To" ;
rdfs:comment "Position in the categorization tree. One property for the whole tree: SubDomain belongs to DataDomain, BusinessObject belongs to SubDomain. Scope is enforced per class by SHACL rather than by two near-identical properties, and the same relation will serve if a domain family ever appears. Deliberately NOT transitive: entailment would produce two values and break the maxCount 1 shape. To walk the ancestry, use the property path belongsTo+ in the query." .
pr:businessDefinition a owl:DatatypeProperty ;
rdfs:label "business Definition" ;
rdfs:comment """The meaning of a business notion. Belongs to the BusinessConcept.
MUST NOT be carried by a BusinessObject: an object gets its meaning through aboutConcept. Two definitions for one notion are two definitions free to diverge. Enforced by SHACL rather than by rdfs:domain, because Data Elements legitimately carry one too and a declared domain would make them entail BusinessConcept -- which the disjointness axioms would then reject.
MIGRATION: text currently on a Business Object moves to the Concept named by its aboutConcept.""" ;
rdfs:range xsd:string .
pr:businessRule a owl:DatatypeProperty ;
rdfs:label "business Rule" ;
rdfs:range xsd:string .
pr:canonicalName a owl:DatatypeProperty,
owl:FunctionalProperty ;
rdfs:label "canonical Name" ;
rdfs:range xsd:string .
pr:computedBy a owl:ObjectProperty ;
rdfs:label "computed By" ;
rdfs:comment "BR-013. Links a mother Metric to the granular Data Elements that implement it in a given analysis context (period, promo status, scope, unit, currency)." ;
rdfs:domain pr:Metric ;
rdfs:range pr:DataElement ;
rdfs:subPropertyOf prov:wasDerivedFrom .
pr:constrainsField a owl:ObjectProperty ;
rdfs:label "constrains Field" ;
rdfs:comment "Several fields for a composite key." ;
rdfs:domain pr:KeyConstraint ;
rdfs:range pr:Field .
pr:consumes a owl:ObjectProperty ;
rdfs:label "consumes" ;
rdfs:domain pr:Transformation ;
rdfs:range pr:DataStructure ;
rdfs:subPropertyOf prov:used .
pr:containsBIField a owl:ObjectProperty ;
rdfs:label "contains BI Field" ;
rdfs:domain pr:BusinessIntelligenceDataSource ;
rdfs:range pr:BusinessIntelligenceField ;
owl:inverseOf pr:isInBIDataSource .
pr:creationDate a owl:DatatypeProperty ;
rdfs:label "creation Date" ;
rdfs:range xsd:date .
pr:definitionAddress a owl:DatatypeProperty ;
rdfs:label "definition Address" ;
rdfs:comment "Git URI of the code behind a Transformation. Connects the graph to the repository." ;
rdfs:range xsd:anyURI .
pr:denotes a owl:AnnotationProperty ;
rdfs:label "denotes" ;
rdfs:comment "Links a documentation record (Business Object, Business Concept, Data Object) to the CLASS it describes in a domain ontology. Example: ex:BO_16_03_001 pr:denotes fin:Invoice ." .
pr:denotesActivity a owl:AnnotationProperty ;
rdfs:label "denotes Activity" ;
rdfs:comment "Links a Metric or Business Object to the PROCESS or EVENT it describes, typically a prov:Activity subclass. Example: ex:M_16_03_001 pr:denotesActivity fin:InvoiceIssuance ." .
pr:denotesProperty a owl:AnnotationProperty ;
rdfs:label "denotes Property" ;
rdfs:comment "Links a Data Element or Business Concept to the PROPERTY it describes in a domain ontology. Example: ex:DE_16_03_0001 pr:denotesProperty fin:netAmount ." .
pr:dependsOn a owl:ObjectProperty,
owl:TransitiveProperty ;
rdfs:label "depends On" ;
rdfs:comment "Relation-level dependency, view to table. Transitive by nature; in practice compute the closure at query time in Snowflake rather than materialising it with a reasoner." ;
rdfs:domain pr:DataStructure ;
rdfs:range pr:DataStructure ;
pr:harvestSource "SNOWFLAKE.ACCOUNT_USAGE.OBJECT_DEPENDENCIES" .
pr:derivedFrom a owl:ObjectProperty,
owl:TransitiveProperty ;
rdfs:label "derived From" ;
rdfs:comment "Column-to-column lineage. The single highest-value edge in the model, and largely free: Snowflake already computes it." ;
rdfs:domain pr:Field ;
rdfs:range pr:Field ;
rdfs:subPropertyOf prov:wasDerivedFrom ;
pr:harvestSource "SNOWFLAKE.ACCOUNT_USAGE.ACCESS_HISTORY (column lineage) ; dbt manifest" .
pr:derivedFromSourceField a owl:ObjectProperty ;
rdfs:label "derived From Source Field" ;
rdfs:comment "Closes the last gap in the impact chain: from a dashboard field back to the warehouse column." ;
rdfs:domain pr:BusinessIntelligenceField ;
rdfs:range pr:Field ;
rdfs:subPropertyOf prov:wasDerivedFrom .
pr:environment a owl:DatatypeProperty,
owl:FunctionalProperty ;
rdfs:label "environment" ;
rdfs:domain pr:CapturedObject ;
rdfs:range xsd:string .
pr:exampleValue a owl:DatatypeProperty ;
rdfs:label "example Value" ;
rdfs:range xsd:string .
pr:exposes a owl:ObjectProperty ;
rdfs:label "exposes" ;
rdfs:comment "The channels through which the product is actually consumed." ;
rdfs:domain pr:DataProduct ;
rdfs:range pr:DataInterface .
pr:exposesMetric a owl:FunctionalProperty,
owl:ObjectProperty ;
rdfs:label "exposes Metric" ;
rdfs:comment """The harmonisation measure: how many distinct BI Fields expose one certified Metric, and do their expressions agree. Turns 'we harmonised the definitions' from a claim into a count over the real BI estate.
In principle this is derivable from the lineage chain Metric -> DataElement -> Field -> BIField, since lineage carries semantic inheritance. In practice that chain will have holes -- four hops, one of them PROPOSED_CONFIRMED, another harvested from an API that does not resolve custom SQL, extracts or cascaded calculated fields -- and the question it answers is too important to depend on them.
So: TRANSITIONAL CONTROL. Asserted directly, and that is all. No rule is written against the lineage chain: making the assertion conditional on intermediate mappings would create confusion and discourage people from filling it in.
Retirement criterion, to be measured rather than debated: when the lineage chain reproduces the asserted link for more than 95% of certified BI fields across three consecutive reconciliation cycles, the direct link is derivable and can go.""" ;
rdfs:domain pr:BusinessIntelligenceField ;
rdfs:range pr:Metric ;
pr:authoringMode "PROPOSED_CONFIRMED" .
pr:expression a owl:DatatypeProperty ;
rdfs:label "expression" ;
rdfs:comment "The calculated-field formula, Tableau or LookML. Compared against the Metric formula to detect definition drift." ;
rdfs:range xsd:string .
pr:formula a owl:DatatypeProperty ;
rdfs:label "formula" ;
rdfs:range xsd:string .
pr:fullyQualifiedName a owl:DatatypeProperty,
owl:FunctionalProperty ;
rdfs:label "fully Qualified Name" ;
rdfs:comment "DATABASE.SCHEMA.RELATION[.COLUMN]. The actual join key against INFORMATION_SCHEMA: a bare physical name is ambiguous as soon as the same column name exists in two tables." ;
rdfs:range xsd:string .
pr:governedBy a owl:FunctionalProperty,
owl:ObjectProperty ;
rdfs:label "governed By" ;
rdfs:domain pr:DataProduct ;
rdfs:range pr:DataContract .
pr:harvestDate a owl:DatatypeProperty ;
rdfs:label "harvest Date" ;
rdfs:comment "Staleness marker. A Captured Object not refreshed by the last run is a deletion candidate, not a fact." ;
rdfs:range xsd:dateTime .
pr:harvestSource a owl:AnnotationProperty ;
rdfs:label "harvest Source" ;
rdfs:comment "For Captured terms: the system view or API that populates this term. Documents the contract between the meta model and the harvester." .
pr:hasDomainOwner a owl:FunctionalProperty,
owl:ObjectProperty ;
rdfs:label "has Domain Owner" ;
rdfs:domain pr:DataDomain ;
rdfs:range pr:DataDomainOwner .
pr:hasElement a owl:ObjectProperty ;
rdfs:label "has Element" ;
rdfs:domain pr:DataObject ;
rdfs:range pr:DataElement .
pr:hasField a owl:ObjectProperty ;
rdfs:label "has Field" ;
rdfs:comment "Domain widened from Table to PhysicalRelation so that views and external tables carry columns too. Inverse now declared - in v0.9 hasField and livesIn were inverses in fact but not in the model, so they were free to diverge." ;
rdfs:domain pr:DataStructure ;
rdfs:range pr:Field ;
owl:inverseOf pr:livesIn .
pr:hasGovernanceLead a owl:FunctionalProperty,
owl:ObjectProperty ;
rdfs:label "has Governance Lead" ;
rdfs:domain pr:DataDomain ;
rdfs:range pr:DataGovernanceLead .
pr:hasGrainElement a owl:ObjectProperty ;
rdfs:label "has Grain Element" ;
rdfs:comment "The elements whose combination makes a row unique. Grain belongs to a DATASET, not to a calculation rule: a Metric has no rows, so it cannot have a grain of its own -- its grain is derivable from the Data Objects it lands in. Stated at element level rather than object level because it is then CHECKABLE against the harvested PrimaryKey: a declared grain that does not match the real key is an automatic finding." ;
rdfs:domain pr:DataObject ;
rdfs:range pr:DataElement .
pr:hasMetric a owl:ObjectProperty ;
rdfs:label "has Metric" ;
rdfs:domain pr:BusinessObject ;
rdfs:range pr:Metric .
pr:hasProductOwner a owl:FunctionalProperty,
owl:ObjectProperty ;
rdfs:label "has Product Owner" ;
rdfs:comment "Exactly one. Belongs to the operating Sub-Domain -- checkable, not just conventional." ;
rdfs:domain pr:DataProduct ;
rdfs:range pr:DataProductOwner .
pr:hasPublisher a owl:ObjectProperty ;
rdfs:label "has Publisher" ;
rdfs:comment "The author or publisher. This is who gets notified by an impact analysis, and it is NOT the Data Domain owner." ;
rdfs:domain pr:ConsumptionLayerObject ;
rdfs:range pr:Actor .
pr:hasSubDomainOwner a owl:FunctionalProperty,
owl:ObjectProperty ;
rdfs:label "has Sub Domain Owner" ;
rdfs:domain pr:DataSubDomain ;
rdfs:range pr:DataSubDomainOwner .
pr:hasSystemType a owl:FunctionalProperty,
owl:ObjectProperty ;
rdfs:label "has System Type" ;
rdfs:domain pr:System ;
rdfs:range pr:SystemType .
pr:hostedOn a owl:FunctionalProperty,
owl:ObjectProperty ;
rdfs:label "hosted On" ;
rdfs:domain pr:Database ;
rdfs:range pr:System .
pr:identifier a owl:DatatypeProperty,
owl:FunctionalProperty ;
rdfs:label "identifier" ;
rdfs:range xsd:string .
pr:isAbout a owl:FunctionalProperty,
owl:ObjectProperty ;
rdfs:label "is About" ;
rdfs:comment "The single subject of this Business Object, and where its meaning comes from -- a Business Object carries no definition of its own. Exactly one. If the subject cannot be named, the object is not scoped, and that is the most useful thing the rule can tell you. Replaces the 3..10 minimum of BR-004, which was satisfied in v0.6 by attaching unrelated concepts." ;
rdfs:domain pr:BusinessObject ;
rdfs:range pr:BusinessConcept .
pr:isAbstract a owl:AnnotationProperty ;
rdfs:label "is Abstract" ;
rdfs:comment "True on a class that exists only to give its specialisations a common parent and a common shape, and is never instantiated. Declared rather than inferred: a viewer that guessed it from 'has subclasses' flagged Metric as abstract, one of the most instantiated classes in the model, whose only crime is having KPI beneath it. Whether a class is instantiated is a modelling decision." .
pr:isInBIWorkspace a owl:FunctionalProperty,
owl:ObjectProperty ;
rdfs:label "is In BI Workspace" ;
rdfs:domain pr:ConsumptionLayerObject ;
rdfs:range pr:BusinessIntelligenceWorkspace .
pr:isInDatabase a owl:FunctionalProperty,
owl:ObjectProperty ;
rdfs:label "is In Database" ;
rdfs:domain pr:Schema ;
rdfs:range pr:Database .
pr:isInSchema a owl:FunctionalProperty,
owl:ObjectProperty ;
rdfs:label "is In Schema" ;
rdfs:comment "Domain deliberately not declared, and the shapes must keep this OPTIONAL: Neo4j has no schema and BigQuery calls the level a dataset. A minCount 1 would break on the first harvest outside Snowflake. It is also the only property that would distinguish a tabular Dataset from a Graph, which is why that intermediate level is not declared yet -- one client does not pay for a level of hierarchy." ;
rdfs:range pr:Schema .
pr:isNullable a owl:DatatypeProperty ;
rdfs:label "is Nullable" ;
rdfs:range xsd:boolean .
pr:lastQueryDate a owl:DatatypeProperty ;
rdfs:label "last Query Date" ;
rdfs:comment "Lets the model say 'documented but unused for eight months'. A rationalisation argument that costs nothing and is denominated in warehouse spend." ;
rdfs:range xsd:dateTime ;
pr:harvestSource "SNOWFLAKE.ACCOUNT_USAGE.ACCESS_HISTORY" .
pr:lastReviewDate a owl:DatatypeProperty ;
rdfs:label "last Review Date" ;
rdfs:range xsd:date .
pr:logicalFormat a owl:DatatypeProperty ;
rdfs:label "logical Format" ;
rdfs:range xsd:string .
pr:measures a owl:ObjectProperty ;
rdfs:label "measures" ;
rdfs:domain pr:Metric ;
rdfs:range pr:BusinessConcept .
pr:monitoredBy a owl:ObjectProperty ;
rdfs:label "monitored By" ;
rdfs:comment """Declared on BusinessObject, and on DataProduct, and NOWHERE ELSE. Data Objects inherit through represents, Data Elements through hasElement. Declaring a steward at several levels would allow two answers to 'who watches this column'.
Says what the steward DOES, where the deprecated hasSteward only stated a membership.
DataProduct is the one exception to inheritance: it packages Data Objects belonging to several Business Objects, so it cannot inherit a single steward and declares its own.""" ;
rdfs:range pr:DataSteward .
pr:operatedBy a owl:FunctionalProperty,
owl:ObjectProperty ;
rdfs:label "operated By" ;
rdfs:comment "The single Sub-Domain that runs this product. A Data Product spans several Business Objects and therefore cannot inherit accountability the way a Data Object does -- so it declares its own, and exactly one. It is a consumable: there must be no ambiguity about who runs it." ;
rdfs:domain pr:DataProduct ;
rdfs:range pr:DataSubDomain .
pr:ordinalPosition a owl:DatatypeProperty ;
rdfs:label "ordinal Position" ;
rdfs:range xsd:integer .
pr:ownedBy a owl:ObjectProperty ;
rdfs:label "owned By" ;
rdfs:range pr:Actor .
pr:ownedByDomain a owl:FunctionalProperty,
owl:ObjectProperty ;
rdfs:label "owned By Domain" ;
rdfs:comment """The single Data Domain with authority to define the object's rule. Absent on Captured Objects: a Snowflake column is attributed through the Data Element mapped to it, never asserted directly.
Unlike the steward, this one is RE-DECLARABLE on a Data Element. It is inherited by default from the parent chain, but OW-002 attributes an element to the domain that defines its RULE, and a borrowed element -- Brand Code sitting in a Sell Out fact object -- has its rule elsewhere. A Data Element whose owningDomain differs from its parent's is a borrowed element: a signal to check against its represents, not an anomaly to fix.""" ;
rdfs:range pr:DataDomain .
pr:packages a owl:ObjectProperty ;
rdfs:label "packages" ;
rdfs:comment "The scope of the product. Through these Data Objects and their represents, the Business Objects a product makes available are derivable -- which is why a product needs no direct link to a Business Object." ;
rdfs:domain pr:DataProduct ;
rdfs:range pr:DataObject .
pr:physicalDataType a owl:DatatypeProperty ;
rdfs:label "physical Data Type" ;
rdfs:range xsd:string .
pr:physicalName a owl:DatatypeProperty,
owl:FunctionalProperty ;
rdfs:label "physical Name" ;
rdfs:comment "Recorded verbatim, never altered (NR-009). Must NOT be carried by a Metric - that is a layer leak; under BR-013 the physical name belongs on the Data Element." ;
rdfs:range xsd:string .
pr:primarilyStoredIn a owl:FunctionalProperty,
owl:ObjectProperty ;
rdfs:label "primarily Stored In" ;
rdfs:comment """The authoritative Field among the several a Data Element may sit in -- the others being copies, replicas or downstream materialisations.
A SUB-PROPERTY of storedIn on purpose, not a parallel relation. Entailment then guarantees the primary location is always among the locations, so the two can never disagree; two independent properties would allow a Field marked primary here and absent from storedIn there.
Primary and replica rather than master and slave: the industry has moved on, and it reads better to the business.""" ;
rdfs:domain pr:DataElement ;
rdfs:range pr:Field ;
rdfs:subPropertyOf pr:storedIn ;
pr:authoringMode "PROPOSED_CONFIRMED" .
pr:produces a owl:ObjectProperty ;
rdfs:label "produces" ;
rdfs:domain pr:Transformation ;
rdfs:range pr:DataStructure .
pr:qualifiedBy a owl:ObjectProperty ;
rdfs:label "qualified By" ;
rdfs:comment "The Data Objects that give this one its analysis context: a fact dataset is qualified by Product, Customer, Currency and Date. Physically a foreign key, which is why it is checkable against the harvested ForeignKeyConstraint objects -- but the name says the reason rather than the mechanism. NOT ownership. It is also what carries the grain of a fact object, whose own elements are measures and whose keys are not Data Elements (OW-006)." ;
rdfs:domain pr:DataObject ;
rdfs:range pr:DataObject .
pr:queryCount a owl:DatatypeProperty ;
rdfs:label "query Count" ;
rdfs:range xsd:integer .
pr:referencesSourceField a owl:ObjectProperty ;
rdfs:label "references Source Field" ;
rdfs:domain pr:ForeignKey ;
rdfs:range pr:Field .
pr:referencesTargetField a owl:ObjectProperty ;
rdfs:label "references Target Field" ;
rdfs:domain pr:ForeignKey ;
rdfs:range pr:Field .
pr:represents a owl:ObjectProperty ;
rdfs:label "represents" ;
rdfs:comment """The business notion a logical artefact is the data-side counterpart of. One relation at two granularities:
DataObject represents BusinessObject (exactly one -- the pivot, BR-006)
DataElement represents BusinessConcept (at most one)
Renamed from 'implements', which carried software-engineering baggage: a Data Object does not implement a Business Object the way a class implements an interface.
Range is deliberately left open and scoped by SHACL per class, because the two uses have different targets.
A Data Element uses this ONLY when it is dimensional. A measure element reaches meaning through Metric -> computedBy, which says more: it names WHICH metric the meaning travels through. Never both routes on one element.
Functional at DataObject level only -- not declared owl:FunctionalProperty here, since a single global cardinality would be wrong for one of the two uses.""" .
pr:servedBy a owl:ObjectProperty ;
rdfs:label "served By" ;
rdfs:comment "What physically backs the interface: the shared relations, the extract source." ;
rdfs:domain pr:DataInterface ;
rdfs:range pr:DataStructure .
pr:shortLabel a owl:AnnotationProperty,
owl:FunctionalProperty ;
rdfs:label "short Label" ;
rdfs:comment """The name screens use, where the canonical name is the exhaustive one: Domain for Data Domain, SODH Gold for Sell Out Data Hub - Gold.
Declared rather than left to each interface. The same object was being called two different things depending on where you looked, because every viewer kept a display dictionary of its own. One name is authoritative, the other is short, and both live in the model.""" ;
rdfs:range xsd:string .
pr:sourceIdentifier a owl:DatatypeProperty,
owl:FunctionalProperty ;
rdfs:label "source Identifier" ;
rdfs:comment "Native immutable id in the source system (Snowflake object id, Tableau LUID, Looker id). Makes reconciliation idempotent and survives renames, which names do not." ;
rdfs:range xsd:string .
pr:sourcedFrom a owl:ObjectProperty ;
rdfs:label "sourced From" ;
rdfs:comment """The System holding the authoritative data for this object. Replaces the free-text hasSource, and answers a question that text could not: which objects depend on MDM Product.
Domain deliberately omitted -- it applies to Data Elements, Data Structures, Metrics and BI Data Sources alike, and the scope lives in the shapes.
It also settles a naming collision. As a string, "source" meant a system here and a BI surface in BIDataSource, two readings of one word. As a relation towards System, the two are different kinds of thing and the ambiguity disappears.""" ;
rdfs:range pr:System .
pr:status a owl:DatatypeProperty ;
rdfs:label "status" ;
rdfs:range xsd:string .
pr:synonym a owl:DatatypeProperty ;
rdfs:label "synonym" ;
rdfs:range xsd:string .
pr:technicalDefinition a owl:DatatypeProperty ;
rdfs:label "technical Definition" ;
rdfs:range xsd:string .
pr:timeAggregation a owl:DatatypeProperty ;
rdfs:label "time Aggregation" ;
rdfs:range xsd:string .
pr:unit a owl:DatatypeProperty ;
rdfs:label "unit" ;
rdfs:comment "From the Units LoV. Note the LoV currently mixes physical units, currencies (ISO 4217) and value types (Index, Rate, Count) - three different concepts that should eventually be split." ;
rdfs:range xsd:string .
pr:usesBIDataSource a owl:ObjectProperty ;
rdfs:label "uses BI Data Source" ;
rdfs:domain pr:BusinessIntelligenceReport ;
rdfs:range pr:BusinessIntelligenceDataSource .
pr:usesConcept a owl:ObjectProperty ;
rdfs:label "uses Concept" ;
rdfs:comment "The other notions required to read this object correctly. Zero or more, and zero is a legitimate answer." ;
rdfs:domain pr:BusinessObject ;
rdfs:range pr:BusinessConcept .
pr:version a owl:DatatypeProperty ;
rdfs:label "version" ;
rdfs:range xsd:string .
pr:viewDefinition a owl:DatatypeProperty ;
rdfs:label "view Definition" ;
rdfs:range xsd:string .
pr:BaseTable a owl:Class ;
rdfs:label "Base Table" ;
rdfs:comment "A structure that physically holds its rows, as opposed to one that derives them. The common case in a warehouse Gold layer, and where impact analysis usually bottoms out." ;
rdfs:subClassOf pr:DataStructure ;
pr:isAbstract false .
pr:DataContract a owl:Class ;
rdfs:label "Data Contract" ;
rdfs:comment "The service commitment attached to a Data Product: schema, freshness, quality thresholds, support, breaking-change notice period. Candidate alignment: ODCS (Bitol)." ;
rdfs:subClassOf pr:DefinedObject,
pr:DeliveryLayerObject ;
pr:isAbstract false .
pr:DataDomainOwner a owl:Class ;
rdfs:label "Data Domain Owner" ;
rdfs:comment "Accountable for a Data Domain. Exactly one per domain." ;
rdfs:subClassOf pr:Actor ;
pr:acronym "DDO" ;
pr:isAbstract false ;
pr:shortLabel "Domain Owner" .
pr:DataGovernanceLead a owl:Class ;
rdfs:label "Data Governance Lead" ;
rdfs:comment "Runs governance for a Data Domain. The acronym belongs in hasAcronym, not in the label (rule NR-005)." ;
rdfs:subClassOf pr:Actor ;
pr:acronym "DGL" ;
pr:isAbstract false ;
pr:shortLabel "Governance Lead" .
pr:DataProductOwner a owl:Class ;
rdfs:label "Data Product Owner" ;
rdfs:comment "Runs a Data Product day to day: releases, changelog, support, consumer communication. Belongs to the Sub-Domain that operates the product." ;
rdfs:subClassOf pr:Actor ;
pr:acronym "PO" ;
pr:isAbstract false ;
pr:shortLabel "Product Owner" .
pr:DataSteward a owl:Class ;
rdfs:label "Data Steward" ;
rdfs:comment "Monitors a Business Object. Declared there and nowhere else: Data Objects and Data Elements inherit their steward, so that no column can ever have two answers to 'who watches this'." ;
rdfs:subClassOf pr:Actor ;
pr:isAbstract false ;
pr:shortLabel "Steward" .
pr:DataSubDomainOwner a owl:Class ;
rdfs:label "Data Sub Domain Owner" ;
rdfs:comment "Accountable for a Sub-Domain, exactly one per sub-domain. Named to match Data Domain Owner: the two roles are the same responsibility at two levels of the tree, and calling one 'Data Domain Owner' and the other 'Sub-Domain Owner' suggested a difference that does not exist." ;
rdfs:subClassOf pr:Actor ;
pr:acronym "SDO" ;
pr:isAbstract false ;
pr:shortLabel "Sub Domain Owner" .
pr:ExternalTable a owl:Class ;
rdfs:label "External Table" ;
rdfs:comment "Backed by files outside the warehouse. Marks the boundary where lineage leaves Snowflake." ;
rdfs:subClassOf pr:DataStructure ;
pr:isAbstract false .
pr:GovernanceLayerObject a owl:Class ;
rdfs:label "Governance Layer Object" ;
rdfs:comment "Root of the governance layer. Holds the actors and governance objects that are not data objects and therefore sit outside the data layers. Created by insertion above Actor rather than by renaming it, so that every range pointing at Actor keeps stating the nature of its target rather than its position in the model." ;
rdfs:subClassOf pr:MetaModelObject ;
pr:isAbstract true ;
pr:shortLabel "Governance Layer" .
pr:PrimaryKey a owl:Class ;
rdfs:label "Primary Key" ;
rdfs:comment "The column or set of columns whose values make a row unique. Once harvested it makes a declared grain checkable: a hasGrainElement that does not match the real key is an automatic finding." ;
rdfs:subClassOf pr:KeyConstraint ;
pr:isAbstract false .
pr:View a owl:Class ;
rdfs:label "View" ;
rdfs:comment "Depends on other relations through dependsOn, so impact is transitive." ;
rdfs:subClassOf pr:DataStructure ;
pr:isAbstract false .
pr:isInBIDataSource a owl:FunctionalProperty,
owl:ObjectProperty ;
rdfs:label "is In BI Data Source" ;
rdfs:domain pr:BusinessIntelligenceField ;
rdfs:range pr:BusinessIntelligenceDataSource .
pr:livesIn a owl:FunctionalProperty,
owl:ObjectProperty ;
rdfs:label "lives In" ;
rdfs:domain pr:Field ;
rdfs:range pr:DataStructure .
pr:storedIn a owl:ObjectProperty ;
rdfs:label "stored In" ;
rdfs:comment """Where a logical artefact actually sits. One relation at two granularities, like represents:
DataObject storedIn DataStructure (a table, a view, later a node label)
DataElement storedIn Field (a column, later a node property)
Range left open and scoped by SHACL per class, because the two uses have different targets.
THE SEAM. This is the one relation crossing from what governance defines to what a harvester captures, and the one thing a steward confirms: the reconciliation job proposes the mapping on fully qualified name and type, a person accepts it. It is also what makes end-to-end impact analysis possible.
Not functional: the same object exists in DEV, UAT and PROD, and a Data Element may sit in several Fields -- see primaryLocation for the authoritative one. Renamed from physicalizedIn, which was jargon.""" ;
pr:authoringMode "PROPOSED_CONFIRMED" .
pr:BusinessIntelligenceReport a owl:Class ;
rdfs:label "Business Intelligence Report" ;
rdfs:comment "What a Data Governance Lead actually cares about in an impact analysis: not that a column changed, but which reports break and who to warn." ;
rdfs:subClassOf pr:CapturedObject,
pr:ConsumptionLayerObject ;
pr:harvestSource "Tableau Workbook/Sheet ; Looker Look/Dashboard" ;
pr:isAbstract false ;
pr:shortLabel "BI Report" .
pr:BusinessIntelligenceWorkspace a owl:Class ;
rdfs:label "Business Intelligence Workspace" ;
rdfs:comment "The container a BI tool organises its content in: a Tableau project or site, a Looker model. Useful mainly for attribution -- it is where you look to find who publishes what." ;
rdfs:subClassOf pr:CapturedObject,
pr:ConsumptionLayerObject ;
pr:harvestSource "Tableau Metadata API (Project/Site) ; Looker API (Model)" ;
pr:isAbstract false ;
pr:shortLabel "BI Workspace" .
pr:DataSubDomain a owl:Class ;
rdfs:label "Data Sub Domain" ;
rdfs:comment "A coherent slice of a Data Domain, grouping the business objects that belong together: Sell Out inside Sales Performance, Fiscal Calendar inside Financial Performance. It exists so that governance can be delegated and reviewed at a size a person can hold in their head." ;
rdfs:subClassOf pr:DefinedObject,
pr:OwnershipLayerObject ;
pr:acronym "SD" ;
pr:isAbstract false ;
pr:shortLabel "Sub Domain" .
pr:Database a owl:Class ;
rdfs:label "Database" ;
rdfs:comment "The top container of a storage engine: a Snowflake database, a Databricks catalog, a BigQuery project. Named differently by every vendor, which is why the class carries the generic name and the vendor word lives in the harvest annotation." ;
rdfs:subClassOf pr:CapturedObject,
pr:PhysicalLayerObject ;
pr:harvestSource "SNOWFLAKE.INFORMATION_SCHEMA.DATABASES" ;
pr:isAbstract false .
pr:Schema a owl:Class ;
rdfs:label "Schema" ;
rdfs:comment "The namespace grouping structures inside a database. Optional on purpose: Neo4j has no schema and BigQuery calls the level a dataset, so nothing in the shapes may require it." ;
rdfs:subClassOf pr:CapturedObject,
pr:PhysicalLayerObject ;
pr:harvestSource "SNOWFLAKE.INFORMATION_SCHEMA.SCHEMATA" ;
pr:isAbstract false .
pr:Transformation a owl:Class ;
rdfs:label "Transformation" ;
rdfs:comment "The code that turns inputs into outputs: a dbt model, a Snowflake task, an ADF pipeline. Subclass of prov:Activity so that lineage is expressed in a standard vocabulary rather than a private one." ;
rdfs:subClassOf prov:Activity,
pr:CapturedObject,
pr:PhysicalLayerObject ;
pr:harvestSource "dbt manifest.json, Snowflake TASKS, Azure Data Factory pipelines" ;
pr:isAbstract false .
pr:BusinessLayerObject a owl:Class ;
rdfs:label "Business Layer Object" ;
rdfs:comment "What the business means: the shared vocabulary and the measures built on it. A layer root, so it says nothing about provenance." ;
rdfs:subClassOf pr:MetaModelObject ;
pr:isAbstract true ;
pr:shortLabel "Business Layer" .
pr:DataInterface a owl:Class ;
rdfs:label "Data Interface" ;
rdfs:comment "The channel through which a consumer actually gets the data: a Snowflake secure share or listing, a consumption schema with its grants, a file extract to a panel partner, an API or reverse-ETL feed. Not a Data Object (that is structure) and not a BI Data Source (that is one consumer among others). Verifiable: a grant, a share or an endpoint either exists or it does not. The output port in data-mesh terms." ;
rdfs:subClassOf pr:DefinedObject,
pr:DeliveryLayerObject ;
pr:isAbstract false .
pr:ForeignKey a owl:Class ;
rdfs:label "Foreign Key" ;
rdfs:comment "A column, or set of columns, whose values must exist in another structure. Rule OW-006 keeps it out of the Data Elements -- it carries no business notion of its own, it is joining plumbing -- but it still needs somewhere to live, and here it makes the asserted qualifiedBy between Data Objects checkable against what the warehouse really enforces." ;
rdfs:subClassOf pr:KeyConstraint ;
pr:isAbstract false .
pr:KeyConstraint a owl:Class ;
rdfs:label "Key Constraint" ;
rdfs:comment "Gives foreign keys a home. Rule OW-006 says an FK is not a Data Element - true, but it still needs somewhere to live, and it lets the asserted DataObject-references-DataObject edge be checked against reality." ;
rdfs:subClassOf pr:CapturedObject,
pr:PhysicalLayerObject ;
pr:harvestSource "SNOWFLAKE.INFORMATION_SCHEMA.TABLE_CONSTRAINTS + KEY_COLUMN_USAGE" ;
pr:isAbstract true .
pr:LogicalLayerObject a owl:Class ;
rdfs:label "Logical Layer Object" ;
rdfs:comment "How the data is structured." ;
rdfs:subClassOf pr:MetaModelObject ;
pr:isAbstract true ;
pr:shortLabel "Logical Layer" .
pr:System a owl:Class ;
rdfs:label "System" ;
rdfs:comment "A real system: Snowflake, MDM Product, MDM Customer, a panel provider feed, Tableau Server, Looker. Making this a node rather than a string is what makes 'what depends on MDM Product?' answerable." ;
rdfs:subClassOf pr:DefinedObject,
pr:PhysicalLayerObject ;
pr:authoringMode "ASSERTED" ;
pr:isAbstract false .
pr:BusinessConcept a owl:Class ;
rdfs:label "Business Concept" ;
rdfs:comment "A shared business notion WITHOUT a formula. The presence of a formula is the sole discriminator against Metric (rule BR-003)." ;
rdfs:subClassOf pr:BusinessLayerObject,
pr:DefinedObject ;
pr:isAbstract false ;
pr:shortLabel "Concept" .
pr:BusinessIntelligenceDataSource a owl:Class ;
rdfs:label "Business Intelligence Data Source" ;
rdfs:comment "The semantic surface a report is built on. This is where BI meets the warehouse." ;
rdfs:subClassOf pr:CapturedObject,
pr:ConsumptionLayerObject ;
pr:harvestSource "Tableau Published Datasource ; Looker Explore" ;
pr:isAbstract false ;
pr:shortLabel "BI Data Source" .
pr:BusinessObject a owl:Class ;
rdfs:label "Business Object" ;
rdfs:comment "The single anchor of accountability, which is why it stays in the Ownership layer: it is the one object where a steward is declared, and Data Objects and Data Elements inherit from it. It carries NO business definition of its own -- its meaning comes from its aboutConcept. What it does carry is a perimeter: the subject it is about, and the notions needed to read it." ;
rdfs:subClassOf pr:DefinedObject,
pr:OwnershipLayerObject ;
pr:acronym "BO" ;
pr:isAbstract false .
pr:DataDomain a owl:Class ;
rdfs:label "Data Domain" ;
rdfs:comment "A durable area of the business that owns the meaning of its data: Sales Performance, Product & Material, Financial Performance. It is the unit of accountability -- one owner, one governance lead -- and the top of the categorisation tree. Domains are stable; the projects and systems inside them are not." ;
rdfs:subClassOf pr:DefinedObject,
pr:OwnershipLayerObject ;
pr:acronym "DD" ;
pr:isAbstract false ;
pr:shortLabel "Domain" .
pr:DataElement a owl:Class ;
rdfs:label "Data Element" ;
rdfs:comment "The finest defined unit. Its mapping to a physical Field is the ONLY place where the defined graph and the captured graph meet: proposed automatically by name and type matching, confirmed by a Data Steward." ;
rdfs:subClassOf pr:DefinedObject,
pr:LogicalLayerObject ;
pr:authoringMode "PROPOSED_CONFIRMED" ;
pr:isAbstract false ;
pr:shortLabel "Element" .
pr:DeliveryLayerObject a owl:Class ;
rdfs:label "Delivery Layer Object" ;
rdfs:comment "What we promise, to whom, until when. A different question from how the data is structured, hence a layer of its own: version, owner, changelog, support channel, consumers to warn." ;
rdfs:subClassOf pr:MetaModelObject ;
pr:isAbstract true ;
pr:shortLabel "Delivery Layer" .
pr:OwnershipLayerObject a owl:Class ;
rdfs:label "Ownership Layer Object" ;
rdfs:comment "Who is accountable, and how the estate is categorised: domains, sub-domains, and the business objects they answer for. A layer root, so it says nothing about provenance." ;
rdfs:subClassOf pr:MetaModelObject ;
pr:isAbstract true ;
pr:shortLabel "Ownership Layer" .
pr:BusinessIntelligenceField a owl:Class ;
rdfs:label "Business Intelligence Field" ;
rdfs:comment "A field as a business user sees it. exposesMetric is what turns a certified Metric from a definition on paper into something measurable against the real BI estate." ;
rdfs:subClassOf pr:CapturedObject,
pr:ConsumptionLayerObject ;
pr:harvestSource "Tableau calculated fields ; LookML measures and dimensions" ;
pr:isAbstract false ;
pr:shortLabel "BI Field" .
pr:DataObject a owl:Class ;
rdfs:label "Data Object" ;
rdfs:comment "The pivot of the whole model: it represents exactly one Business Object, groups the Data Elements that make it up, and is stored in one or more Data Structures. The single junction between what governance defines and what actually runs -- everything upstream is meaning, everything downstream is machinery." ;
rdfs:subClassOf pr:DefinedObject,
pr:LogicalLayerObject ;
pr:isAbstract false .
pr:DataProduct a owl:Class ;
rdfs:label "Data Product" ;
rdfs:comment "The unit of delivery: what carries a version number, an owner, a changelog, a support channel and a list of consumers to warn. It has no single technical counterpart, and should not: physically it often lands on a Snowflake schema or a dbt project, but that is not what defines it. Operated by exactly one Sub-Domain -- it is a consumable, and there must be no ambiguity about who runs it. Candidate alignment: dcat:Dataset / DPROD." ;
rdfs:subClassOf pr:DefinedObject,
pr:DeliveryLayerObject ;
pr:isAbstract false .
pr:Metric a owl:Class ;
rdfs:label "Metric" ;
rdfs:comment "A quantifiable measurement WITH a formula, a unit and a grain. Under BR-013 a Metric carries the harmonised CALCULATION RULE; variants that differ only by analysis context are Data Elements linked back via computedBy." ;
rdfs:subClassOf pr:BusinessLayerObject,
pr:DefinedObject ;
pr:isAbstract false .
pr:SystemType a owl:Class ;
rdfs:label "System Type" ;
rdfs:comment "What kind of system this is -- source application, master data system, data platform, BI tool, external provider. Coarse on purpose: it exists to group systems in a view, not to model them." ;
pr:isAbstract false .
pr:Actor a owl:Class ;
rdfs:label "Actor" ;
rdfs:comment "A person or a team. Deliberately NOT a MetaModelObject: people are not subject to ownership and lifecycle rules." ;
rdfs:subClassOf pr:GovernanceLayerObject ;
pr:isAbstract true .
pr:ConsumptionLayerObject a owl:Class ;
rdfs:label "Consumption Layer Object" ;
rdfs:comment "The BI estate. Separate from Physical because BI assets have their own lifecycle and their own owner: a dashboard belongs to its author, not to the Data Domain that owns the underlying data." ;
rdfs:subClassOf pr:MetaModelObject ;
pr:isAbstract true ;
pr:shortLabel "Consumption Layer" .
pr:PhysicalLayerObject a owl:Class ;
rdfs:label "Physical Layer Object" ;
rdfs:comment """What actually runs: the systems, containers, structures, columns, keys and code that hold the data.
Like every layer root, this class says nothing about provenance -- and this layer is the one that shows why that matters.
A System is DEFINED: somebody decides that MDM Product is a system worth tracking, and names it. Nobody harvests the list of systems that matter. Everything beneath a system is CAPTURED: databases, schemas, data structures, fields, keys and transformations are read from what is running.
Until v1.4 this class was itself declared a kind of Captured Object, which made every physical class captured by construction and put the five seeded Systems in breach of the harvest rules. v1.6 extended the correction to all six layers: a layer says what an object IS, never how it got here.""" ;
rdfs:subClassOf pr:MetaModelObject ;
pr:isAbstract true ;
pr:shortLabel "Physical Layer" .
pr:Field a owl:Class ;
rdfs:label "Field" ;
rdfs:comment "A physical column. The anchor of impact analysis: everything upstream reaches a Field, everything downstream starts from one." ;
rdfs:subClassOf pr:CapturedObject,
pr:PhysicalLayerObject ;
pr:harvestSource "SNOWFLAKE.INFORMATION_SCHEMA.COLUMNS" ;
pr:isAbstract false .
pr:MetaModelObject a owl:Class ;
rdfs:label "Meta Model Object" ;
rdfs:comment "Anything the meta model describes. Actors are deliberately NOT Meta Model Objects." ;
pr:isAbstract true .
pr:DataStructure a owl:Class ;
rdfs:label "Data Structure" ;
rdfs:comment """Anything that carries Fields and reads as a set of rows. Never instantiated directly: a harvest types the concrete kind, and a viewer shows that kind rather than this parent.
WHY THE PARENT EXISTS. Three properties need exactly this set as their scope: storedIn from a Data Object, hasField and its inverse livesIn, and dependsOn. Without it each would have to be tripled, once per concrete kind, and the checks would go with them.
WHY THE NAME CHANGED. It was PhysicalRelation, from Codd, where a relation IS a table. In an ontology "relation" reads as a property, and the word locks the class into the tabular world. A Neo4j node label, a Mongo collection and a Kafka topic all carry fields; none is a relation.
EXTENSION POINT for non-tabular storage. Nothing at Pernod Ricard is non-tabular today, so no such class is declared -- four terms were deprecated in v1.2 precisely because nobody instantiated them. The day a graph enters scope, the insertion is additive and touches no instance, because subClassOf is transitive:
pr:Dataset rdfs:subClassOf pr:DataStructure .
pr:Graph rdfs:subClassOf pr:DataStructure .
pr:BaseTable rdfs:subClassOf pr:Dataset . # instead of DataStructure
pr:inSchema rdfs:domain pr:Dataset . # instead of nothing
Existing BaseTable assertions stay DataStructure by entailment, every shape targeting DataStructure keeps working, and storedIn does not move. The extension point is paid once; the extension is paid when it arrives.""" ;
rdfs:subClassOf pr:CapturedObject,
pr:PhysicalLayerObject ;
pr:harvestSource "SNOWFLAKE.INFORMATION_SCHEMA.TABLES" ;
pr:isAbstract true .
pr:CapturedObject a owl:Class ;
rdfs:label "Captured Object" ;
rdfs:comment "Read from a running system and rebuilt on every run. Never hand-edited. Carries sourceIdentifier, fullyQualifiedName and harvestedOn instead of declared ownership: attribution is INFERRED through the Data Element it is mapped to, never asserted on the node." ;
rdfs:subClassOf pr:MetaModelObject ;
pr:authoringMode "HARVESTED" ;
pr:isAbstract true .
pr:DefinedObject a owl:Class ;
rdfs:label "Defined Object" ;
rdfs:comment "Somebody decided it. Written by governance, edited through a pull request on the domain TTL file, and subject to the full identity and lifecycle shape: identifier, name, owner, owning Data Domain, status, version." ;
rdfs:subClassOf pr:MetaModelObject ;
pr:authoringMode "ASSERTED" ;
pr:isAbstract true .
[] a owl:AllDisjointClasses ;
owl:members ( pr:DefinedObject pr:CapturedObject ) .
[] a owl:AllDisjointClasses ;
owl:members ( pr:BusinessObject pr:DataObject pr:DataInterface pr:DataProduct ) .
[] a owl:AllDisjointClasses ;
owl:members ( pr:BusinessConcept pr:Metric ) .
[] a owl:AllDisjointClasses ;
owl:members ( pr:BaseTable pr:View pr:ExternalTable ) .
[] a owl:AllDisjointClasses ;
owl:members ( pr:PrimaryKey pr:ForeignKey ) .
[] a owl:AllDisjointClasses ;
owl:members ( pr:BusinessIntelligenceWorkspace pr:BusinessIntelligenceDataSource pr:BusinessIntelligenceField pr:BusinessIntelligenceReport ) .
[] a owl:AllDisjointClasses ;
owl:members ( pr:OwnershipLayerObject pr:BusinessLayerObject pr:LogicalLayerObject pr:DeliveryLayerObject pr:PhysicalLayerObject pr:ConsumptionLayerObject ) .