Skip to content

Add dprod-contracts folder#156

Open
tonyseale wants to merge 10 commits intoEKGF:developfrom
tonyseale:add-dprod-contracts
Open

Add dprod-contracts folder#156
tonyseale wants to merge 10 commits intoEKGF:developfrom
tonyseale:add-dprod-contracts

Conversation

@tonyseale
Copy link
Copy Markdown
Contributor

Summary

  • Adds a new dprod-contracts folder containing DPROD data contract ontology files
  • Includes TTL files for the contract ontology, SHACL shapes, and examples
  • Includes supporting documentation (DATA-CONTRACTS.md, comparison report, display HTML)

Contents

  • dprod-contracts.ttl - Main DPROD contracts ontology
  • dprod-contracts-shapes.ttl - SHACL shapes for validation
  • dprod-contract-examples.ttl - Example contract instances
  • DATA-CONTRACTS.md - Data contracts documentation
  • docs/ODCS-DPROD-Comparison-Report.md - ODCS/DPROD comparison
  • docs/display.html - HTML display file
  • README.md - Folder readme
  • requirements.txt - Python dependencies

🤖 Generated with Claude Code

jgeluk
jgeluk previously approved these changes Jan 29, 2026
tonyseale and others added 6 commits March 2, 2026 11:49
Adds DPROD contract TTL files (ontology, shapes, examples), documentation,
and supporting files.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Reformats the contracts ontology to match the styling of the main DPROD
ontology: 2-space indentation, header comments block, @base declaration,
Dublin Core annotation property declarations, rdfs:Class alongside
owl:Class, rdf:Property alongside owl property types, dct:description
instead of skos:definition, rdfs:comment instead of skos:note, lowercase
rdfs:label without @en, prefix-form rdfs:isDefinedBy, and period
terminator on its own line.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@tonyseale tonyseale force-pushed the add-dprod-contracts branch from e48aeda to c994721 Compare March 2, 2026 16:43
tonyseale and others added 4 commits March 12, 2026 22:12
Domain-specific terms (actions, operands, concept values) that each
adopter would define themselves are moved out of the dprod: namespace
into ex: (https://example.org/) across all 4 example TTL files.

- 8 actions: deliver, notify, nonDisplay, report, conformTo, query, export, log
- 12 operands: recipientType, classification, processingMode, environment, etc.
- 14 concept values: internal, analytics, compliance, production, staging, etc.
- Add @Prefix ex: declaration where missing
- Rename section headers: "Inline DPROD Vocabulary" → "Inline Domain Vocabulary"
- Fix baseline.ttl bug: restore missing ex:deliver subject IRI
- Update dprod:select SPARQL string to use ex: namespace
- Core dprod: framework terms (DataContract, Subscription, state, path, etc.) unchanged

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants