Commit bb328d0
authored
feat(openlabel-v2): migrate PAS 1883 to ISO 3450x with improved SHACL messages (#70)
* chore(linkml): pin submodule to feat/envited-x-pipeline
Pin linkml submodule to the consolidated feature branch containing
all ENVITED-X pipeline enhancements:
- feat(generators): deterministic RDFC-1.0 output with WL hashing
- feat(generators): --normalize-prefixes flag
- feat(generators): --default-language flag
- feat(gen-shacl): --message-template for sh:message
- feat(gen-shacl): sh:sparql from rules + exclusive-value patterns
- fix(owlgen): covering axiom edge cases
- fix(shaclgen): minCount/maxCount 0 for zero cardinality
- fix(shaclgen): sh:pattern in any_of
- fix(generators): normalize trailing newline in serialization
- fix(generators): bundle rdf_canonicalize in linkml package
Pin: 3d3a52a3
* feat(openlabel-v2): migrate PAS 1883:2020 to ISO 34503/34504
Migrate the openlabel-v2 LinkML schema from PAS 1883:2020 to the
published ISO 34503:2023 and ISO 34504:2023 standards.
Schema updates:
- Rename Road/Lane enums to match ISO 34503/34504 terminology
- Add EdgeNone mutual exclusion SPARQL rule
- Add correct-spelling alias for IntersectionGradeSeperated
- Add {comments} to SHACL --message-template for richer messages
- Strip trailing blank lines from generator output in Makefile
Artifacts:
- Regenerate OWL, SHACL, and JSON-LD context with new compiler
Test improvements:
- Add comprehensive valid instances for openlabel-v2
- Add cross-domain test instance
- Add fail12_edge_none_mutual_exclusion invalid test
- Update .expected files for improved SHACL messages
Documentation:
- Add linkml-modelling-guidelines.md for future reference
- Update agent instruction files
* fix(build): use POSIX-compatible sed for trailing newline removal
The inline sed pattern `sed '${/^$/d}'` can fail on macOS BSD sed.
Split into multiple -e expressions which is guaranteed POSIX-compliant
and works on both GNU sed (Linux) and BSD sed (macOS).
---------
Signed-off-by: Carlo van Driesten <carlo.van-driesten@bmw.de>1 parent 4939d7e commit bb328d0
28 files changed
Lines changed: 5155 additions & 3350 deletions
File tree
- .github
- artifacts/openlabel-v2
- docs/future
- linkml/openlabel-v2
- submodules
- tests
- data
- openlabel-v2
- invalid
- valid
- openlabel/valid
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
123 | 123 | | |
124 | 124 | | |
125 | 125 | | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
126 | 168 | | |
127 | 169 | | |
128 | 170 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
51 | 107 | | |
52 | 108 | | |
53 | 109 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
256 | 256 | | |
257 | 257 | | |
258 | 258 | | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
| 285 | + | |
| 286 | + | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
| 291 | + | |
| 292 | + | |
| 293 | + | |
| 294 | + | |
| 295 | + | |
| 296 | + | |
| 297 | + | |
| 298 | + | |
| 299 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
208 | 208 | | |
209 | 209 | | |
210 | 210 | | |
211 | | - | |
212 | | - | |
213 | | - | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
214 | 214 | | |
215 | 215 | | |
216 | 216 | | |
| |||
0 commit comments