Skip to content

Commit bf2eec0

Browse files
jgelukclaude
andauthored
Ballot 4: remove dprod:Protocol class (DPROD-33, #143) (#172)
## Summary - Removes the `dprod:Protocol` OWL class, resolving the modeling question in #143 (part of #98). - `dprod:protocol` now points to a URI / SKOS concept rather than an under-specified class. Resolves: DPROD-33, Closes #143 ## Test plan - [ ] `bash build.sh` succeeds - [ ] Generated spec in `dist/index.html` no longer references `dprod:Protocol` - [ ] Examples still validate against updated shapes Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent d4ca3c7 commit bf2eec0

3 files changed

Lines changed: 1 addition & 18 deletions

File tree

ontology/dprod/dprod-ontology.ttl

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -78,13 +78,6 @@ dprod:Enumeration
7878
rdfs:label "enumeration" ;
7979
.
8080

81-
dprod:Protocol
82-
a owl:Class, rdfs:Class ;
83-
dct:description "A detailed specification, possibly including a specific version, for how to communicate with a service."@en ;
84-
rdfs:isDefinedBy dprod: ;
85-
rdfs:label "protocol" ;
86-
.
87-
8881
dprod:SecuritySchemaType
8982
a owl:Class, rdfs:Class ;
9083
dct:description "A classification encompassing a set of rules used for authentication and communication."@en ;
@@ -211,7 +204,7 @@ dprod:protocol
211204
dct:description "A protocol (possibly one of many options) used to communicate with this data service."@en ;
212205
rdfs:isDefinedBy dprod: ;
213206
rdfs:domain dcat:DataService ;
214-
# rdfs:range rdf:resource ; # better let user decide whether they want Protocol class or own class or skos
207+
# rdfs:range not specified; users reference external URIs or SKOS concepts (DPROD-33)
215208
rdfs:label "protocol" ;
216209
.
217210

ontology/dprod/dprod-shapes.ttl

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -129,14 +129,6 @@ dprod-shapes:DataProductLifecycleStatusShape
129129
rdfs:isDefinedBy dprod-shapes:;
130130
.
131131

132-
dprod-shapes:ProtocolShape
133-
a sh:NodeShape;
134-
rdfs:label "protocol shape" ;
135-
dct:description "A detailed specification, possibly including a specific version, for how to communicate with a service."@en ;
136-
rdfs:isDefinedBy dprod-shapes:;
137-
sh:targetClass dprod:Protocol;
138-
.
139-
140132
dprod-shapes:SecuritySchemaTypeShape
141133
a sh:NodeShape;
142134
rdfs:label "security schema type shape" ;
@@ -361,7 +353,6 @@ dprod-shapes:DataService-protocol
361353
a sh:PropertyShape;
362354
rdfs:isDefinedBy dprod-shapes:;
363355
sh:path dprod:protocol;
364-
sh:class dprod:Protocol;
365356
dct:description "A protocol (possibly one of many options) used to communicate with this data service."@en ;
366357
rdfs:label "data service protocol shape" ;
367358
.

spec-generator/main.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,6 @@ def main():
4747
'Dataset',
4848
'DataProductLifecycleStatus',
4949
'InformationSensitivityClassification',
50-
'Protocol',
5150
'SecuritySchemaType',
5251
'Enumeration'
5352
])

0 commit comments

Comments
 (0)