feat(contracts): dprod:lifeCycleStatus super-property; reject \xc2\xa75.8/\xc2\xa75.9 pending Stephen#203
Open
tonyseale wants to merge 2 commits into
Conversation
|
@tonyseale is attempting to deploy a commit to the EKGF Team on Vercel. A member of the Team first needs to authorize it. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Two small follow-ups to #199 (now merged on develop):
1. Abstract lifecycle-status super-property
Introduces
dprod:lifeCycleStatusas the default DPROD pattern for "where is this resource in its lifecycle" properties. The three concrete lifecycle properties become sub-properties:dprod:offerLifeCycleStatus(ondprod:DataOffer)dprod:contractLifeCycleStatus(ondprod:DataContract)dprod:lifecycleStatus(ondprod:DataProduct, pre-existing in main DPROD)The data-product property is folded into the family non-destructively via two additional axioms in
dprod-contracts.ttl:The second axiom keeps existing
dprod:DataProductLifecycleStatusinstances valid asskos:Conceptvalues under the inherited range.dprod:dutyStateis deliberately not a sub-property — it is an evaluator-computed state, not an authored lifecycle status.Spec §4.1 rewritten as a property hierarchy table; §4.1.1 added with the recommended Turtle pattern for new lifecycle properties.
2. §5.8 and §5.9 rejected for now (pending Stephen)
A TSNOTE appended to
changes-plan.mdrecords that the basket-model proposals (§5.8 single-targetDataOffer; §5.9 1..*dprod:acceptsOffer) are being rejected for now because they "seem to increase complexity rather than reduce it." Stephen's original proposal text in §5.8 and §5.9 is left intact for him to respond to. No shape changes, no example refactor, no formal-semantics changes — the basket model is not implemented in this PR.The small edit to
contracts-guide.md(dropping the multi-target example) is a docs tidy that came along while reading the section.Files changed (4)
dprod-contracts/dprod-contracts.ttldprod-contracts/docs/specification.mddprod-contracts/docs/changes-plan.mddprod-contracts/docs/contracts-guide.mddprod-contracts-shapes.ttlis not touched —DataOfferShape.odrl:targetis still unconstrained,DataContractShape.dprod:acceptsOfferis stillsh:maxCount 1.Test plan
baseline,data-contract,data-use-policy,odcs) still validate with zero pyshacl recursion warnings.DataProductLifecycleStatus rdfs:subClassOf skos:Conceptresolve as expected.dprod:dutyStateis NOT in the new hierarchy.DataOfferShapehas no newodrl:targetcardinality constraint (i.e. §5.8 is not silently landed).DataContractShape.dprod:acceptsOfferstill hassh:maxCount 1(i.e. §5.9 is not silently landed).🤖 Generated with Claude Code