Summary
Introduce an optional Data Semantics component in ODPS to describe the meaning of a data product and its payloads, and to associate payload descriptions with Data Access interfaces. The ODPS 4.3 development draft already explores this design. This ODEP is draft, targets ODPS 4.3 for consideration and does not approve or release the draft.
Problem Statement
ODPS describes data products and how to access them, but consumers also need to discover what the product and its delivered data mean. Semantic definitions, vocabulary references and mappings can be scattered across systems. Without a consistent way to link a payload to its description, consumers and agents may not know which semantics apply to an interface or response.
Motivation and Business Value
Make semantic context discoverable alongside a data product, so producers can publish reusable descriptions and consumers can assess meaning before integration. Linking access responses to named descriptions can reduce interpretation work and support interoperability across tools. Optional assessments can expose evidence and gaps without pretending that a score proves correctness or approval. These are expected benefits, not measured results.
Proposed Changes
- Add optional
product.semanticswith product-level descriptions, named payload profiles and optional named source systems. - Allow inline semantic document metadata and optional content, or standalone
$refreferences to a semantic document or complete profile. Require adefaultprofile whenpayloadsis supplied. - Allow a Data Access profile to reference one named payload profile or bind multiple API operations and responses to profiles.
- Allow a payload profile to wrap an artifact with an optional assessment, keeping the artifact, method, scores and supporting report distinct.
- Define reference resolution, portability and validation expectations, including what must be reported as unresolved or not checked.
The development specification is the detailed design under review. This proposal does not mandate a particular vocabulary service, RDF serialization, data contract, mapping language or generation tool.
Technical Design
An inline semantics object must contain productSemantics, payloads, or both; sources alone and empty semantics objects are invalid. An inline document identifies a supported media type with format; spec, document version, description and named source references are optional. An inline description without spec carries metadata but no semantic content. A reference object contains only $ref. Source identifiers used by a description must exist in the effective semantics object's sources map.
If payloads is present, it contains default and may contain additional named profiles. A Data Access profile can point to one profile or provide nonempty bindings with operationId, a profile reference, and optional response status and mediaType. Omitted selectors cover all values of that dimension; bindings for an operation must not overlap. Profile pointers are resolved against the effective product document after an external semantics object is loaded.
Relative references otherwise resolve against the document containing each reference, preserving document base URIs and detecting cycles. A referenced artifact does not by itself state its media type; use an ODPS profile when that metadata must be carried explicitly. Portable packages should include local dependencies or disclose unresolved external ones. The draft schema validates the document shape; cross-references, selector overlap and content checks need additional validation.
For an assessment wrapper, artifact is required and assessment is optional. Indicators such as coverage, mappingConfidence and overallScore are method-defined integers from 0 to 100. structuralValidity can be valid, invalid or notEvaluated. An omitted score means not assessed or unavailable, not zero. Scope, method, assessment time and artifact version matter when interpreting results. Assessments do not establish semantic correctness, human review or approval.
Examples
A product can supply a default payload description and bind a Data Access profile to it:
product:
semantics:
payloads:
default:
format: text/turtle
spec: |
@prefix ex: <https://example.org/> .
ex:Account a ex:Payload .
dataAccess:
default:
outputPortType: API
semantics:
$ref: '#/product/semantics/payloads/default'
This is a fragment, not a complete ODPS product. The draft examples also demonstrate external profiles, multiple operation bindings and an optional assessment. Their sample scores and URLs are illustrative.
Backward Compatibility
The new component and access bindings are optional in the 4.3 development design; existing products do not have to add them. The draft schema is derived from the 4.2 schema, but that alone does not prove every 4.2 document or downstream implementation will behave identically under 4.3. Older validators and consumers may ignore, reject or fail to interpret the new fields. Compatibility, migration and version-specific schema behavior need explicit testing before release. ODPS 4.2 remains the released baseline; no 4.2 schema is changed by this proposal.
Interoperability
The design permits multiple listed media types, including RDF serializations, JSON and YAML, and separates a data access interface's definition from its semantic payload profile. JSON or YAML alone does not define semantic relationships; interpretation depends on the referenced model or vocabulary. Consumers need consistent reference resolution and clear reporting of unsupported formats and unresolved dependencies. API operation and response selectors must be checked against the actual API specification separately; the development checker does not perform that check.
Security and Privacy
Semantic documents, source URLs, reports and examples can reveal sensitive information or contain credentials; contributors should avoid publishing secrets and inappropriate sample data. Implementations that resolve external references should apply appropriate access controls and safe retrieval limits, including protections against unexpected network access and cyclic or excessive resolution. Basic structural validation must not require network retrieval. These are implementation concerns to address in review, not a claim that the development checker provides all such protections.
Impact on Implementations
Schema consumers, SDKs, validators, editors and catalogs may need to represent and preserve the component, resolve profiles, validate bindings and expose unsupported or unresolved checks. The existing local development checker supports selected reference and cross-reference checks and parses Turtle when RDFLib is installed; it is not a production resolver. Other formats, remote resolution, API-spec selector verification and packaging are not established by the current checker. Consumers must not equate structural validity with semantic correctness.
Alternatives Considered
- Keep semantics solely in external documentation: avoids new ODPS fields but leaves discovery and the relationship to payloads dependent on separate conventions.
- Use only a single product-level semantic link: simpler, but cannot distinguish multiple payloads or bind specific interface responses to profiles.
- Require one vocabulary or RDF serialization: could narrow implementation choices and exclude existing approaches; the draft instead lists several formats and does not prescribe a vocabulary service.
- Treat assessment scores as proof of correctness: rejected because scope, method and evidence vary and automated scores do not establish semantic truth or approval.
Acceptance Criteria
- The TSC and community review the component, payload bindings, reference rules and assessment model; an authorized decision is recorded separately from a merged pull request.
- The 4.3 development schema and documentation agree on optional semantics, the required default payload when present, standalone references and supported formats.
- Tests cover valid and invalid shapes, reference resolution and cycles, source names, non-overlapping bindings, assessment fields and missing or unsupported checks. API-spec selector validation is either implemented and tested or explicitly reported as not checked.
- The release review establishes and documents compatibility with representative 4.2 products and downstream consumers, including migration guidance where needed.
- Examples distinguish demonstrative scores from verified assessments and include enough context to interpret scope and provenance.
- Security and portability guidance addresses referenced content, local artifacts and unresolved dependencies; limitations of the development checker are clearly disclosed.
Implementation Plan
The semantics repository already contains a development specification, derived schema, examples and a local checker; their existence is preparatory work, not approval or release. The proposal lead coordinates review and decision. An implementation owner has not been assigned.
After an authorized acceptance, agree an implementation owner and release plan, resolve review findings, integrate the approved design with the ODPS development schema and documentation, and test affected tooling. Follow the project's release process before publishing an official version. ODPS 4.3 is the intended target shown by the current draft, subject to the release decision; no release date is set.
Open Questions
- Are the supported media types and the distinction between referenced artifacts and ODPS profile envelopes sufficient for expected implementations?
- Should API-spec selector verification, additional parsers or remote resolution be required for the first release, or explicitly deferred?
- Are the optional assessment indicators, scope and version-provenance rules clear enough to avoid misleading comparisons?
- What compatibility evidence, migration guidance and packaging behavior should be required for 4.3?
- Who will own implementation and which release candidate will carry the change?
References
- ODPS 4.3 development site: Data Semantics.
- Development specification at the reviewed source revision, schema and development checker and limitations.
- Released ODPS 4.2 and ODEP process.
Decision History
Draft created on 2026-12-01 from the ODPS 4.3 semantics development material. No community-review deadline, authorized acceptance decision or release has been recorded.