Vinyeh commited on
Commit
25788ee
·
verified ·
1 Parent(s): b02f8ea

Add core_worlds/private

Browse files
This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. core_worlds/private/MANIFEST.sha256 +179 -0
  2. core_worlds/private/README.md +60 -0
  3. core_worlds/private/artifacts/world_L01/corrupt/corruption_manifest.json +197 -0
  4. core_worlds/private/artifacts/world_L01/corrupt/mappings.json +77 -0
  5. core_worlds/private/artifacts/world_L01/corrupt/ontology.ttl +136 -0
  6. core_worlds/private/artifacts/world_L01/corrupt/shapes.ttl +56 -0
  7. core_worlds/private/artifacts/world_L01/gold/mappings.json +77 -0
  8. core_worlds/private/artifacts/world_L01/gold/ontology.ttl +137 -0
  9. core_worlds/private/artifacts/world_L01/gold/shapes.ttl +56 -0
  10. core_worlds/private/artifacts/world_L01/repaired/mappings.json +77 -0
  11. core_worlds/private/artifacts/world_L01/repaired/ontology.ttl +137 -0
  12. core_worlds/private/artifacts/world_L01/repaired/shapes.ttl +56 -0
  13. core_worlds/private/artifacts/world_L01/variants.json +18 -0
  14. core_worlds/private/artifacts/world_L02/corrupt/corruption_manifest.json +197 -0
  15. core_worlds/private/artifacts/world_L02/corrupt/mappings.json +119 -0
  16. core_worlds/private/artifacts/world_L02/corrupt/ontology.ttl +183 -0
  17. core_worlds/private/artifacts/world_L02/corrupt/shapes.ttl +102 -0
  18. core_worlds/private/artifacts/world_L02/gold/mappings.json +119 -0
  19. core_worlds/private/artifacts/world_L02/gold/ontology.ttl +184 -0
  20. core_worlds/private/artifacts/world_L02/gold/shapes.ttl +102 -0
  21. core_worlds/private/artifacts/world_L02/repaired/mappings.json +119 -0
  22. core_worlds/private/artifacts/world_L02/repaired/ontology.ttl +184 -0
  23. core_worlds/private/artifacts/world_L02/repaired/shapes.ttl +102 -0
  24. core_worlds/private/artifacts/world_L02/variants.json +18 -0
  25. core_worlds/private/artifacts/world_L03/corrupt/corruption_manifest.json +198 -0
  26. core_worlds/private/artifacts/world_L03/corrupt/mappings.json +245 -0
  27. core_worlds/private/artifacts/world_L03/corrupt/ontology.ttl +187 -0
  28. core_worlds/private/artifacts/world_L03/corrupt/shapes.ttl +111 -0
  29. core_worlds/private/artifacts/world_L03/gold/mappings.json +245 -0
  30. core_worlds/private/artifacts/world_L03/gold/ontology.ttl +188 -0
  31. core_worlds/private/artifacts/world_L03/gold/shapes.ttl +111 -0
  32. core_worlds/private/artifacts/world_L03/repaired/mappings.json +245 -0
  33. core_worlds/private/artifacts/world_L03/repaired/ontology.ttl +188 -0
  34. core_worlds/private/artifacts/world_L03/repaired/shapes.ttl +111 -0
  35. core_worlds/private/artifacts/world_L03/variants.json +18 -0
  36. core_worlds/private/artifacts/world_L04/corrupt/corruption_manifest.json +197 -0
  37. core_worlds/private/artifacts/world_L04/corrupt/mappings.json +311 -0
  38. core_worlds/private/artifacts/world_L04/corrupt/ontology.ttl +125 -0
  39. core_worlds/private/artifacts/world_L04/corrupt/shapes.ttl +79 -0
  40. core_worlds/private/artifacts/world_L04/gold/mappings.json +311 -0
  41. core_worlds/private/artifacts/world_L04/gold/ontology.ttl +126 -0
  42. core_worlds/private/artifacts/world_L04/gold/shapes.ttl +79 -0
  43. core_worlds/private/artifacts/world_L04/repaired/mappings.json +311 -0
  44. core_worlds/private/artifacts/world_L04/repaired/ontology.ttl +126 -0
  45. core_worlds/private/artifacts/world_L04/repaired/shapes.ttl +79 -0
  46. core_worlds/private/artifacts/world_L04/variants.json +18 -0
  47. core_worlds/private/artifacts/world_L05/corrupt/corruption_manifest.json +198 -0
  48. core_worlds/private/artifacts/world_L05/corrupt/mappings.json +365 -0
  49. core_worlds/private/artifacts/world_L05/corrupt/ontology.ttl +101 -0
  50. core_worlds/private/artifacts/world_L05/corrupt/shapes.ttl +57 -0
core_worlds/private/MANIFEST.sha256 ADDED
@@ -0,0 +1,179 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ 1a3520d1ca05dac2ea82026506375dcd9cd8aa8acef0d3e973e3f08d13948200 ./README.md
2
+ 4061f6243a07c194bdbde0d994f5e24ceda128ba1b3a84c1298b12363e36e092 ./artifacts/world_L01/corrupt/corruption_manifest.json
3
+ d964cd43984a16d758c3bcd7583d299681bd8e8cd657e265350c40a81e209a25 ./artifacts/world_L01/corrupt/mappings.json
4
+ 2aa3c83d08dbc5d81015f65d582b40fe66256b19462d5f72d4d734505ced802c ./artifacts/world_L01/corrupt/ontology.ttl
5
+ 6bf0d94e04471bcd93ec4489501db76e2c20142fc9fe5efe994fd244ee4b354c ./artifacts/world_L01/corrupt/shapes.ttl
6
+ d964cd43984a16d758c3bcd7583d299681bd8e8cd657e265350c40a81e209a25 ./artifacts/world_L01/gold/mappings.json
7
+ 8c075145468b5c853c008e6629ac46911245f1a83ce60c58b1710fe2b0b7af1b ./artifacts/world_L01/gold/ontology.ttl
8
+ a9a0383e001109758bc2b2ca9d87971375c9b0d7d9d162d191182080ace04a11 ./artifacts/world_L01/gold/shapes.ttl
9
+ d964cd43984a16d758c3bcd7583d299681bd8e8cd657e265350c40a81e209a25 ./artifacts/world_L01/repaired/mappings.json
10
+ 8c075145468b5c853c008e6629ac46911245f1a83ce60c58b1710fe2b0b7af1b ./artifacts/world_L01/repaired/ontology.ttl
11
+ a9a0383e001109758bc2b2ca9d87971375c9b0d7d9d162d191182080ace04a11 ./artifacts/world_L01/repaired/shapes.ttl
12
+ 733f0a1773e6f0d6c5330441b6eb779c6dfa488e19d17e882ad4311595eccd24 ./artifacts/world_L01/variants.json
13
+ f3d3d008b49f901e3b2c4311acc1b7abd532b64b0ba6eaaea1dec4e4c38818a6 ./artifacts/world_L02/corrupt/corruption_manifest.json
14
+ 761a14e96bba301aa21ccf31319626af896486dd964f31ba77f0fc0ac23eef78 ./artifacts/world_L02/corrupt/mappings.json
15
+ c40dde8ad3e9419aff7641821bb7f3123ec7fc2a8528c76418b3c056a6fe92bc ./artifacts/world_L02/corrupt/ontology.ttl
16
+ 47947292b5e64f69b74c5b33ef421bf15fb16cf827dc3a7c0c5139f0387c1f50 ./artifacts/world_L02/corrupt/shapes.ttl
17
+ 761a14e96bba301aa21ccf31319626af896486dd964f31ba77f0fc0ac23eef78 ./artifacts/world_L02/gold/mappings.json
18
+ 2ed3de663222dd9d85cb512ca337a589c12f0c78d97d988558dc95382002f7d9 ./artifacts/world_L02/gold/ontology.ttl
19
+ 1ca5980152cce15f86b97568a791460bc9aca1ff9bae05f4876384166a004895 ./artifacts/world_L02/gold/shapes.ttl
20
+ 761a14e96bba301aa21ccf31319626af896486dd964f31ba77f0fc0ac23eef78 ./artifacts/world_L02/repaired/mappings.json
21
+ 2ed3de663222dd9d85cb512ca337a589c12f0c78d97d988558dc95382002f7d9 ./artifacts/world_L02/repaired/ontology.ttl
22
+ 1ca5980152cce15f86b97568a791460bc9aca1ff9bae05f4876384166a004895 ./artifacts/world_L02/repaired/shapes.ttl
23
+ 2cc1a28b5f9a8b582baf94bdb27c1213ee80b08639a93edc8548fa88b3e0aab9 ./artifacts/world_L02/variants.json
24
+ ccc0261e8cdd687118eb80874e86459731ac32fe002d70496ddf0b8e4bf3c0fa ./artifacts/world_L03/corrupt/corruption_manifest.json
25
+ 456bf6e2765b20c17429cda1b44fe3bd151e046ab3df74cbab20ffe19d7db11a ./artifacts/world_L03/corrupt/mappings.json
26
+ 7b9e6149bd92b04f8a232be8b5e6a012b77d65c02f49380cf9830edc8fe9db70 ./artifacts/world_L03/corrupt/ontology.ttl
27
+ 70fb35f1448b949364cf45ac39d53058eb48f966961094317e6f1e32d51de6f0 ./artifacts/world_L03/corrupt/shapes.ttl
28
+ 456bf6e2765b20c17429cda1b44fe3bd151e046ab3df74cbab20ffe19d7db11a ./artifacts/world_L03/gold/mappings.json
29
+ 1fc05b18409e990db2c05a435b65ecdecc11af68d77b0258f6d2e68f1c226dbc ./artifacts/world_L03/gold/ontology.ttl
30
+ a24c3301dd34604d43506c11e7200ab19980582b15019a66c49ceee0ae5d53c7 ./artifacts/world_L03/gold/shapes.ttl
31
+ 456bf6e2765b20c17429cda1b44fe3bd151e046ab3df74cbab20ffe19d7db11a ./artifacts/world_L03/repaired/mappings.json
32
+ 1fc05b18409e990db2c05a435b65ecdecc11af68d77b0258f6d2e68f1c226dbc ./artifacts/world_L03/repaired/ontology.ttl
33
+ a24c3301dd34604d43506c11e7200ab19980582b15019a66c49ceee0ae5d53c7 ./artifacts/world_L03/repaired/shapes.ttl
34
+ 35123d3ecebb510f5e00651c2d088bd08ffc30415dc452ffc967ff35fc94ed8f ./artifacts/world_L03/variants.json
35
+ dfa47e06e71fa7cd13a9a12b165f21d1f09776282df2a805b8ad75d6c2a3bf57 ./artifacts/world_L04/corrupt/corruption_manifest.json
36
+ b5cf5e98dcac7924b8f671a9f6ce2c0decc504820ff4e13e0fa07b6c82977fae ./artifacts/world_L04/corrupt/mappings.json
37
+ 8abd4b3b36f151a2d6d6685019643b82d889e9c873aa170ead8b512ddff9cbf5 ./artifacts/world_L04/corrupt/ontology.ttl
38
+ d73a98344fd6094fd17acaa2904030f81ebf7e4c0b428435b37134d7927c9f8d ./artifacts/world_L04/corrupt/shapes.ttl
39
+ b5cf5e98dcac7924b8f671a9f6ce2c0decc504820ff4e13e0fa07b6c82977fae ./artifacts/world_L04/gold/mappings.json
40
+ 9bcc489f969eaf6eee138a10e135a1f8e9d02cd8413286a9d3e7bf73cb1c3b6d ./artifacts/world_L04/gold/ontology.ttl
41
+ 8156d1bdeaf25545a9f9f3ceff94a77f52d799c7c459fbafed49fc91e4890bfd ./artifacts/world_L04/gold/shapes.ttl
42
+ b5cf5e98dcac7924b8f671a9f6ce2c0decc504820ff4e13e0fa07b6c82977fae ./artifacts/world_L04/repaired/mappings.json
43
+ 9bcc489f969eaf6eee138a10e135a1f8e9d02cd8413286a9d3e7bf73cb1c3b6d ./artifacts/world_L04/repaired/ontology.ttl
44
+ 8156d1bdeaf25545a9f9f3ceff94a77f52d799c7c459fbafed49fc91e4890bfd ./artifacts/world_L04/repaired/shapes.ttl
45
+ edd80c40782234064711af23d26532e3ce918413201bcd028269646867baadc3 ./artifacts/world_L04/variants.json
46
+ fac56f1f4aaa14e7ef59805b83728dfbed43b5961fb480b4f4790faab43f0aed ./artifacts/world_L05/corrupt/corruption_manifest.json
47
+ 9a884b55580ff2b7e024b9d5791040c3a3bd2ec18947bdb42bbbcd347a4f0be6 ./artifacts/world_L05/corrupt/mappings.json
48
+ 6c1630dc483f623a38c6faa49444fd54628998c676a1dd90c092d989e134c83b ./artifacts/world_L05/corrupt/ontology.ttl
49
+ 20936a62fd0e3d8e7522a591626cfdd000e0267f1f444b9a2d3be0884d781788 ./artifacts/world_L05/corrupt/shapes.ttl
50
+ 9a884b55580ff2b7e024b9d5791040c3a3bd2ec18947bdb42bbbcd347a4f0be6 ./artifacts/world_L05/gold/mappings.json
51
+ cf2e522db64c1e288a57b210db0b112ddd5a12b4041b3e958219578c94647b39 ./artifacts/world_L05/gold/ontology.ttl
52
+ 204e1460d51713f30e20a0be575ab604e293f0ab6663fafe939b717db8a412cc ./artifacts/world_L05/gold/shapes.ttl
53
+ 9a884b55580ff2b7e024b9d5791040c3a3bd2ec18947bdb42bbbcd347a4f0be6 ./artifacts/world_L05/repaired/mappings.json
54
+ cf2e522db64c1e288a57b210db0b112ddd5a12b4041b3e958219578c94647b39 ./artifacts/world_L05/repaired/ontology.ttl
55
+ 204e1460d51713f30e20a0be575ab604e293f0ab6663fafe939b717db8a412cc ./artifacts/world_L05/repaired/shapes.ttl
56
+ b0fe6b971bc70eaf765644e9835c25bcc12c0d434cf1678acaeafa2babeaf24d ./artifacts/world_L05/variants.json
57
+ e0535f39cfac6cb4ee12347685e30505e36da7a0e6ffcebed30aab91f866dc3d ./artifacts/world_L06/corrupt/corruption_manifest.json
58
+ 66f3e8425f0f02a597e7c1733eee705a7dd7dcb8d277c7762c7f1aa53ad740d7 ./artifacts/world_L06/corrupt/mappings.json
59
+ b4ca0ca818634dd43d16f4dfa5ea00968c27883151536bbafffb3ed0c2bc93ea ./artifacts/world_L06/corrupt/ontology.ttl
60
+ 19455d46376d08f55733e6de4a1562f693133622ca0b9aca1827e58483872e04 ./artifacts/world_L06/corrupt/shapes.ttl
61
+ 66f3e8425f0f02a597e7c1733eee705a7dd7dcb8d277c7762c7f1aa53ad740d7 ./artifacts/world_L06/gold/mappings.json
62
+ 55e9e2920d6d6b7bfd6fbf0fa57d7fd4db7aac940535166e98de2bb46a6a785a ./artifacts/world_L06/gold/ontology.ttl
63
+ f55f4fdb5063b27de16d3f22b4cbb7e6ab9f241e874c6550cb40172b545e0040 ./artifacts/world_L06/gold/shapes.ttl
64
+ 66f3e8425f0f02a597e7c1733eee705a7dd7dcb8d277c7762c7f1aa53ad740d7 ./artifacts/world_L06/repaired/mappings.json
65
+ 55e9e2920d6d6b7bfd6fbf0fa57d7fd4db7aac940535166e98de2bb46a6a785a ./artifacts/world_L06/repaired/ontology.ttl
66
+ f55f4fdb5063b27de16d3f22b4cbb7e6ab9f241e874c6550cb40172b545e0040 ./artifacts/world_L06/repaired/shapes.ttl
67
+ 8c547d15bbc3fc85f2de38ebb94bcf630425a5405c62caadbeffccd2409f2bf3 ./artifacts/world_L06/variants.json
68
+ 669be0d92b2a654915f55cb922c24809a391585ff1b0d92d7f75f4947ae77a65 ./artifacts/world_L07/corrupt/corruption_manifest.json
69
+ d0ec012051a95b621cd5ef1d20b211b5dc6f310afbde21c13c9720cafb1caaa8 ./artifacts/world_L07/corrupt/mappings.json
70
+ 5ec342fe93df2b320dddc007c152f227e84e3e6f17b8039463b604765f9743de ./artifacts/world_L07/corrupt/ontology.ttl
71
+ d82f49118df5434c3a972a24c966c1753855f90571db48cde5cf1bf5a99a5aaf ./artifacts/world_L07/corrupt/shapes.ttl
72
+ d0ec012051a95b621cd5ef1d20b211b5dc6f310afbde21c13c9720cafb1caaa8 ./artifacts/world_L07/gold/mappings.json
73
+ f66e2e765430f55292998fa0ab91b2750c14851fc2ba63a64bb5cc6c76edd6f4 ./artifacts/world_L07/gold/ontology.ttl
74
+ e284632f259fbce8cb14d4dbcceffa87f425728b4838db6cafebb4f69a9a16c6 ./artifacts/world_L07/gold/shapes.ttl
75
+ d0ec012051a95b621cd5ef1d20b211b5dc6f310afbde21c13c9720cafb1caaa8 ./artifacts/world_L07/repaired/mappings.json
76
+ f66e2e765430f55292998fa0ab91b2750c14851fc2ba63a64bb5cc6c76edd6f4 ./artifacts/world_L07/repaired/ontology.ttl
77
+ e284632f259fbce8cb14d4dbcceffa87f425728b4838db6cafebb4f69a9a16c6 ./artifacts/world_L07/repaired/shapes.ttl
78
+ 2ba786b2f324b12b7348647a190ff9a4b796dbae694405a7d21b822f7c6ed974 ./artifacts/world_L07/variants.json
79
+ 7258475af4460e16bffcd1f77882bbe8e23cd9ff034693a453269dac6e1ea632 ./artifacts/world_L08/corrupt/corruption_manifest.json
80
+ f2f5df93086ba5e08e3c6a18e4b051977d1ddcc56cfc36db0b30f4e7062ad8d3 ./artifacts/world_L08/corrupt/mappings.json
81
+ c1709fdbf29d2af188409e30efd6381eb98b4a4bc828eb8bf5eb9caf6cfc519e ./artifacts/world_L08/corrupt/ontology.ttl
82
+ da5f3feb009e1937655d971d0bd6f787c65cfb02d7055a058f297ff6065c2972 ./artifacts/world_L08/corrupt/shapes.ttl
83
+ f2f5df93086ba5e08e3c6a18e4b051977d1ddcc56cfc36db0b30f4e7062ad8d3 ./artifacts/world_L08/gold/mappings.json
84
+ f7639cbd5de66947a737009d6c2c8b8c998f8a6d4b3bee35c42ec608894beab9 ./artifacts/world_L08/gold/ontology.ttl
85
+ a8a27a2b238f9cbc61511d01060257a259f178c4e46bf88615584601b6603bfe ./artifacts/world_L08/gold/shapes.ttl
86
+ f2f5df93086ba5e08e3c6a18e4b051977d1ddcc56cfc36db0b30f4e7062ad8d3 ./artifacts/world_L08/repaired/mappings.json
87
+ f7639cbd5de66947a737009d6c2c8b8c998f8a6d4b3bee35c42ec608894beab9 ./artifacts/world_L08/repaired/ontology.ttl
88
+ a8a27a2b238f9cbc61511d01060257a259f178c4e46bf88615584601b6603bfe ./artifacts/world_L08/repaired/shapes.ttl
89
+ 965cb326d5871eb5f2464accdde2d6e557b4ed175d9db94a12e1143ddc7e481c ./artifacts/world_L08/variants.json
90
+ 58ddd40b3157240ee39572f39d1ad81f2aa99d9fcb754c52fc1f8bbba32b2f59 ./artifacts/world_L09/corrupt/corruption_manifest.json
91
+ b34ad12ac896eb444f642cde6b495f6c27236b2b35cacedb6251346e7f8441ee ./artifacts/world_L09/corrupt/mappings.json
92
+ 271d1eca3a5cc11a18db312cbe8df74b47a7f2aa2dfc0838f988ad123922433d ./artifacts/world_L09/corrupt/ontology.ttl
93
+ f68d16fdfe1371bd3a597f2ae0be0b1d22392c008d288eb4768ab54e66a5ab26 ./artifacts/world_L09/corrupt/shapes.ttl
94
+ b34ad12ac896eb444f642cde6b495f6c27236b2b35cacedb6251346e7f8441ee ./artifacts/world_L09/gold/mappings.json
95
+ abc9b8e4382ade1e14ca072efa6fcaadd15ba35abeafdf9f0cf581b361b0dbdd ./artifacts/world_L09/gold/ontology.ttl
96
+ 9b1057a654677a616a7b6f26fb97e7175d99461177f38d1d8ce4382d36d41358 ./artifacts/world_L09/gold/shapes.ttl
97
+ b34ad12ac896eb444f642cde6b495f6c27236b2b35cacedb6251346e7f8441ee ./artifacts/world_L09/repaired/mappings.json
98
+ abc9b8e4382ade1e14ca072efa6fcaadd15ba35abeafdf9f0cf581b361b0dbdd ./artifacts/world_L09/repaired/ontology.ttl
99
+ 9b1057a654677a616a7b6f26fb97e7175d99461177f38d1d8ce4382d36d41358 ./artifacts/world_L09/repaired/shapes.ttl
100
+ 3ac80134cdca1aa15053b4cb0bab510c4b2a86744f069c55a206315009abb14a ./artifacts/world_L09/variants.json
101
+ 1f837a10fca3eb292f914c317627204fcc59eb74532a2e470a6378fd1e41212a ./artifacts/world_L10/corrupt/corruption_manifest.json
102
+ 82e5ea7be9c5dd96215d3719549abb4f4f1372fa4d08952272a53af9c7e6aa66 ./artifacts/world_L10/corrupt/mappings.json
103
+ 0ea6eade7103c3bbd60e97ed75867600da03e284ed2dd2d5d50e26f176bb0266 ./artifacts/world_L10/corrupt/ontology.ttl
104
+ 661f574176ff21103cf8efb7e3a11eb096d24ad20654872fd24427f9764b71f8 ./artifacts/world_L10/corrupt/shapes.ttl
105
+ 82e5ea7be9c5dd96215d3719549abb4f4f1372fa4d08952272a53af9c7e6aa66 ./artifacts/world_L10/gold/mappings.json
106
+ cb8d1d2ef6f2caeb140deb7b5b8e5f463e52ee228c4b5f7ecc4864009aae8444 ./artifacts/world_L10/gold/ontology.ttl
107
+ ee9654e4756aa8ec688837b7694f6dcd63ace9e1d48b3c2906c7fbb49e62b524 ./artifacts/world_L10/gold/shapes.ttl
108
+ 82e5ea7be9c5dd96215d3719549abb4f4f1372fa4d08952272a53af9c7e6aa66 ./artifacts/world_L10/repaired/mappings.json
109
+ cb8d1d2ef6f2caeb140deb7b5b8e5f463e52ee228c4b5f7ecc4864009aae8444 ./artifacts/world_L10/repaired/ontology.ttl
110
+ ee9654e4756aa8ec688837b7694f6dcd63ace9e1d48b3c2906c7fbb49e62b524 ./artifacts/world_L10/repaired/shapes.ttl
111
+ 3b6b2e476623a24f640d8316d0004f388de3cc07d0c7f455c87aaf1b3063593c ./artifacts/world_L10/variants.json
112
+ 6d8159bcb8526efe881cccddb6d2973f2ad622a37b2950ab616d105c05d2c94b ./artifacts/world_L11/corrupt/corruption_manifest.json
113
+ 6abdde6fc28a6c865cf6ad9f7fe9d05a13171006eb75f7335eeee895412c4fd8 ./artifacts/world_L11/corrupt/mappings.json
114
+ 565b3c61fe6ff1cc0b60256198dcc9d5ecba41652b8684e2431eb5f0a0ff4f38 ./artifacts/world_L11/corrupt/ontology.ttl
115
+ a248a9506c356c8db6c0a13522fe69c1f58c8e3f4b50ded99d96d603695852b4 ./artifacts/world_L11/corrupt/shapes.ttl
116
+ 6abdde6fc28a6c865cf6ad9f7fe9d05a13171006eb75f7335eeee895412c4fd8 ./artifacts/world_L11/gold/mappings.json
117
+ dd3d264b1bd2cf52683afcc857927c4994108bdb5d23dd55be4b3638b7a8efc0 ./artifacts/world_L11/gold/ontology.ttl
118
+ 6343ffe93ffb9388954a19af8c829440529e9a70d1b5e59c6631aeeffbeb04e0 ./artifacts/world_L11/gold/shapes.ttl
119
+ 6abdde6fc28a6c865cf6ad9f7fe9d05a13171006eb75f7335eeee895412c4fd8 ./artifacts/world_L11/repaired/mappings.json
120
+ dd3d264b1bd2cf52683afcc857927c4994108bdb5d23dd55be4b3638b7a8efc0 ./artifacts/world_L11/repaired/ontology.ttl
121
+ 6343ffe93ffb9388954a19af8c829440529e9a70d1b5e59c6631aeeffbeb04e0 ./artifacts/world_L11/repaired/shapes.ttl
122
+ abc4123a880e8b83095b2563397ad45f3c0b80aa5c7abc33e6c917edbf5cf144 ./artifacts/world_L11/variants.json
123
+ 872ebf183b2bfc3172bd4b2bb0c948c26318674fa07e90c09e5afdc37e2e4525 ./artifacts/world_L12/corrupt/corruption_manifest.json
124
+ e4177a4ea3383e7142908b952a0efa85fa61d85525b068418b2064813300d702 ./artifacts/world_L12/corrupt/mappings.json
125
+ 06cbdecdae7bdd18226c67de610b8c3f4937f9c6785c85a73106e110762acc77 ./artifacts/world_L12/corrupt/ontology.ttl
126
+ eab4ad27b03cb5bc4e48a5c7721abb8d99b732d6e58e2f55f630a6fe964a7c14 ./artifacts/world_L12/corrupt/shapes.ttl
127
+ e4177a4ea3383e7142908b952a0efa85fa61d85525b068418b2064813300d702 ./artifacts/world_L12/gold/mappings.json
128
+ 490afdee58e039ba75bc09346e0aae24cc5b0c7b054e2db1e7945cf47c5442e0 ./artifacts/world_L12/gold/ontology.ttl
129
+ 4c84d8d341164cf5545216ad824de293330372bc4cb74e1f6061580f121ab028 ./artifacts/world_L12/gold/shapes.ttl
130
+ e4177a4ea3383e7142908b952a0efa85fa61d85525b068418b2064813300d702 ./artifacts/world_L12/repaired/mappings.json
131
+ 490afdee58e039ba75bc09346e0aae24cc5b0c7b054e2db1e7945cf47c5442e0 ./artifacts/world_L12/repaired/ontology.ttl
132
+ 4c84d8d341164cf5545216ad824de293330372bc4cb74e1f6061580f121ab028 ./artifacts/world_L12/repaired/shapes.ttl
133
+ 8e0f422267e29a9e9b0b515967f0f0824ac50c1a00e1244275f413f113e3cafc ./artifacts/world_L12/variants.json
134
+ 70c987c7017833e496823bbcb2ee7b9da74d9aa5ae5def2c84661597aa7e37ba ./artifacts/world_L13/corrupt/corruption_manifest.json
135
+ 4c93af01c471882afb06562ca29f47e0253c382a531afb675eafba027dec41fe ./artifacts/world_L13/corrupt/mappings.json
136
+ 655cfe94c2a2466fc85623e7f4406a423aa0b62a1a17b38e3e3d9ea49bfc41e6 ./artifacts/world_L13/corrupt/ontology.ttl
137
+ cd5d7eca106ab8eddb9ce1c7632deaeda4c7f73024caf511d67f7fdebb739d96 ./artifacts/world_L13/corrupt/shapes.ttl
138
+ 4c93af01c471882afb06562ca29f47e0253c382a531afb675eafba027dec41fe ./artifacts/world_L13/gold/mappings.json
139
+ b8042f143a7a8ecfb8f10ae52d9711d6842918c3da6a94b9d30b5ad98a394707 ./artifacts/world_L13/gold/ontology.ttl
140
+ 3ced2d2a35c0998a16fc499819c49bb5d95d93560c5f0a0d8a0b5b78c78a3046 ./artifacts/world_L13/gold/shapes.ttl
141
+ 4c93af01c471882afb06562ca29f47e0253c382a531afb675eafba027dec41fe ./artifacts/world_L13/repaired/mappings.json
142
+ b8042f143a7a8ecfb8f10ae52d9711d6842918c3da6a94b9d30b5ad98a394707 ./artifacts/world_L13/repaired/ontology.ttl
143
+ 3ced2d2a35c0998a16fc499819c49bb5d95d93560c5f0a0d8a0b5b78c78a3046 ./artifacts/world_L13/repaired/shapes.ttl
144
+ 32d8f1d438e957d4a7df93d53ea42eb0b7c151c48290b8a67e58c7cc25df7e3f ./artifacts/world_L13/variants.json
145
+ a904b70f0b30739270082642064de6544f875b5a34d4abf51ed434413b697692 ./artifacts/world_L14/corrupt/corruption_manifest.json
146
+ 385849672d2933c39aa9b1dacd80d81dc65d5ef1376f26c4c7603ad1405b37a6 ./artifacts/world_L14/corrupt/mappings.json
147
+ e5fa45a61c8feb0a60fc6bda5cf08c023673270a61fd0c0e7b5ac269266db961 ./artifacts/world_L14/corrupt/ontology.ttl
148
+ 4b72547f8048d7c7d5a5dd177c37e20122e476432c444d58ded839802348bc23 ./artifacts/world_L14/corrupt/shapes.ttl
149
+ 385849672d2933c39aa9b1dacd80d81dc65d5ef1376f26c4c7603ad1405b37a6 ./artifacts/world_L14/gold/mappings.json
150
+ e0d56ba14aa0a69b3f80abbb060b68fdbba6d46d9f81b02f40a7aea7ee710d19 ./artifacts/world_L14/gold/ontology.ttl
151
+ f56f0d7b5a11b375eb6f4c9ab98d3a81e55d26cb58fe6751ce33292e5ac00d0d ./artifacts/world_L14/gold/shapes.ttl
152
+ 385849672d2933c39aa9b1dacd80d81dc65d5ef1376f26c4c7603ad1405b37a6 ./artifacts/world_L14/repaired/mappings.json
153
+ e0d56ba14aa0a69b3f80abbb060b68fdbba6d46d9f81b02f40a7aea7ee710d19 ./artifacts/world_L14/repaired/ontology.ttl
154
+ f56f0d7b5a11b375eb6f4c9ab98d3a81e55d26cb58fe6751ce33292e5ac00d0d ./artifacts/world_L14/repaired/shapes.ttl
155
+ 3b52eddef362eb7353d1b247245e6be62f0fba5778cc3f4ccf21fc3d674dc967 ./artifacts/world_L14/variants.json
156
+ 2973342d4ba4d60b423901639cc350677154a05b921eb4b9ed72d814aae5cc27 ./artifacts/world_L15/corrupt/corruption_manifest.json
157
+ 1b9419b4d55dd8b202247478e80a6cf944b919917ffbaa7970c52e257855d6b6 ./artifacts/world_L15/corrupt/mappings.json
158
+ c676e8effb5f1e2644c6966cbad4fa0495ebb48b5af1cd9a72d801f678e25edd ./artifacts/world_L15/corrupt/ontology.ttl
159
+ 74de895c215d7d909073b975b74d93bb37660245ae51dfd3c1db058a4126b4cd ./artifacts/world_L15/corrupt/shapes.ttl
160
+ 1b9419b4d55dd8b202247478e80a6cf944b919917ffbaa7970c52e257855d6b6 ./artifacts/world_L15/gold/mappings.json
161
+ 898305c6dfbeae844a5fe98b06e5ca5db81a50191ce5bf944cc677e104f3488c ./artifacts/world_L15/gold/ontology.ttl
162
+ e86dff49af20e76593c218c731b70b204a2c0ba23fdce279e21c1a5e1dd5efa6 ./artifacts/world_L15/gold/shapes.ttl
163
+ 1b9419b4d55dd8b202247478e80a6cf944b919917ffbaa7970c52e257855d6b6 ./artifacts/world_L15/repaired/mappings.json
164
+ 898305c6dfbeae844a5fe98b06e5ca5db81a50191ce5bf944cc677e104f3488c ./artifacts/world_L15/repaired/ontology.ttl
165
+ e86dff49af20e76593c218c731b70b204a2c0ba23fdce279e21c1a5e1dd5efa6 ./artifacts/world_L15/repaired/shapes.ttl
166
+ 086e386454b89e2b4cba5c843a542e97f5450433044765a6fcf46c75233caec8 ./artifacts/world_L15/variants.json
167
+ eddeb78f63841bf4d1f95fef0ea50e238f491a4673ee39e72fd0e50fde961311 ./artifacts/world_L16/corrupt/corruption_manifest.json
168
+ 4635b8703e719660d86e519b1568be89d2e7a5ff3c4c7db16309213b7af37f18 ./artifacts/world_L16/corrupt/mappings.json
169
+ 4d62b5eb07913384020647ef02f38232475c6854fa24be51f6a3bfa749f03f56 ./artifacts/world_L16/corrupt/ontology.ttl
170
+ ede325eb91b5746abee9371bcc53a89b29077069acacf73320fee00152ab7e75 ./artifacts/world_L16/corrupt/shapes.ttl
171
+ 4635b8703e719660d86e519b1568be89d2e7a5ff3c4c7db16309213b7af37f18 ./artifacts/world_L16/gold/mappings.json
172
+ f2a88fd5cc6c27c59cb454566e1455ab9ed704c30330ca118cb38846e0390c04 ./artifacts/world_L16/gold/ontology.ttl
173
+ c8245d04cdfeef7a1b2ab7ac303df2faf176b56ef85d90b9dd842567996a2adc ./artifacts/world_L16/gold/shapes.ttl
174
+ 4635b8703e719660d86e519b1568be89d2e7a5ff3c4c7db16309213b7af37f18 ./artifacts/world_L16/repaired/mappings.json
175
+ f2a88fd5cc6c27c59cb454566e1455ab9ed704c30330ca118cb38846e0390c04 ./artifacts/world_L16/repaired/ontology.ttl
176
+ c8245d04cdfeef7a1b2ab7ac303df2faf176b56ef85d90b9dd842567996a2adc ./artifacts/world_L16/repaired/shapes.ttl
177
+ a390fb4ed2053fdb108e4a8a9f2589194ce1006256a567c1b1bde68420fe11f0 ./artifacts/world_L16/variants.json
178
+ ed9592e7742ee169ad26191949ae4b1d31d0fbd0a7d535b5a740fc963656c6de ./oracle/core_oracle.jsonl
179
+ 0da6c7021d769c11db9ac71bc839488b7f40023a45b15ffde18f3300ae1f182c ./oracle/core_oracle.jsonl.sha256
core_worlds/private/README.md ADDED
@@ -0,0 +1,60 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # AutoOntologyBench Core-track private oracle
2
+
3
+ This directory is the **private** companion to the public
4
+ `AutoOntologyBench-Core` evaluation package. It must not be uploaded to the
5
+ public HuggingFace dataset repository.
6
+
7
+ ## Contents
8
+
9
+ ```text
10
+ oracle/core_oracle.jsonl # 19,950 private labels, keyed by release_task_id
11
+ oracle/core_oracle.jsonl.sha256 # oracle file digest
12
+ artifacts/world_Lxx/{gold,corrupt,repaired}/ # ontology/shapes/mappings variants
13
+ ```
14
+
15
+ The `artifacts/` tree is the private gold/corrupt/repaired bundle set for all
16
+ 16 worlds. It is provided for audit/reproduction; the one-click answer scorer
17
+ does not read it.
18
+
19
+ Each oracle row contains only the machine-replay labels needed by the answer
20
+ scorer:
21
+
22
+ ```json
23
+ {
24
+ "release_task_id": "world_L04:task_0001",
25
+ "world_id": "world_L04",
26
+ "task_id": "task_0001",
27
+ "split": "dev",
28
+ "expected": "ok",
29
+ "expected_ok": true,
30
+ "expected_reason": "ok",
31
+ "outcomes": [{"ok": true, "reason": "ok", "payload": null}]
32
+ }
33
+ ```
34
+
35
+ It does not contain public task prompts or public materials. The score is
36
+ produced by `benchmark.eval_core.run` in the public code package.
37
+
38
+ ## Use
39
+
40
+ From the public package root, keep this directory as a sibling or mount it:
41
+
42
+ ```bash
43
+ export EVAL_ORACLE=/absolute/path/to/AutoOntologyBench-Core-private/oracle/core_oracle.jsonl
44
+ bash src/scripts/eval_core.sh --oracle "$EVAL_ORACLE" \
45
+ --provider vllm --model <model> --base-url http://127.0.0.1:8000/v1
46
+ ```
47
+
48
+ Do not publish this file, its labels, or the gold/corrupt/repaired ontology
49
+ bundles. The public package is designed to score predictions without exposing
50
+ these labels to the evaluated model.
51
+
52
+ ## Integrity
53
+
54
+ Verify the file before a run:
55
+
56
+ ```bash
57
+ sha256sum -c oracle/core_oracle.jsonl.sha256
58
+ ```
59
+
60
+ Expected row count: **19,950**.
core_worlds/private/artifacts/world_L01/corrupt/corruption_manifest.json ADDED
@@ -0,0 +1,197 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "error_count": 8,
3
+ "errors": [
4
+ {
5
+ "added_statements": [
6
+ "<urn:aob:gk#Pod> <http://www.w3.org/2000/01/rdf-schema#subClassOf> <urn:aob:gk#Action> ."
7
+ ],
8
+ "artifact": "ontology",
9
+ "error_type": "wrong_subclassof",
10
+ "index": 0,
11
+ "params": {
12
+ "child": "urn:aob:gk#Pod",
13
+ "wrong_parent": "urn:aob:gk#Action"
14
+ },
15
+ "rationale": "Re-pointed urn:aob:gk#Pod from its gold superclass urn:aob:gk#K8sObject to urn:aob:gk#Action, inverting the intended class hierarchy.",
16
+ "removed_statements": [
17
+ "<urn:aob:gk#Pod> <http://www.w3.org/2000/01/rdf-schema#subClassOf> <urn:aob:gk#K8sObject> ."
18
+ ],
19
+ "requested_params": {
20
+ "child": "urn:aob:gk#Pod",
21
+ "wrong_parent": "urn:aob:gk#Action"
22
+ },
23
+ "seed": 20261118,
24
+ "target_statements": [
25
+ "<urn:aob:gk#Pod> <http://www.w3.org/2000/01/rdf-schema#subClassOf> <urn:aob:gk#K8sObject> ."
26
+ ]
27
+ },
28
+ {
29
+ "added_statements": [],
30
+ "artifact": "ontology",
31
+ "error_type": "concept_omission",
32
+ "index": 1,
33
+ "params": {
34
+ "target": "urn:aob:gk#Service"
35
+ },
36
+ "rationale": "Dropped the concept declaration http://www.w3.org/2002/07/owl#Class; downstream queries can no longer recognise urn:aob:gk#Service as a http://www.w3.org/2002/07/owl#Class.",
37
+ "removed_statements": [
38
+ "<urn:aob:gk#Service> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Class> ."
39
+ ],
40
+ "requested_params": {
41
+ "target": "urn:aob:gk#Service"
42
+ },
43
+ "seed": 20261118,
44
+ "target_statements": [
45
+ "<urn:aob:gk#Service> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Class> ."
46
+ ]
47
+ },
48
+ {
49
+ "added_statements": [
50
+ "<urn:aob:gk#object> <http://www.w3.org/2002/07/owl#inverseOf> <urn:aob:gk#relatedObject> ."
51
+ ],
52
+ "artifact": "ontology",
53
+ "error_type": "inverse_relation",
54
+ "index": 2,
55
+ "params": {
56
+ "property": "urn:aob:gk#object",
57
+ "wrong_inverse_of": "urn:aob:gk#relatedObject"
58
+ },
59
+ "rationale": "Replaced the correct inverse urn:aob:gk#object owl:inverseOf urn:aob:gk#targetedBy with urn:aob:gk#relatedObject, so the relation now points the wrong way.",
60
+ "removed_statements": [
61
+ "<urn:aob:gk#object> <http://www.w3.org/2002/07/owl#inverseOf> <urn:aob:gk#targetedBy> ."
62
+ ],
63
+ "requested_params": {
64
+ "property": "urn:aob:gk#object",
65
+ "wrong_inverse_of": "urn:aob:gk#relatedObject"
66
+ },
67
+ "seed": 20261118,
68
+ "target_statements": [
69
+ "<urn:aob:gk#object> <http://www.w3.org/2002/07/owl#inverseOf> <urn:aob:gk#targetedBy> ."
70
+ ]
71
+ },
72
+ {
73
+ "added_statements": [
74
+ "<urn:aob:gk#replicas> <http://www.w3.org/2000/01/rdf-schema#range> <http://www.w3.org/2001/XMLSchema#string> ."
75
+ ],
76
+ "artifact": "ontology",
77
+ "error_type": "domain_range_mismatch",
78
+ "index": 3,
79
+ "params": {
80
+ "kind": "range",
81
+ "property": "urn:aob:gk#replicas",
82
+ "wrong": "http://www.w3.org/2001/XMLSchema#string"
83
+ },
84
+ "rationale": "Changed urn:aob:gk#replicas range from http://www.w3.org/2001/XMLSchema#integer to http://www.w3.org/2001/XMLSchema#string, making the domain/range declaration inconsistent with the relation's intended use.",
85
+ "removed_statements": [
86
+ "<urn:aob:gk#replicas> <http://www.w3.org/2000/01/rdf-schema#range> <http://www.w3.org/2001/XMLSchema#integer> ."
87
+ ],
88
+ "requested_params": {
89
+ "kind": "range",
90
+ "property": "urn:aob:gk#replicas",
91
+ "wrong": "http://www.w3.org/2001/XMLSchema#string"
92
+ },
93
+ "seed": 20261118,
94
+ "target_statements": [
95
+ "<urn:aob:gk#replicas> <http://www.w3.org/2000/01/rdf-schema#range> <http://www.w3.org/2001/XMLSchema#integer> ."
96
+ ]
97
+ },
98
+ {
99
+ "added_statements": [],
100
+ "artifact": "shapes",
101
+ "error_type": "missing_cardinality",
102
+ "index": 4,
103
+ "params": {
104
+ "constraint": "minCount",
105
+ "path": "urn:aob:gk#label_pizza"
106
+ },
107
+ "rationale": "Removed minCount of the property shape on urn:aob:gk#label_pizza; instances violating the cardinality now validate, hiding a required constraint.",
108
+ "removed_statements": [
109
+ "_:cb2204abf1680a2dea719a673ea024af2f205646695d27debfcc7ca4e9a7a657993 <http://www.w3.org/ns/shacl#minCount> \"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ."
110
+ ],
111
+ "requested_params": {
112
+ "constraint": "minCount",
113
+ "path": "urn:aob:gk#label_pizza"
114
+ },
115
+ "seed": 20261118,
116
+ "target_statements": [
117
+ "<urn:aob:gk#PodShape> <http://www.w3.org/ns/shacl#property> _:cb2204abf1680a2dea719a673ea024af2f205646695d27debfcc7ca4e9a7a657993 .",
118
+ "_:cb2204abf1680a2dea719a673ea024af2f205646695d27debfcc7ca4e9a7a657993 <http://www.w3.org/ns/shacl#minCount> \"1\"^^<http://www.w3.org/2001/XMLSchema#integer> .",
119
+ "_:cb2204abf1680a2dea719a673ea024af2f205646695d27debfcc7ca4e9a7a657993 <http://www.w3.org/ns/shacl#path> <urn:aob:gk#label_pizza> ."
120
+ ]
121
+ },
122
+ {
123
+ "added_statements": [
124
+ "<urn:aob:gk#PodShape> <http://www.w3.org/ns/shacl#targetClass> <urn:aob:gk#K8sObject> ."
125
+ ],
126
+ "artifact": "shapes",
127
+ "error_type": "overgeneralization",
128
+ "index": 5,
129
+ "params": {
130
+ "shape": "urn:aob:gk#PodShape",
131
+ "to_superclass": "urn:aob:gk#K8sObject"
132
+ },
133
+ "rationale": "Moved urn:aob:gk#PodShape from targetClass urn:aob:gk#Pod to the broader superclass urn:aob:gk#K8sObject, so the constraint now applies to entities it was never meant to cover.",
134
+ "removed_statements": [
135
+ "<urn:aob:gk#PodShape> <http://www.w3.org/ns/shacl#targetClass> <urn:aob:gk#Pod> ."
136
+ ],
137
+ "requested_params": {
138
+ "shape": "urn:aob:gk#PodShape",
139
+ "to_superclass": "urn:aob:gk#K8sObject"
140
+ },
141
+ "seed": 20261118,
142
+ "target_statements": [
143
+ "<urn:aob:gk#PodShape> <http://www.w3.org/ns/shacl#targetClass> <urn:aob:gk#Pod> ."
144
+ ]
145
+ },
146
+ {
147
+ "added_statements": [
148
+ "<urn:aob:gk#ServiceShape> <http://www.w3.org/ns/shacl#closed> \"true\"^^<http://www.w3.org/2001/XMLSchema#boolean> ."
149
+ ],
150
+ "artifact": "shapes",
151
+ "error_type": "incorrect_closed_world",
152
+ "index": 6,
153
+ "params": {
154
+ "shape": "urn:aob:gk#ServiceShape"
155
+ },
156
+ "rationale": "Added sh:closed true to urn:aob:gk#ServiceShape, imposing a closed-world assumption on a shape whose semantics are open-world.",
157
+ "removed_statements": [],
158
+ "requested_params": {
159
+ "shape": "urn:aob:gk#ServiceShape"
160
+ },
161
+ "seed": 20261118,
162
+ "target_statements": [
163
+ "<urn:aob:gk#ServiceShape> <http://www.w3.org/ns/shacl#targetClass> <urn:aob:gk#Service> ."
164
+ ]
165
+ },
166
+ {
167
+ "added_statements": [
168
+ "<urn:aob:gk#srcImage0> <http://example.org/corr#mapsTo> <urn:aob:gk#Service> ."
169
+ ],
170
+ "artifact": "ontology",
171
+ "error_type": "wrong_data_to_concept_mapping",
172
+ "index": 7,
173
+ "params": {
174
+ "predicate": "http://example.org/corr#mapsTo",
175
+ "source": "urn:aob:gk#srcImage0",
176
+ "wrong_concept": "urn:aob:gk#Service"
177
+ },
178
+ "rationale": "Redirected the mapping for urn:aob:gk#srcImage0 from urn:aob:gk#Pod to urn:aob:gk#Service, so source data is lifted into the wrong concept.",
179
+ "removed_statements": [
180
+ "<urn:aob:gk#srcImage0> <http://example.org/corr#mapsTo> <urn:aob:gk#Pod> ."
181
+ ],
182
+ "requested_params": {
183
+ "source": "urn:aob:gk#srcImage0",
184
+ "wrong_concept": "urn:aob:gk#Service"
185
+ },
186
+ "seed": 20261118,
187
+ "target_statements": [
188
+ "<urn:aob:gk#srcImage0> <http://example.org/corr#mapsTo> <urn:aob:gk#Pod> ."
189
+ ]
190
+ }
191
+ ],
192
+ "gold_ontology_sha256": "8c075145468b5c853c008e6629ac46911245f1a83ce60c58b1710fe2b0b7af1b",
193
+ "gold_shapes_sha256": "a9a0383e001109758bc2b2ca9d87971375c9b0d7d9d162d191182080ace04a11",
194
+ "ontology_sha256": "2aa3c83d08dbc5d81015f65d582b40fe66256b19462d5f72d4d734505ced802c",
195
+ "seed": 20261118,
196
+ "shapes_sha256": "6bf0d94e04471bcd93ec4489501db76e2c20142fc9fe5efe994fd244ee4b354c"
197
+ }
core_worlds/private/artifacts/world_L01/corrupt/mappings.json ADDED
@@ -0,0 +1,77 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "entries": [
3
+ {
4
+ "concept": "PatchObjectAction",
5
+ "field": "object",
6
+ "source": "action",
7
+ "term": "object"
8
+ },
9
+ {
10
+ "concept": "PatchObjectAction",
11
+ "field": "idempotence_key",
12
+ "source": "action",
13
+ "term": "idempotence_key"
14
+ },
15
+ {
16
+ "concept": "PatchObjectAction",
17
+ "field": "set_spec_containers_0_image",
18
+ "source": "action",
19
+ "term": "set_spec_containers_0_image"
20
+ },
21
+ {
22
+ "concept": "PatchObjectAction",
23
+ "field": "set_metadata_labels_pizza",
24
+ "source": "action",
25
+ "term": "set_metadata_labels_pizza"
26
+ },
27
+ {
28
+ "concept": "PatchObjectAction",
29
+ "field": "set_spec_replicas",
30
+ "source": "action",
31
+ "term": "set_spec_replicas"
32
+ },
33
+ {
34
+ "concept": "PatchObjectAction",
35
+ "field": "set_spec_type",
36
+ "source": "action",
37
+ "term": "set_spec_type"
38
+ },
39
+ {
40
+ "concept": "K8sObject",
41
+ "field": "name",
42
+ "source": "state",
43
+ "term": "name"
44
+ },
45
+ {
46
+ "concept": "K8sObject",
47
+ "field": "namespace",
48
+ "source": "state",
49
+ "term": "namespace"
50
+ },
51
+ {
52
+ "concept": "Pod",
53
+ "field": "image_0",
54
+ "source": "state",
55
+ "term": "image_0"
56
+ },
57
+ {
58
+ "concept": "Pod",
59
+ "field": "label_pizza",
60
+ "source": "state",
61
+ "term": "label_pizza"
62
+ },
63
+ {
64
+ "concept": "Deployment",
65
+ "field": "replicas",
66
+ "source": "state",
67
+ "term": "replicas"
68
+ },
69
+ {
70
+ "concept": "Service",
71
+ "field": "service_type",
72
+ "source": "state",
73
+ "term": "service_type"
74
+ }
75
+ ],
76
+ "schema": "mappings/1.0"
77
+ }
core_worlds/private/artifacts/world_L01/corrupt/ontology.ttl ADDED
@@ -0,0 +1,136 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ @prefix corr: <http://example.org/corr#> .
2
+ @prefix gk: <urn:aob:gk#> .
3
+ @prefix owl: <http://www.w3.org/2002/07/owl#> .
4
+ @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
5
+ @prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
6
+
7
+ gk:Ontology a owl:Ontology ;
8
+ rdfs:label "Gatekeeper policy gold ontology" ;
9
+ rdfs:comment "RULE layer only: class hierarchy, typed relations and axioms derived from the frozen spec (pilot_worlds/world_L01_scaleup/spec/gatekeeper_policy.json), encoding the pinned gatekeeper-library sample-constraint clauses. Instance facts live in the projected states; task labels are never part of this artifact." ;
10
+ owl:versionInfo "gatekeeper_policy/1.0.0" .
11
+
12
+ gk:idempotence_key a owl:DatatypeProperty ;
13
+ rdfs:comment "Relation 'idempotence_key' of the spec vocabulary." ;
14
+ rdfs:domain gk:PatchObjectAction ;
15
+ rdfs:range xsd:string .
16
+
17
+ gk:image_0 a owl:DatatypeProperty ;
18
+ rdfs:comment "First (only) container image of a Pod in the v1 projection." ;
19
+ rdfs:domain gk:Pod ;
20
+ rdfs:range xsd:string .
21
+
22
+ gk:label_app a owl:DatatypeProperty ;
23
+ rdfs:comment "Relation 'label_app' of the spec vocabulary." ;
24
+ rdfs:domain gk:K8sObject ;
25
+ rdfs:range xsd:string .
26
+
27
+ gk:label_env a owl:DatatypeProperty ;
28
+ rdfs:comment "Relation 'label_env' of the spec vocabulary." ;
29
+ rdfs:domain gk:K8sObject ;
30
+ rdfs:range xsd:string .
31
+
32
+ gk:label_owner a owl:DatatypeProperty ;
33
+ rdfs:comment "Relation 'label_owner' of the spec vocabulary." ;
34
+ rdfs:domain gk:K8sObject ;
35
+ rdfs:range xsd:string .
36
+
37
+ gk:label_pizza a owl:DatatypeProperty ;
38
+ rdfs:comment "The required label key of the pinned requiredlabels sample (any value satisfies the clause)." ;
39
+ rdfs:domain gk:Pod ;
40
+ rdfs:range xsd:string .
41
+
42
+ gk:name a owl:DatatypeProperty ;
43
+ rdfs:comment "Relation 'name' of the spec vocabulary." ;
44
+ rdfs:domain gk:K8sObject ;
45
+ rdfs:range xsd:string .
46
+
47
+ gk:namespace a owl:DatatypeProperty ;
48
+ rdfs:comment "Relation 'namespace' of the spec vocabulary." ;
49
+ rdfs:domain gk:K8sObject ;
50
+ rdfs:range xsd:string .
51
+
52
+ gk:object a owl:ObjectProperty ;
53
+ rdfs:comment "The object a patch action targets." ;
54
+ rdfs:domain gk:PatchObjectAction ;
55
+ rdfs:range gk:K8sObject ;
56
+ owl:inverseOf gk:relatedObject .
57
+
58
+ gk:replicas a owl:DatatypeProperty ;
59
+ rdfs:comment "spec.replicas; gold range [3, 50]." ;
60
+ rdfs:domain gk:Deployment ;
61
+ rdfs:range xsd:string .
62
+
63
+ gk:service_type a owl:DatatypeProperty ;
64
+ rdfs:comment "spec.type; 'NodePort' is the blocked value and is therefore absent from the gold enumeration." ;
65
+ rdfs:domain gk:Service ;
66
+ rdfs:range xsd:string .
67
+
68
+ gk:set_metadata_labels_pizza a owl:DatatypeProperty ;
69
+ rdfs:comment "Relation 'set_metadata_labels_pizza' of the spec vocabulary." ;
70
+ rdfs:domain gk:PatchObjectAction ;
71
+ rdfs:range xsd:string .
72
+
73
+ gk:set_spec_containers_0_image a owl:DatatypeProperty ;
74
+ rdfs:comment "Relation 'set_spec_containers_0_image' of the spec vocabulary." ;
75
+ rdfs:domain gk:PatchObjectAction ;
76
+ rdfs:range xsd:string .
77
+
78
+ gk:set_spec_replicas a owl:DatatypeProperty ;
79
+ rdfs:comment "Relation 'set_spec_replicas' of the spec vocabulary." ;
80
+ rdfs:domain gk:PatchObjectAction ;
81
+ rdfs:range xsd:integer .
82
+
83
+ gk:set_spec_type a owl:DatatypeProperty ;
84
+ rdfs:comment "Relation 'set_spec_type' of the spec vocabulary." ;
85
+ rdfs:domain gk:PatchObjectAction ;
86
+ rdfs:range xsd:string .
87
+
88
+ gk:srcImage0 corr:mapsTo gk:Service ;
89
+ rdfs:comment "Source field 'state.containers[0].image' lifts to concept gk:Pod." .
90
+
91
+ gk:srcLabelPizza corr:mapsTo gk:Pod ;
92
+ rdfs:comment "Source field 'state.metadata.labels.pizza' lifts to concept gk:Pod." .
93
+
94
+ gk:srcReplicas corr:mapsTo gk:Deployment ;
95
+ rdfs:comment "Source field 'state.spec.replicas' lifts to concept gk:Deployment." .
96
+
97
+ gk:srcServiceType corr:mapsTo gk:Service ;
98
+ rdfs:comment "Source field 'state.spec.type' lifts to concept gk:Service." .
99
+
100
+ gk:targetedBy a owl:ObjectProperty ;
101
+ rdfs:comment "Inverse of gk:object (the pair is defined by the single owl:inverseOf link on gk:object)." ;
102
+ rdfs:domain gk:K8sObject ;
103
+ rdfs:range gk:PatchObjectAction .
104
+
105
+ gk:relatedObject a owl:ObjectProperty ;
106
+ rdfs:comment "General object-to-object relation (e.g. a Service selecting a Pod); present so the ontology carries a third object property." ;
107
+ rdfs:domain gk:K8sObject ;
108
+ rdfs:range gk:K8sObject .
109
+
110
+ gk:Action a owl:Class ;
111
+ rdfs:label "Action" ;
112
+ rdfs:comment "An episodic action. Base class." .
113
+
114
+ gk:Deployment a owl:Class ;
115
+ rdfs:label "Deployment" ;
116
+ rdfs:comment "rdfs:subClassOf K8sObject. A Deployment whose gk:replicas must lie inside the allowed range [3, 50] inclusive (replicalimits)." ;
117
+ rdfs:subClassOf gk:K8sObject .
118
+
119
+ gk:Pod a owl:Class ;
120
+ rdfs:label "Pod" ;
121
+ rdfs:comment "rdfs:subClassOf K8sObject. A single-container Pod (v1 projection: gk:image_0). Rule: every Pod's image_0 must start with the allowed repository prefix 'openpolicyagent/' (allowedrepos; world operates in namespace 'default' which is the sample constraint's match scope), and every Pod must carry the required label key 'pizza' with any value (requiredlabels)." ;
122
+ rdfs:subClassOf gk:Action .
123
+
124
+ gk:Service rdfs:label "Service" ;
125
+ rdfs:comment "rdfs:subClassOf K8sObject. A Service whose gk:service_type must not be 'NodePort' (block-nodeport-services); an absent service_type passes, matching the native rule which fires only on type == NodePort." ;
126
+ rdfs:subClassOf gk:K8sObject .
127
+
128
+ gk:PatchObjectAction a owl:Class ;
129
+ rdfs:label "PatchObjectAction" ;
130
+ rdfs:comment "rdfs:subClassOf Action. A patch_object admission: exactly one gk:object reference and exactly one gk:idempotence_key; the set_* datatype properties carry the patch's field overrides. Admission semantics are post-patch: the EFFECTIVE value of each governed field after the patch must satisfy the unit's clause." ;
131
+ rdfs:subClassOf gk:Action .
132
+
133
+ gk:K8sObject a owl:Class ;
134
+ rdfs:label "K8sObject" ;
135
+ rdfs:comment "A Kubernetes-like object in the episodic cluster state. Base class." .
136
+
core_worlds/private/artifacts/world_L01/corrupt/shapes.ttl ADDED
@@ -0,0 +1,56 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ @prefix gk: <urn:aob:gk#> .
2
+ @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
3
+ @prefix sh: <http://www.w3.org/ns/shacl#> .
4
+ @prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
5
+
6
+ gk:DeploymentShape a sh:NodeShape ;
7
+ sh:property [ sh:datatype xsd:integer ;
8
+ sh:maxCount 1 ;
9
+ sh:minCount 1 ;
10
+ sh:path gk:replicas ],
11
+ [ sh:maxInclusive 50 ;
12
+ sh:minInclusive 3 ;
13
+ sh:path gk:replicas ] ;
14
+ sh:targetClass gk:Deployment .
15
+
16
+ gk:K8sObjectShape a sh:NodeShape ;
17
+ sh:property [ sh:datatype xsd:string ;
18
+ sh:maxCount 1 ;
19
+ sh:minCount 1 ;
20
+ sh:path gk:namespace ],
21
+ [ sh:datatype xsd:string ;
22
+ sh:maxCount 1 ;
23
+ sh:minCount 1 ;
24
+ sh:path gk:name ] ;
25
+ sh:targetClass gk:K8sObject .
26
+
27
+ gk:PatchObjectActionShape a sh:NodeShape ;
28
+ sh:property [ sh:maxCount 1 ;
29
+ sh:minCount 1 ;
30
+ sh:nodeKind sh:IRI ;
31
+ sh:path gk:object ],
32
+ [ sh:datatype xsd:string ;
33
+ sh:maxCount 1 ;
34
+ sh:minCount 1 ;
35
+ sh:path gk:idempotence_key ] ;
36
+ sh:targetClass gk:PatchObjectAction .
37
+
38
+ gk:PodShape a sh:NodeShape ;
39
+ sh:property [ sh:datatype xsd:string ;
40
+ sh:maxCount 1 ;
41
+ sh:path gk:label_pizza ],
42
+ [ sh:datatype xsd:string ;
43
+ sh:maxCount 1 ;
44
+ sh:minCount 1 ;
45
+ sh:path gk:image_0 ;
46
+ sh:pattern "^openpolicyagent/" ] ;
47
+ sh:targetClass gk:K8sObject .
48
+
49
+ gk:ServiceShape a sh:NodeShape ;
50
+ sh:closed true ;
51
+ sh:property [ sh:datatype xsd:string ;
52
+ sh:in ( "ClusterIP" "LoadBalancer" "ExternalName" ) ;
53
+ sh:maxCount 1 ;
54
+ sh:path gk:service_type ] ;
55
+ sh:targetClass gk:Service .
56
+
core_worlds/private/artifacts/world_L01/gold/mappings.json ADDED
@@ -0,0 +1,77 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "entries": [
3
+ {
4
+ "concept": "PatchObjectAction",
5
+ "field": "object",
6
+ "source": "action",
7
+ "term": "object"
8
+ },
9
+ {
10
+ "concept": "PatchObjectAction",
11
+ "field": "idempotence_key",
12
+ "source": "action",
13
+ "term": "idempotence_key"
14
+ },
15
+ {
16
+ "concept": "PatchObjectAction",
17
+ "field": "set_spec_containers_0_image",
18
+ "source": "action",
19
+ "term": "set_spec_containers_0_image"
20
+ },
21
+ {
22
+ "concept": "PatchObjectAction",
23
+ "field": "set_metadata_labels_pizza",
24
+ "source": "action",
25
+ "term": "set_metadata_labels_pizza"
26
+ },
27
+ {
28
+ "concept": "PatchObjectAction",
29
+ "field": "set_spec_replicas",
30
+ "source": "action",
31
+ "term": "set_spec_replicas"
32
+ },
33
+ {
34
+ "concept": "PatchObjectAction",
35
+ "field": "set_spec_type",
36
+ "source": "action",
37
+ "term": "set_spec_type"
38
+ },
39
+ {
40
+ "concept": "K8sObject",
41
+ "field": "name",
42
+ "source": "state",
43
+ "term": "name"
44
+ },
45
+ {
46
+ "concept": "K8sObject",
47
+ "field": "namespace",
48
+ "source": "state",
49
+ "term": "namespace"
50
+ },
51
+ {
52
+ "concept": "Pod",
53
+ "field": "image_0",
54
+ "source": "state",
55
+ "term": "image_0"
56
+ },
57
+ {
58
+ "concept": "Pod",
59
+ "field": "label_pizza",
60
+ "source": "state",
61
+ "term": "label_pizza"
62
+ },
63
+ {
64
+ "concept": "Deployment",
65
+ "field": "replicas",
66
+ "source": "state",
67
+ "term": "replicas"
68
+ },
69
+ {
70
+ "concept": "Service",
71
+ "field": "service_type",
72
+ "source": "state",
73
+ "term": "service_type"
74
+ }
75
+ ],
76
+ "schema": "mappings/1.0"
77
+ }
core_worlds/private/artifacts/world_L01/gold/ontology.ttl ADDED
@@ -0,0 +1,137 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ @prefix corr: <http://example.org/corr#> .
2
+ @prefix gk: <urn:aob:gk#> .
3
+ @prefix owl: <http://www.w3.org/2002/07/owl#> .
4
+ @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
5
+ @prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
6
+
7
+ gk:Ontology a owl:Ontology ;
8
+ rdfs:label "Gatekeeper policy gold ontology" ;
9
+ rdfs:comment "RULE layer only: class hierarchy, typed relations and axioms derived from the frozen spec (pilot_worlds/world_L01_scaleup/spec/gatekeeper_policy.json), encoding the pinned gatekeeper-library sample-constraint clauses. Instance facts live in the projected states; task labels are never part of this artifact." ;
10
+ owl:versionInfo "gatekeeper_policy/1.0.0" .
11
+
12
+ gk:idempotence_key a owl:DatatypeProperty ;
13
+ rdfs:comment "Relation 'idempotence_key' of the spec vocabulary." ;
14
+ rdfs:domain gk:PatchObjectAction ;
15
+ rdfs:range xsd:string .
16
+
17
+ gk:image_0 a owl:DatatypeProperty ;
18
+ rdfs:comment "First (only) container image of a Pod in the v1 projection." ;
19
+ rdfs:domain gk:Pod ;
20
+ rdfs:range xsd:string .
21
+
22
+ gk:label_app a owl:DatatypeProperty ;
23
+ rdfs:comment "Relation 'label_app' of the spec vocabulary." ;
24
+ rdfs:domain gk:K8sObject ;
25
+ rdfs:range xsd:string .
26
+
27
+ gk:label_env a owl:DatatypeProperty ;
28
+ rdfs:comment "Relation 'label_env' of the spec vocabulary." ;
29
+ rdfs:domain gk:K8sObject ;
30
+ rdfs:range xsd:string .
31
+
32
+ gk:label_owner a owl:DatatypeProperty ;
33
+ rdfs:comment "Relation 'label_owner' of the spec vocabulary." ;
34
+ rdfs:domain gk:K8sObject ;
35
+ rdfs:range xsd:string .
36
+
37
+ gk:label_pizza a owl:DatatypeProperty ;
38
+ rdfs:comment "The required label key of the pinned requiredlabels sample (any value satisfies the clause)." ;
39
+ rdfs:domain gk:Pod ;
40
+ rdfs:range xsd:string .
41
+
42
+ gk:name a owl:DatatypeProperty ;
43
+ rdfs:comment "Relation 'name' of the spec vocabulary." ;
44
+ rdfs:domain gk:K8sObject ;
45
+ rdfs:range xsd:string .
46
+
47
+ gk:namespace a owl:DatatypeProperty ;
48
+ rdfs:comment "Relation 'namespace' of the spec vocabulary." ;
49
+ rdfs:domain gk:K8sObject ;
50
+ rdfs:range xsd:string .
51
+
52
+ gk:object a owl:ObjectProperty ;
53
+ rdfs:comment "The object a patch action targets." ;
54
+ rdfs:domain gk:PatchObjectAction ;
55
+ rdfs:range gk:K8sObject ;
56
+ owl:inverseOf gk:targetedBy .
57
+
58
+ gk:relatedObject a owl:ObjectProperty ;
59
+ rdfs:comment "General object-to-object relation (e.g. a Service selecting a Pod); present so the ontology carries a third object property." ;
60
+ rdfs:domain gk:K8sObject ;
61
+ rdfs:range gk:K8sObject .
62
+
63
+ gk:replicas a owl:DatatypeProperty ;
64
+ rdfs:comment "spec.replicas; gold range [3, 50]." ;
65
+ rdfs:domain gk:Deployment ;
66
+ rdfs:range xsd:integer .
67
+
68
+ gk:service_type a owl:DatatypeProperty ;
69
+ rdfs:comment "spec.type; 'NodePort' is the blocked value and is therefore absent from the gold enumeration." ;
70
+ rdfs:domain gk:Service ;
71
+ rdfs:range xsd:string .
72
+
73
+ gk:set_metadata_labels_pizza a owl:DatatypeProperty ;
74
+ rdfs:comment "Relation 'set_metadata_labels_pizza' of the spec vocabulary." ;
75
+ rdfs:domain gk:PatchObjectAction ;
76
+ rdfs:range xsd:string .
77
+
78
+ gk:set_spec_containers_0_image a owl:DatatypeProperty ;
79
+ rdfs:comment "Relation 'set_spec_containers_0_image' of the spec vocabulary." ;
80
+ rdfs:domain gk:PatchObjectAction ;
81
+ rdfs:range xsd:string .
82
+
83
+ gk:set_spec_replicas a owl:DatatypeProperty ;
84
+ rdfs:comment "Relation 'set_spec_replicas' of the spec vocabulary." ;
85
+ rdfs:domain gk:PatchObjectAction ;
86
+ rdfs:range xsd:integer .
87
+
88
+ gk:set_spec_type a owl:DatatypeProperty ;
89
+ rdfs:comment "Relation 'set_spec_type' of the spec vocabulary." ;
90
+ rdfs:domain gk:PatchObjectAction ;
91
+ rdfs:range xsd:string .
92
+
93
+ gk:srcImage0 corr:mapsTo gk:Pod ;
94
+ rdfs:comment "Source field 'state.containers[0].image' lifts to concept gk:Pod." .
95
+
96
+ gk:srcLabelPizza corr:mapsTo gk:Pod ;
97
+ rdfs:comment "Source field 'state.metadata.labels.pizza' lifts to concept gk:Pod." .
98
+
99
+ gk:srcReplicas corr:mapsTo gk:Deployment ;
100
+ rdfs:comment "Source field 'state.spec.replicas' lifts to concept gk:Deployment." .
101
+
102
+ gk:srcServiceType corr:mapsTo gk:Service ;
103
+ rdfs:comment "Source field 'state.spec.type' lifts to concept gk:Service." .
104
+
105
+ gk:Action a owl:Class ;
106
+ rdfs:label "Action" ;
107
+ rdfs:comment "An episodic action. Base class." .
108
+
109
+ gk:targetedBy a owl:ObjectProperty ;
110
+ rdfs:comment "Inverse of gk:object (the pair is defined by the single owl:inverseOf link on gk:object)." ;
111
+ rdfs:domain gk:K8sObject ;
112
+ rdfs:range gk:PatchObjectAction .
113
+
114
+ gk:Deployment a owl:Class ;
115
+ rdfs:label "Deployment" ;
116
+ rdfs:comment "rdfs:subClassOf K8sObject. A Deployment whose gk:replicas must lie inside the allowed range [3, 50] inclusive (replicalimits)." ;
117
+ rdfs:subClassOf gk:K8sObject .
118
+
119
+ gk:Service a owl:Class ;
120
+ rdfs:label "Service" ;
121
+ rdfs:comment "rdfs:subClassOf K8sObject. A Service whose gk:service_type must not be 'NodePort' (block-nodeport-services); an absent service_type passes, matching the native rule which fires only on type == NodePort." ;
122
+ rdfs:subClassOf gk:K8sObject .
123
+
124
+ gk:Pod a owl:Class ;
125
+ rdfs:label "Pod" ;
126
+ rdfs:comment "rdfs:subClassOf K8sObject. A single-container Pod (v1 projection: gk:image_0). Rule: every Pod's image_0 must start with the allowed repository prefix 'openpolicyagent/' (allowedrepos; world operates in namespace 'default' which is the sample constraint's match scope), and every Pod must carry the required label key 'pizza' with any value (requiredlabels)." ;
127
+ rdfs:subClassOf gk:K8sObject .
128
+
129
+ gk:PatchObjectAction a owl:Class ;
130
+ rdfs:label "PatchObjectAction" ;
131
+ rdfs:comment "rdfs:subClassOf Action. A patch_object admission: exactly one gk:object reference and exactly one gk:idempotence_key; the set_* datatype properties carry the patch's field overrides. Admission semantics are post-patch: the EFFECTIVE value of each governed field after the patch must satisfy the unit's clause." ;
132
+ rdfs:subClassOf gk:Action .
133
+
134
+ gk:K8sObject a owl:Class ;
135
+ rdfs:label "K8sObject" ;
136
+ rdfs:comment "A Kubernetes-like object in the episodic cluster state. Base class." .
137
+
core_worlds/private/artifacts/world_L01/gold/shapes.ttl ADDED
@@ -0,0 +1,56 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ @prefix gk: <urn:aob:gk#> .
2
+ @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
3
+ @prefix sh: <http://www.w3.org/ns/shacl#> .
4
+ @prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
5
+
6
+ gk:DeploymentShape a sh:NodeShape ;
7
+ sh:property [ sh:datatype xsd:integer ;
8
+ sh:maxCount 1 ;
9
+ sh:minCount 1 ;
10
+ sh:path gk:replicas ],
11
+ [ sh:maxInclusive 50 ;
12
+ sh:minInclusive 3 ;
13
+ sh:path gk:replicas ] ;
14
+ sh:targetClass gk:Deployment .
15
+
16
+ gk:K8sObjectShape a sh:NodeShape ;
17
+ sh:property [ sh:datatype xsd:string ;
18
+ sh:maxCount 1 ;
19
+ sh:minCount 1 ;
20
+ sh:path gk:namespace ],
21
+ [ sh:datatype xsd:string ;
22
+ sh:maxCount 1 ;
23
+ sh:minCount 1 ;
24
+ sh:path gk:name ] ;
25
+ sh:targetClass gk:K8sObject .
26
+
27
+ gk:PatchObjectActionShape a sh:NodeShape ;
28
+ sh:property [ sh:maxCount 1 ;
29
+ sh:minCount 1 ;
30
+ sh:nodeKind sh:IRI ;
31
+ sh:path gk:object ],
32
+ [ sh:datatype xsd:string ;
33
+ sh:maxCount 1 ;
34
+ sh:minCount 1 ;
35
+ sh:path gk:idempotence_key ] ;
36
+ sh:targetClass gk:PatchObjectAction .
37
+
38
+ gk:PodShape a sh:NodeShape ;
39
+ sh:property [ sh:datatype xsd:string ;
40
+ sh:maxCount 1 ;
41
+ sh:minCount 1 ;
42
+ sh:path gk:label_pizza ],
43
+ [ sh:datatype xsd:string ;
44
+ sh:maxCount 1 ;
45
+ sh:minCount 1 ;
46
+ sh:path gk:image_0 ;
47
+ sh:pattern "^openpolicyagent/" ] ;
48
+ sh:targetClass gk:Pod .
49
+
50
+ gk:ServiceShape a sh:NodeShape ;
51
+ sh:property [ sh:datatype xsd:string ;
52
+ sh:in ( "ClusterIP" "LoadBalancer" "ExternalName" ) ;
53
+ sh:maxCount 1 ;
54
+ sh:path gk:service_type ] ;
55
+ sh:targetClass gk:Service .
56
+
core_worlds/private/artifacts/world_L01/repaired/mappings.json ADDED
@@ -0,0 +1,77 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "entries": [
3
+ {
4
+ "concept": "PatchObjectAction",
5
+ "field": "object",
6
+ "source": "action",
7
+ "term": "object"
8
+ },
9
+ {
10
+ "concept": "PatchObjectAction",
11
+ "field": "idempotence_key",
12
+ "source": "action",
13
+ "term": "idempotence_key"
14
+ },
15
+ {
16
+ "concept": "PatchObjectAction",
17
+ "field": "set_spec_containers_0_image",
18
+ "source": "action",
19
+ "term": "set_spec_containers_0_image"
20
+ },
21
+ {
22
+ "concept": "PatchObjectAction",
23
+ "field": "set_metadata_labels_pizza",
24
+ "source": "action",
25
+ "term": "set_metadata_labels_pizza"
26
+ },
27
+ {
28
+ "concept": "PatchObjectAction",
29
+ "field": "set_spec_replicas",
30
+ "source": "action",
31
+ "term": "set_spec_replicas"
32
+ },
33
+ {
34
+ "concept": "PatchObjectAction",
35
+ "field": "set_spec_type",
36
+ "source": "action",
37
+ "term": "set_spec_type"
38
+ },
39
+ {
40
+ "concept": "K8sObject",
41
+ "field": "name",
42
+ "source": "state",
43
+ "term": "name"
44
+ },
45
+ {
46
+ "concept": "K8sObject",
47
+ "field": "namespace",
48
+ "source": "state",
49
+ "term": "namespace"
50
+ },
51
+ {
52
+ "concept": "Pod",
53
+ "field": "image_0",
54
+ "source": "state",
55
+ "term": "image_0"
56
+ },
57
+ {
58
+ "concept": "Pod",
59
+ "field": "label_pizza",
60
+ "source": "state",
61
+ "term": "label_pizza"
62
+ },
63
+ {
64
+ "concept": "Deployment",
65
+ "field": "replicas",
66
+ "source": "state",
67
+ "term": "replicas"
68
+ },
69
+ {
70
+ "concept": "Service",
71
+ "field": "service_type",
72
+ "source": "state",
73
+ "term": "service_type"
74
+ }
75
+ ],
76
+ "schema": "mappings/1.0"
77
+ }
core_worlds/private/artifacts/world_L01/repaired/ontology.ttl ADDED
@@ -0,0 +1,137 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ @prefix corr: <http://example.org/corr#> .
2
+ @prefix gk: <urn:aob:gk#> .
3
+ @prefix owl: <http://www.w3.org/2002/07/owl#> .
4
+ @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
5
+ @prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
6
+
7
+ gk:Ontology a owl:Ontology ;
8
+ rdfs:label "Gatekeeper policy gold ontology" ;
9
+ rdfs:comment "RULE layer only: class hierarchy, typed relations and axioms derived from the frozen spec (pilot_worlds/world_L01_scaleup/spec/gatekeeper_policy.json), encoding the pinned gatekeeper-library sample-constraint clauses. Instance facts live in the projected states; task labels are never part of this artifact." ;
10
+ owl:versionInfo "gatekeeper_policy/1.0.0" .
11
+
12
+ gk:idempotence_key a owl:DatatypeProperty ;
13
+ rdfs:comment "Relation 'idempotence_key' of the spec vocabulary." ;
14
+ rdfs:domain gk:PatchObjectAction ;
15
+ rdfs:range xsd:string .
16
+
17
+ gk:image_0 a owl:DatatypeProperty ;
18
+ rdfs:comment "First (only) container image of a Pod in the v1 projection." ;
19
+ rdfs:domain gk:Pod ;
20
+ rdfs:range xsd:string .
21
+
22
+ gk:label_app a owl:DatatypeProperty ;
23
+ rdfs:comment "Relation 'label_app' of the spec vocabulary." ;
24
+ rdfs:domain gk:K8sObject ;
25
+ rdfs:range xsd:string .
26
+
27
+ gk:label_env a owl:DatatypeProperty ;
28
+ rdfs:comment "Relation 'label_env' of the spec vocabulary." ;
29
+ rdfs:domain gk:K8sObject ;
30
+ rdfs:range xsd:string .
31
+
32
+ gk:label_owner a owl:DatatypeProperty ;
33
+ rdfs:comment "Relation 'label_owner' of the spec vocabulary." ;
34
+ rdfs:domain gk:K8sObject ;
35
+ rdfs:range xsd:string .
36
+
37
+ gk:label_pizza a owl:DatatypeProperty ;
38
+ rdfs:comment "The required label key of the pinned requiredlabels sample (any value satisfies the clause)." ;
39
+ rdfs:domain gk:Pod ;
40
+ rdfs:range xsd:string .
41
+
42
+ gk:name a owl:DatatypeProperty ;
43
+ rdfs:comment "Relation 'name' of the spec vocabulary." ;
44
+ rdfs:domain gk:K8sObject ;
45
+ rdfs:range xsd:string .
46
+
47
+ gk:namespace a owl:DatatypeProperty ;
48
+ rdfs:comment "Relation 'namespace' of the spec vocabulary." ;
49
+ rdfs:domain gk:K8sObject ;
50
+ rdfs:range xsd:string .
51
+
52
+ gk:object a owl:ObjectProperty ;
53
+ rdfs:comment "The object a patch action targets." ;
54
+ rdfs:domain gk:PatchObjectAction ;
55
+ rdfs:range gk:K8sObject ;
56
+ owl:inverseOf gk:targetedBy .
57
+
58
+ gk:relatedObject a owl:ObjectProperty ;
59
+ rdfs:comment "General object-to-object relation (e.g. a Service selecting a Pod); present so the ontology carries a third object property." ;
60
+ rdfs:domain gk:K8sObject ;
61
+ rdfs:range gk:K8sObject .
62
+
63
+ gk:replicas a owl:DatatypeProperty ;
64
+ rdfs:comment "spec.replicas; gold range [3, 50]." ;
65
+ rdfs:domain gk:Deployment ;
66
+ rdfs:range xsd:integer .
67
+
68
+ gk:service_type a owl:DatatypeProperty ;
69
+ rdfs:comment "spec.type; 'NodePort' is the blocked value and is therefore absent from the gold enumeration." ;
70
+ rdfs:domain gk:Service ;
71
+ rdfs:range xsd:string .
72
+
73
+ gk:set_metadata_labels_pizza a owl:DatatypeProperty ;
74
+ rdfs:comment "Relation 'set_metadata_labels_pizza' of the spec vocabulary." ;
75
+ rdfs:domain gk:PatchObjectAction ;
76
+ rdfs:range xsd:string .
77
+
78
+ gk:set_spec_containers_0_image a owl:DatatypeProperty ;
79
+ rdfs:comment "Relation 'set_spec_containers_0_image' of the spec vocabulary." ;
80
+ rdfs:domain gk:PatchObjectAction ;
81
+ rdfs:range xsd:string .
82
+
83
+ gk:set_spec_replicas a owl:DatatypeProperty ;
84
+ rdfs:comment "Relation 'set_spec_replicas' of the spec vocabulary." ;
85
+ rdfs:domain gk:PatchObjectAction ;
86
+ rdfs:range xsd:integer .
87
+
88
+ gk:set_spec_type a owl:DatatypeProperty ;
89
+ rdfs:comment "Relation 'set_spec_type' of the spec vocabulary." ;
90
+ rdfs:domain gk:PatchObjectAction ;
91
+ rdfs:range xsd:string .
92
+
93
+ gk:srcImage0 corr:mapsTo gk:Pod ;
94
+ rdfs:comment "Source field 'state.containers[0].image' lifts to concept gk:Pod." .
95
+
96
+ gk:srcLabelPizza corr:mapsTo gk:Pod ;
97
+ rdfs:comment "Source field 'state.metadata.labels.pizza' lifts to concept gk:Pod." .
98
+
99
+ gk:srcReplicas corr:mapsTo gk:Deployment ;
100
+ rdfs:comment "Source field 'state.spec.replicas' lifts to concept gk:Deployment." .
101
+
102
+ gk:srcServiceType corr:mapsTo gk:Service ;
103
+ rdfs:comment "Source field 'state.spec.type' lifts to concept gk:Service." .
104
+
105
+ gk:Action a owl:Class ;
106
+ rdfs:label "Action" ;
107
+ rdfs:comment "An episodic action. Base class." .
108
+
109
+ gk:targetedBy a owl:ObjectProperty ;
110
+ rdfs:comment "Inverse of gk:object (the pair is defined by the single owl:inverseOf link on gk:object)." ;
111
+ rdfs:domain gk:K8sObject ;
112
+ rdfs:range gk:PatchObjectAction .
113
+
114
+ gk:Deployment a owl:Class ;
115
+ rdfs:label "Deployment" ;
116
+ rdfs:comment "rdfs:subClassOf K8sObject. A Deployment whose gk:replicas must lie inside the allowed range [3, 50] inclusive (replicalimits)." ;
117
+ rdfs:subClassOf gk:K8sObject .
118
+
119
+ gk:Service a owl:Class ;
120
+ rdfs:label "Service" ;
121
+ rdfs:comment "rdfs:subClassOf K8sObject. A Service whose gk:service_type must not be 'NodePort' (block-nodeport-services); an absent service_type passes, matching the native rule which fires only on type == NodePort." ;
122
+ rdfs:subClassOf gk:K8sObject .
123
+
124
+ gk:Pod a owl:Class ;
125
+ rdfs:label "Pod" ;
126
+ rdfs:comment "rdfs:subClassOf K8sObject. A single-container Pod (v1 projection: gk:image_0). Rule: every Pod's image_0 must start with the allowed repository prefix 'openpolicyagent/' (allowedrepos; world operates in namespace 'default' which is the sample constraint's match scope), and every Pod must carry the required label key 'pizza' with any value (requiredlabels)." ;
127
+ rdfs:subClassOf gk:K8sObject .
128
+
129
+ gk:PatchObjectAction a owl:Class ;
130
+ rdfs:label "PatchObjectAction" ;
131
+ rdfs:comment "rdfs:subClassOf Action. A patch_object admission: exactly one gk:object reference and exactly one gk:idempotence_key; the set_* datatype properties carry the patch's field overrides. Admission semantics are post-patch: the EFFECTIVE value of each governed field after the patch must satisfy the unit's clause." ;
132
+ rdfs:subClassOf gk:Action .
133
+
134
+ gk:K8sObject a owl:Class ;
135
+ rdfs:label "K8sObject" ;
136
+ rdfs:comment "A Kubernetes-like object in the episodic cluster state. Base class." .
137
+
core_worlds/private/artifacts/world_L01/repaired/shapes.ttl ADDED
@@ -0,0 +1,56 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ @prefix gk: <urn:aob:gk#> .
2
+ @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
3
+ @prefix sh: <http://www.w3.org/ns/shacl#> .
4
+ @prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
5
+
6
+ gk:DeploymentShape a sh:NodeShape ;
7
+ sh:property [ sh:datatype xsd:integer ;
8
+ sh:maxCount 1 ;
9
+ sh:minCount 1 ;
10
+ sh:path gk:replicas ],
11
+ [ sh:maxInclusive 50 ;
12
+ sh:minInclusive 3 ;
13
+ sh:path gk:replicas ] ;
14
+ sh:targetClass gk:Deployment .
15
+
16
+ gk:K8sObjectShape a sh:NodeShape ;
17
+ sh:property [ sh:datatype xsd:string ;
18
+ sh:maxCount 1 ;
19
+ sh:minCount 1 ;
20
+ sh:path gk:namespace ],
21
+ [ sh:datatype xsd:string ;
22
+ sh:maxCount 1 ;
23
+ sh:minCount 1 ;
24
+ sh:path gk:name ] ;
25
+ sh:targetClass gk:K8sObject .
26
+
27
+ gk:PatchObjectActionShape a sh:NodeShape ;
28
+ sh:property [ sh:maxCount 1 ;
29
+ sh:minCount 1 ;
30
+ sh:nodeKind sh:IRI ;
31
+ sh:path gk:object ],
32
+ [ sh:datatype xsd:string ;
33
+ sh:maxCount 1 ;
34
+ sh:minCount 1 ;
35
+ sh:path gk:idempotence_key ] ;
36
+ sh:targetClass gk:PatchObjectAction .
37
+
38
+ gk:PodShape a sh:NodeShape ;
39
+ sh:property [ sh:datatype xsd:string ;
40
+ sh:maxCount 1 ;
41
+ sh:minCount 1 ;
42
+ sh:path gk:label_pizza ],
43
+ [ sh:datatype xsd:string ;
44
+ sh:maxCount 1 ;
45
+ sh:minCount 1 ;
46
+ sh:path gk:image_0 ;
47
+ sh:pattern "^openpolicyagent/" ] ;
48
+ sh:targetClass gk:Pod .
49
+
50
+ gk:ServiceShape a sh:NodeShape ;
51
+ sh:property [ sh:datatype xsd:string ;
52
+ sh:in ( "ClusterIP" "LoadBalancer" "ExternalName" ) ;
53
+ sh:maxCount 1 ;
54
+ sh:path gk:service_type ] ;
55
+ sh:targetClass gk:Service .
56
+
core_worlds/private/artifacts/world_L01/variants.json ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "corrupt": {
3
+ "corruption_manifest": "pilot_worlds/world_L01_scaleup/pack/private/corruption_manifest.json",
4
+ "ontology_sha256": "2aa3c83d08dbc5d81015f65d582b40fe66256b19462d5f72d4d734505ced802c",
5
+ "shapes_sha256": "6bf0d94e04471bcd93ec4489501db76e2c20142fc9fe5efe994fd244ee4b354c"
6
+ },
7
+ "gold": {
8
+ "ontology_sha256": "8c075145468b5c853c008e6629ac46911245f1a83ce60c58b1710fe2b0b7af1b",
9
+ "shapes_sha256": "a9a0383e001109758bc2b2ca9d87971375c9b0d7d9d162d191182080ace04a11"
10
+ },
11
+ "mappings_identical_across_variants": true,
12
+ "repaired": {
13
+ "note": "repaired reference == gold bytes; the corrupt -> gold delta is exactly the corruption manifest diff",
14
+ "ontology_sha256": "8c075145468b5c853c008e6629ac46911245f1a83ce60c58b1710fe2b0b7af1b",
15
+ "shapes_sha256": "a9a0383e001109758bc2b2ca9d87971375c9b0d7d9d162d191182080ace04a11"
16
+ },
17
+ "schema": "aob-world-l01-variants/1.0"
18
+ }
core_worlds/private/artifacts/world_L02/corrupt/corruption_manifest.json ADDED
@@ -0,0 +1,197 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "error_count": 8,
3
+ "errors": [
4
+ {
5
+ "added_statements": [
6
+ "<http://example.org/k8s-vap-cel-core#VapPolicy> <http://www.w3.org/2000/01/rdf-schema#subClassOf> <http://example.org/k8s-vap-cel-core#MatchCondition> ."
7
+ ],
8
+ "artifact": "ontology",
9
+ "error_type": "wrong_subclassof",
10
+ "index": 0,
11
+ "params": {
12
+ "child": "http://example.org/k8s-vap-cel-core#VapPolicy",
13
+ "wrong_parent": "http://example.org/k8s-vap-cel-core#MatchCondition"
14
+ },
15
+ "rationale": "Re-pointed http://example.org/k8s-vap-cel-core#VapPolicy from its gold superclass http://example.org/k8s-vap-cel-core#Policy to http://example.org/k8s-vap-cel-core#MatchCondition, inverting the intended class hierarchy.",
16
+ "removed_statements": [
17
+ "<http://example.org/k8s-vap-cel-core#VapPolicy> <http://www.w3.org/2000/01/rdf-schema#subClassOf> <http://example.org/k8s-vap-cel-core#Policy> ."
18
+ ],
19
+ "requested_params": {
20
+ "child": "http://example.org/k8s-vap-cel-core#VapPolicy",
21
+ "wrong_parent": "http://example.org/k8s-vap-cel-core#MatchCondition"
22
+ },
23
+ "seed": 20261118,
24
+ "target_statements": [
25
+ "<http://example.org/k8s-vap-cel-core#VapPolicy> <http://www.w3.org/2000/01/rdf-schema#subClassOf> <http://example.org/k8s-vap-cel-core#Policy> ."
26
+ ]
27
+ },
28
+ {
29
+ "added_statements": [],
30
+ "artifact": "ontology",
31
+ "error_type": "concept_omission",
32
+ "index": 1,
33
+ "params": {
34
+ "target": "http://example.org/k8s-vap-cel-core#ValidationExpression"
35
+ },
36
+ "rationale": "Dropped the concept declaration http://www.w3.org/2002/07/owl#Class; downstream queries can no longer recognise http://example.org/k8s-vap-cel-core#ValidationExpression as a http://www.w3.org/2002/07/owl#Class.",
37
+ "removed_statements": [
38
+ "<http://example.org/k8s-vap-cel-core#ValidationExpression> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Class> ."
39
+ ],
40
+ "requested_params": {
41
+ "target": "http://example.org/k8s-vap-cel-core#ValidationExpression"
42
+ },
43
+ "seed": 20261118,
44
+ "target_statements": [
45
+ "<http://example.org/k8s-vap-cel-core#ValidationExpression> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Class> ."
46
+ ]
47
+ },
48
+ {
49
+ "added_statements": [
50
+ "<http://example.org/k8s-vap-cel-core#hasValidation> <http://www.w3.org/2002/07/owl#inverseOf> <http://example.org/k8s-vap-cel-core#governs> ."
51
+ ],
52
+ "artifact": "ontology",
53
+ "error_type": "inverse_relation",
54
+ "index": 2,
55
+ "params": {
56
+ "property": "http://example.org/k8s-vap-cel-core#hasValidation",
57
+ "wrong_inverse_of": "http://example.org/k8s-vap-cel-core#governs"
58
+ },
59
+ "rationale": "Replaced the correct inverse http://example.org/k8s-vap-cel-core#hasValidation owl:inverseOf http://example.org/k8s-vap-cel-core#validationOf with http://example.org/k8s-vap-cel-core#governs, so the relation now points the wrong way.",
60
+ "removed_statements": [
61
+ "<http://example.org/k8s-vap-cel-core#hasValidation> <http://www.w3.org/2002/07/owl#inverseOf> <http://example.org/k8s-vap-cel-core#validationOf> ."
62
+ ],
63
+ "requested_params": {
64
+ "property": "http://example.org/k8s-vap-cel-core#hasValidation",
65
+ "wrong_inverse_of": "http://example.org/k8s-vap-cel-core#governs"
66
+ },
67
+ "seed": 20261118,
68
+ "target_statements": [
69
+ "<http://example.org/k8s-vap-cel-core#hasValidation> <http://www.w3.org/2002/07/owl#inverseOf> <http://example.org/k8s-vap-cel-core#validationOf> ."
70
+ ]
71
+ },
72
+ {
73
+ "added_statements": [
74
+ "<http://example.org/k8s-vap-cel-core#expressionText> <http://www.w3.org/2000/01/rdf-schema#range> <http://example.org/k8s-vap-cel-core#Policy> ."
75
+ ],
76
+ "artifact": "ontology",
77
+ "error_type": "domain_range_mismatch",
78
+ "index": 3,
79
+ "params": {
80
+ "kind": "range",
81
+ "property": "http://example.org/k8s-vap-cel-core#expressionText",
82
+ "wrong": "http://example.org/k8s-vap-cel-core#Policy"
83
+ },
84
+ "rationale": "Changed http://example.org/k8s-vap-cel-core#expressionText range from http://www.w3.org/2001/XMLSchema#string to http://example.org/k8s-vap-cel-core#Policy, making the domain/range declaration inconsistent with the relation's intended use.",
85
+ "removed_statements": [
86
+ "<http://example.org/k8s-vap-cel-core#expressionText> <http://www.w3.org/2000/01/rdf-schema#range> <http://www.w3.org/2001/XMLSchema#string> ."
87
+ ],
88
+ "requested_params": {
89
+ "kind": "range",
90
+ "property": "http://example.org/k8s-vap-cel-core#expressionText",
91
+ "wrong": "http://example.org/k8s-vap-cel-core#Policy"
92
+ },
93
+ "seed": 20261118,
94
+ "target_statements": [
95
+ "<http://example.org/k8s-vap-cel-core#expressionText> <http://www.w3.org/2000/01/rdf-schema#range> <http://www.w3.org/2001/XMLSchema#string> ."
96
+ ]
97
+ },
98
+ {
99
+ "added_statements": [],
100
+ "artifact": "shapes",
101
+ "error_type": "missing_cardinality",
102
+ "index": 4,
103
+ "params": {
104
+ "constraint": "minCount",
105
+ "path": "http://example.org/k8s-vap-cel-core#objectId"
106
+ },
107
+ "rationale": "Removed minCount of the property shape on http://example.org/k8s-vap-cel-core#objectId; instances violating the cardinality now validate, hiding a required constraint.",
108
+ "removed_statements": [
109
+ "_:cb25804808537a5ffcd5eb28e009d94bcfe3d01315a284605292f9ac2987a9cf054 <http://www.w3.org/ns/shacl#minCount> \"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ."
110
+ ],
111
+ "requested_params": {
112
+ "constraint": "minCount",
113
+ "path": "http://example.org/k8s-vap-cel-core#objectId"
114
+ },
115
+ "seed": 20261118,
116
+ "target_statements": [
117
+ "<http://example.org/k8s-vap-cel-core#ClusterObjectShape> <http://www.w3.org/ns/shacl#property> _:cb25804808537a5ffcd5eb28e009d94bcfe3d01315a284605292f9ac2987a9cf054 .",
118
+ "_:cb25804808537a5ffcd5eb28e009d94bcfe3d01315a284605292f9ac2987a9cf054 <http://www.w3.org/ns/shacl#minCount> \"1\"^^<http://www.w3.org/2001/XMLSchema#integer> .",
119
+ "_:cb25804808537a5ffcd5eb28e009d94bcfe3d01315a284605292f9ac2987a9cf054 <http://www.w3.org/ns/shacl#path> <http://example.org/k8s-vap-cel-core#objectId> ."
120
+ ]
121
+ },
122
+ {
123
+ "added_statements": [
124
+ "<http://example.org/k8s-vap-cel-core#ClusterObjectShape> <http://www.w3.org/ns/shacl#closed> \"true\"^^<http://www.w3.org/2001/XMLSchema#boolean> ."
125
+ ],
126
+ "artifact": "shapes",
127
+ "error_type": "incorrect_closed_world",
128
+ "index": 5,
129
+ "params": {
130
+ "shape": "http://example.org/k8s-vap-cel-core#ClusterObjectShape"
131
+ },
132
+ "rationale": "Added sh:closed true to http://example.org/k8s-vap-cel-core#ClusterObjectShape, imposing a closed-world assumption on a shape whose semantics are open-world.",
133
+ "removed_statements": [],
134
+ "requested_params": {
135
+ "shape": "http://example.org/k8s-vap-cel-core#ClusterObjectShape"
136
+ },
137
+ "seed": 20261118,
138
+ "target_statements": [
139
+ "<http://example.org/k8s-vap-cel-core#ClusterObjectShape> <http://www.w3.org/ns/shacl#targetClass> <http://example.org/k8s-vap-cel-core#ClusterObject> ."
140
+ ]
141
+ },
142
+ {
143
+ "added_statements": [
144
+ "<http://example.org/k8s-vap-cel-core#VapPolicyShape> <http://www.w3.org/ns/shacl#targetClass> <http://example.org/k8s-vap-cel-core#Policy> ."
145
+ ],
146
+ "artifact": "shapes",
147
+ "error_type": "overgeneralization",
148
+ "index": 6,
149
+ "params": {
150
+ "shape": "http://example.org/k8s-vap-cel-core#VapPolicyShape",
151
+ "to_superclass": "http://example.org/k8s-vap-cel-core#Policy"
152
+ },
153
+ "rationale": "Moved http://example.org/k8s-vap-cel-core#VapPolicyShape from targetClass http://example.org/k8s-vap-cel-core#VapPolicy to the broader superclass http://example.org/k8s-vap-cel-core#Policy, so the constraint now applies to entities it was never meant to cover.",
154
+ "removed_statements": [
155
+ "<http://example.org/k8s-vap-cel-core#VapPolicyShape> <http://www.w3.org/ns/shacl#targetClass> <http://example.org/k8s-vap-cel-core#VapPolicy> ."
156
+ ],
157
+ "requested_params": {
158
+ "shape": "http://example.org/k8s-vap-cel-core#VapPolicyShape",
159
+ "to_superclass": "http://example.org/k8s-vap-cel-core#Policy"
160
+ },
161
+ "seed": 20261118,
162
+ "target_statements": [
163
+ "<http://example.org/k8s-vap-cel-core#VapPolicyShape> <http://www.w3.org/ns/shacl#targetClass> <http://example.org/k8s-vap-cel-core#VapPolicy> ."
164
+ ]
165
+ },
166
+ {
167
+ "added_statements": [
168
+ "<http://example.org/k8s-vap-cel-core#srcValidationExpression> <http://example.org/corr#mapsTo> <http://example.org/k8s-vap-cel-core#MatchCondition> ."
169
+ ],
170
+ "artifact": "ontology",
171
+ "error_type": "wrong_data_to_concept_mapping",
172
+ "index": 7,
173
+ "params": {
174
+ "predicate": "http://example.org/corr#mapsTo",
175
+ "source": "http://example.org/k8s-vap-cel-core#srcValidationExpression",
176
+ "wrong_concept": "http://example.org/k8s-vap-cel-core#MatchCondition"
177
+ },
178
+ "rationale": "Redirected the mapping for http://example.org/k8s-vap-cel-core#srcValidationExpression from http://example.org/k8s-vap-cel-core#ValidationExpression to http://example.org/k8s-vap-cel-core#MatchCondition, so source data is lifted into the wrong concept.",
179
+ "removed_statements": [
180
+ "<http://example.org/k8s-vap-cel-core#srcValidationExpression> <http://example.org/corr#mapsTo> <http://example.org/k8s-vap-cel-core#ValidationExpression> ."
181
+ ],
182
+ "requested_params": {
183
+ "source": "http://example.org/k8s-vap-cel-core#srcValidationExpression",
184
+ "wrong_concept": "http://example.org/k8s-vap-cel-core#MatchCondition"
185
+ },
186
+ "seed": 20261118,
187
+ "target_statements": [
188
+ "<http://example.org/k8s-vap-cel-core#srcValidationExpression> <http://example.org/corr#mapsTo> <http://example.org/k8s-vap-cel-core#ValidationExpression> ."
189
+ ]
190
+ }
191
+ ],
192
+ "gold_ontology_sha256": "2ed3de663222dd9d85cb512ca337a589c12f0c78d97d988558dc95382002f7d9",
193
+ "gold_shapes_sha256": "1ca5980152cce15f86b97568a791460bc9aca1ff9bae05f4876384166a004895",
194
+ "ontology_sha256": "c40dde8ad3e9419aff7641821bb7f3123ec7fc2a8528c76418b3c056a6fe92bc",
195
+ "seed": 20261118,
196
+ "shapes_sha256": "47947292b5e64f69b74c5b33ef421bf15fb16cf827dc3a7c0c5139f0387c1f50"
197
+ }
core_worlds/private/artifacts/world_L02/corrupt/mappings.json ADDED
@@ -0,0 +1,119 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "entries": [
3
+ {
4
+ "concept": "expr/976a0ab0950857e7",
5
+ "field": "vap-basic-replica-limit#validations[0]",
6
+ "source": "basic-example-policy.yaml",
7
+ "term": "vap-basic-replica-limit"
8
+ },
9
+ {
10
+ "concept": "expr/38fabb2f8ec5a93b",
11
+ "field": "doc-health-prefix#validations[0]",
12
+ "source": "cel.md",
13
+ "term": "doc-health-prefix"
14
+ },
15
+ {
16
+ "concept": "expr/5006fa579d31cf29",
17
+ "field": "doc-name-prefix#validations[0]",
18
+ "source": "cel.md",
19
+ "term": "doc-name-prefix"
20
+ },
21
+ {
22
+ "concept": "expr/31522552a172e631",
23
+ "field": "doc-primary-cluster#validations[0]",
24
+ "source": "cel.md",
25
+ "term": "doc-primary-cluster"
26
+ },
27
+ {
28
+ "concept": "expr/081e0e288401f024",
29
+ "field": "doc-replica-envelope#validations[0]",
30
+ "source": "cel.md",
31
+ "term": "doc-replica-envelope"
32
+ },
33
+ {
34
+ "concept": "expr/bb15b6a441f5e677",
35
+ "field": "doc-set-disjoint#validations[0]",
36
+ "source": "cel.md",
37
+ "term": "doc-set-disjoint"
38
+ },
39
+ {
40
+ "concept": "expr/7269fff5f22c6113",
41
+ "field": "doc-state-counts#validations[0]",
42
+ "source": "cel.md",
43
+ "term": "doc-state-counts"
44
+ },
45
+ {
46
+ "concept": "expr/cc38821ebce668ec",
47
+ "field": "doc-ttl-expiry#validations[0]",
48
+ "source": "cel.md",
49
+ "term": "doc-ttl-expiry"
50
+ },
51
+ {
52
+ "concept": "expr/c7998f7b0c403ccd",
53
+ "field": "doc-widgets-exists#validations[0]",
54
+ "source": "cel.md",
55
+ "term": "doc-widgets-exists"
56
+ },
57
+ {
58
+ "concept": "expr/6c4b2d1d3b44bdd3",
59
+ "field": "doc-xor-lists#validations[0]",
60
+ "source": "cel.md",
61
+ "term": "doc-xor-lists"
62
+ },
63
+ {
64
+ "concept": "expr/dba2e792bc8efc33",
65
+ "field": "vap-param-replica-limit#validations[0]",
66
+ "source": "deployment-replicas-policy.yaml",
67
+ "term": "vap-param-replica-limit"
68
+ },
69
+ {
70
+ "concept": "expr/dd54e1a864a3c107",
71
+ "field": "vap-failure-policy-ignore#validations[0]",
72
+ "source": "failure-policy-ignore.yaml",
73
+ "term": "vap-failure-policy-ignore"
74
+ },
75
+ {
76
+ "concept": "expr/2cfed0b2a0deb5f9",
77
+ "field": "vap-image-env-exempt-fragment#validations[0]",
78
+ "source": "image-matches-namespace-environment.policy.yaml",
79
+ "term": "vap-image-env-exempt-fragment"
80
+ },
81
+ {
82
+ "concept": "expr/7f0f19e67e2814e0",
83
+ "field": "vap-audit-annotation#validations[0]",
84
+ "source": "validating-admission-policy-audit-annotation.yaml",
85
+ "term": "vap-audit-annotation"
86
+ },
87
+ {
88
+ "concept": "match/vap-match-conditions-demo/exclude-kubelet-requests",
89
+ "field": "vap-match-conditions-demo#matchConditions[exclude-kubelet-requests]",
90
+ "source": "validating-admission-policy-match-conditions.yaml",
91
+ "term": "vap-match-conditions-demo"
92
+ },
93
+ {
94
+ "concept": "match/vap-match-conditions-demo/exclude-leases",
95
+ "field": "vap-match-conditions-demo#matchConditions[exclude-leases]",
96
+ "source": "validating-admission-policy-match-conditions.yaml",
97
+ "term": "vap-match-conditions-demo"
98
+ },
99
+ {
100
+ "concept": "match/vap-match-conditions-demo/rbac",
101
+ "field": "vap-match-conditions-demo#matchConditions[rbac]",
102
+ "source": "validating-admission-policy-match-conditions.yaml",
103
+ "term": "vap-match-conditions-demo"
104
+ },
105
+ {
106
+ "concept": "expr/28eb08b3b942115d",
107
+ "field": "vap-match-conditions-demo#validations[0]",
108
+ "source": "validating-admission-policy-match-conditions.yaml",
109
+ "term": "vap-match-conditions-demo"
110
+ },
111
+ {
112
+ "concept": "expr/066216444232d58a",
113
+ "field": "doc-env-label-gate#validations[0]",
114
+ "source": "validating-admission-policy.md",
115
+ "term": "doc-env-label-gate"
116
+ }
117
+ ],
118
+ "schema": "mappings/1.0"
119
+ }
core_worlds/private/artifacts/world_L02/corrupt/ontology.ttl ADDED
@@ -0,0 +1,183 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ @prefix corr: <http://example.org/corr#> .
2
+ @prefix kcc: <http://example.org/k8s-vap-cel-core#> .
3
+ @prefix owl: <http://www.w3.org/2002/07/owl#> .
4
+ @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
5
+ @prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
6
+
7
+ kcc:DocExpressionSet a owl:Class ;
8
+ rdfs:label "DocExpressionSet" ;
9
+ rdfs:comment "rdfs:subClassOf Policy. A unit taken from the pinned CEL reference documentation (kind doc_expression_set)." ;
10
+ rdfs:subClassOf kcc:Policy .
11
+
12
+ kcc:Ontology a owl:Ontology ;
13
+ rdfs:label "Kubernetes VAP/CEL gold ontology" ;
14
+ rdfs:comment "RULE layer only: class hierarchy, typed relations and axioms derived from the frozen spec vocabulary (pilot_worlds/world_L02_scaleup/spec/k8s_vap_cel.json). Instance facts live in the slice projection; task labels are never part of this artifact." ;
15
+ owl:versionInfo "k8s_vap_cel/0.2.0-scaleup" .
16
+
17
+ kcc:VapPolicy a owl:Class ;
18
+ rdfs:label "VapPolicy" ;
19
+ rdfs:comment "rdfs:subClassOf Policy. A unit parsed from a ValidatingAdmissionPolicy YAML example of the pinned shard (kind vap_policy)." ;
20
+ rdfs:subClassOf kcc:MatchCondition .
21
+
22
+ kcc:apiVersion a owl:DatatypeProperty ;
23
+ rdfs:comment "Relation 'apiVersion' of the spec vocabulary." ;
24
+ rdfs:domain kcc:ClusterObject ;
25
+ rdfs:range xsd:string .
26
+
27
+ kcc:conditionName a owl:DatatypeProperty ;
28
+ rdfs:comment "Relation 'conditionName' of the spec vocabulary." ;
29
+ rdfs:domain kcc:MatchCondition ;
30
+ rdfs:range xsd:string .
31
+
32
+ kcc:expressionSha256 a owl:DatatypeProperty ;
33
+ rdfs:comment "Relation 'expressionSha256' of the spec vocabulary." ;
34
+ rdfs:domain kcc:ExpressionUnit ;
35
+ rdfs:range xsd:string .
36
+
37
+ kcc:expressionText a owl:DatatypeProperty ;
38
+ rdfs:comment "Relation 'expressionText' of the spec vocabulary." ;
39
+ rdfs:domain kcc:ExpressionUnit ;
40
+ rdfs:range kcc:Policy .
41
+
42
+ kcc:hasMatchCondition a owl:ObjectProperty ;
43
+ rdfs:comment "Policy -> one of its named spec.matchConditions[] entries." ;
44
+ rdfs:domain kcc:Policy ;
45
+ rdfs:range kcc:MatchCondition ;
46
+ owl:inverseOf kcc:matchConditionOf .
47
+
48
+ kcc:hasMessageExpression a owl:ObjectProperty ;
49
+ rdfs:comment "Policy -> one of its messageExpression / auditAnnotation valueExpression units." ;
50
+ rdfs:domain kcc:Policy ;
51
+ rdfs:range kcc:MessageExpression ;
52
+ owl:inverseOf kcc:messageOf .
53
+
54
+ kcc:hasValidation a owl:ObjectProperty ;
55
+ rdfs:comment "Policy -> one of its spec.validations[].expression units." ;
56
+ rdfs:domain kcc:Policy ;
57
+ rdfs:range kcc:ValidationExpression ;
58
+ owl:inverseOf kcc:governs .
59
+
60
+ kcc:k8sKind a owl:DatatypeProperty ;
61
+ rdfs:comment "Relation 'k8sKind' of the spec vocabulary." ;
62
+ rdfs:domain kcc:ClusterObject ;
63
+ rdfs:range xsd:string .
64
+
65
+ kcc:objectId a owl:DatatypeProperty ;
66
+ rdfs:comment "Relation 'objectId' of the spec vocabulary." ;
67
+ rdfs:domain kcc:ClusterObject ;
68
+ rdfs:range xsd:string .
69
+
70
+ kcc:objectJson a owl:DatatypeProperty ;
71
+ rdfs:comment "Relation 'objectJson' of the spec vocabulary." ;
72
+ rdfs:domain kcc:ClusterObject ;
73
+ rdfs:range xsd:string .
74
+
75
+ kcc:paramSetId a owl:DatatypeProperty ;
76
+ rdfs:comment "Relation 'paramSetId' of the spec vocabulary." ;
77
+ rdfs:domain kcc:ParamSet ;
78
+ rdfs:range xsd:string .
79
+
80
+ kcc:paramsJson a owl:DatatypeProperty ;
81
+ rdfs:comment "Relation 'paramsJson' of the spec vocabulary." ;
82
+ rdfs:domain kcc:ParamSet ;
83
+ rdfs:range xsd:string .
84
+
85
+ kcc:policyId a owl:DatatypeProperty ;
86
+ rdfs:comment "Relation 'policyId' of the spec vocabulary." ;
87
+ rdfs:domain kcc:Policy ;
88
+ rdfs:range xsd:string .
89
+
90
+ kcc:policyKind a owl:DatatypeProperty ;
91
+ rdfs:comment "Relation 'policyKind' of the spec vocabulary." ;
92
+ rdfs:domain kcc:Policy ;
93
+ rdfs:range xsd:string .
94
+
95
+ kcc:requestId a owl:DatatypeProperty ;
96
+ rdfs:comment "Relation 'requestId' of the spec vocabulary." ;
97
+ rdfs:domain kcc:AdmissionRequest ;
98
+ rdfs:range xsd:string .
99
+
100
+ kcc:requestJson a owl:DatatypeProperty ;
101
+ rdfs:comment "Relation 'requestJson' of the spec vocabulary." ;
102
+ rdfs:domain kcc:AdmissionRequest ;
103
+ rdfs:range xsd:string .
104
+
105
+ kcc:sourcePath a owl:DatatypeProperty ;
106
+ rdfs:comment "Relation 'sourcePath' of the spec vocabulary." ;
107
+ rdfs:domain kcc:Policy ;
108
+ rdfs:range xsd:string .
109
+
110
+ kcc:srcMatchCondition corr:mapsTo kcc:MatchCondition ;
111
+ rdfs:comment "Source field 'vap_policy.spec.matchConditions[].expression' lifts to concept kcc:MatchCondition." .
112
+
113
+ kcc:srcMessageExpression corr:mapsTo kcc:MessageExpression ;
114
+ rdfs:comment "Source field 'vap_policy.spec.validations[].messageExpression / auditAnnotations[].valueExpression' lifts to concept kcc:MessageExpression." .
115
+
116
+ kcc:srcPolicyMetadata corr:mapsTo kcc:Policy ;
117
+ rdfs:comment "Source field 'vap_policy metadata (name/kind/source path)' lifts to concept kcc:Policy." .
118
+
119
+ kcc:srcValidationExpression corr:mapsTo kcc:MatchCondition ;
120
+ rdfs:comment "Source field 'vap_policy.spec.validations[].expression' lifts to concept kcc:ValidationExpression." .
121
+
122
+ kcc:usesParams a owl:ObjectProperty ;
123
+ rdfs:comment "Policy -> a parameter binding in scope for it (vap-param-replica-limit and the failure-policy witness only)." ;
124
+ rdfs:domain kcc:Policy ;
125
+ rdfs:range kcc:ParamSet .
126
+
127
+ kcc:validationOf a owl:ObjectProperty ;
128
+ rdfs:comment "Inverse of hasValidation." ;
129
+ rdfs:domain kcc:ValidationExpression ;
130
+ rdfs:range kcc:Policy .
131
+
132
+ kcc:governs a owl:ObjectProperty ;
133
+ rdfs:comment "Expert-declared world semantics: the policy's expressions are in scope for the object (the pairs the world's tasks and certification evaluate)." ;
134
+ rdfs:domain kcc:Policy ;
135
+ rdfs:range kcc:ClusterObject .
136
+
137
+ kcc:matchConditionOf a owl:ObjectProperty ;
138
+ rdfs:comment "Inverse of hasMatchCondition." ;
139
+ rdfs:domain kcc:MatchCondition ;
140
+ rdfs:range kcc:Policy .
141
+
142
+ kcc:messageOf a owl:ObjectProperty ;
143
+ rdfs:comment "Inverse of hasMessageExpression." ;
144
+ rdfs:domain kcc:MessageExpression ;
145
+ rdfs:range kcc:Policy .
146
+
147
+ kcc:AdmissionRequest a owl:Class ;
148
+ rdfs:label "AdmissionRequest" ;
149
+ rdfs:comment "An admission request context (resource group/resource, operation, userInfo.groups) used by matchCondition evaluation. Carries requestId/requestJson." .
150
+
151
+ kcc:ValidationExpression rdfs:label "ValidationExpression" ;
152
+ rdfs:comment "rdfs:subClassOf ExpressionUnit. A spec.validations[].expression: evaluated to a boolean; a false value denies the admission decision (uniform decision semantics; see semantics.decision_rule)." ;
153
+ rdfs:subClassOf kcc:ExpressionUnit .
154
+
155
+ kcc:MessageExpression a owl:Class ;
156
+ rdfs:label "MessageExpression" ;
157
+ rdfs:comment "rdfs:subClassOf ExpressionUnit. A messageExpression / auditAnnotations valueExpression: evaluated to a human-readable string." ;
158
+ rdfs:subClassOf kcc:ExpressionUnit .
159
+
160
+ kcc:ParamSet a owl:Class ;
161
+ rdfs:label "ParamSet" ;
162
+ rdfs:comment "A parameter resource binding (e.g. ReplicaLimit maxReplicas) referenced by paramKind-bearing policies. Carries paramSetId/paramsJson." .
163
+
164
+ kcc:ClusterObject a owl:Class ;
165
+ rdfs:label "ClusterObject" ;
166
+ rdfs:comment "A Kubernetes-shaped object manifest under admission review (Deployment, ReplicaSchedule, LeaseRecord, or synthetic CRD-shaped fixtures). Carries objectId/k8sKind/apiVersion/objectJson." ;
167
+ owl:disjointWith kcc:ExpressionUnit .
168
+
169
+ kcc:MatchCondition a owl:Class ;
170
+ rdfs:label "MatchCondition" ;
171
+ rdfs:comment "rdfs:subClassOf ExpressionUnit. A spec.matchConditions[] entry: a named boolean expression evaluated over the admission request; a policy applies to a request iff every named condition is true." ;
172
+ rdfs:subClassOf kcc:ExpressionUnit .
173
+
174
+ kcc:ExpressionUnit a owl:Class ;
175
+ rdfs:label "ExpressionUnit" ;
176
+ rdfs:comment "A CEL expression text with its sha256. Base class of the expression nodes; carries expressionText/expressionSha256." .
177
+
178
+ kcc:Policy a owl:Class ;
179
+ rdfs:label "Policy" ;
180
+ rdfs:comment "An admission-policy unit of the slice universe. Base class; carries policyId/sourcePath/policyKind; linked to its validation expressions via kcc:hasValidation." ;
181
+ owl:disjointWith kcc:ClusterObject,
182
+ kcc:ExpressionUnit .
183
+
core_worlds/private/artifacts/world_L02/corrupt/shapes.ttl ADDED
@@ -0,0 +1,102 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ @prefix kcc: <http://example.org/k8s-vap-cel-core#> .
2
+ @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
3
+ @prefix sh: <http://www.w3.org/ns/shacl#> .
4
+ @prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
5
+
6
+ kcc:AdmissionRequestShape a sh:NodeShape ;
7
+ sh:property [ sh:datatype xsd:string ;
8
+ sh:maxCount 1 ;
9
+ sh:minCount 1 ;
10
+ sh:path kcc:requestJson ],
11
+ [ sh:datatype xsd:string ;
12
+ sh:maxCount 1 ;
13
+ sh:minCount 1 ;
14
+ sh:path kcc:requestId ;
15
+ sh:pattern "^req-[a-z0-9-]+$" ] ;
16
+ sh:targetClass kcc:AdmissionRequest .
17
+
18
+ kcc:ClusterObjectShape a sh:NodeShape ;
19
+ sh:closed true ;
20
+ sh:property [ sh:datatype xsd:string ;
21
+ sh:maxCount 1 ;
22
+ sh:minCount 1 ;
23
+ sh:path kcc:k8sKind ],
24
+ [ sh:datatype xsd:string ;
25
+ sh:maxCount 1 ;
26
+ sh:path kcc:objectId ;
27
+ sh:pattern "^[a-z0-9-]+$" ],
28
+ [ sh:datatype xsd:string ;
29
+ sh:maxCount 1 ;
30
+ sh:minCount 1 ;
31
+ sh:path kcc:apiVersion ],
32
+ [ sh:datatype xsd:string ;
33
+ sh:maxCount 1 ;
34
+ sh:minCount 1 ;
35
+ sh:path kcc:objectJson ] ;
36
+ sh:targetClass kcc:ClusterObject .
37
+
38
+ kcc:MatchConditionShape a sh:NodeShape ;
39
+ sh:property [ sh:datatype xsd:string ;
40
+ sh:maxCount 1 ;
41
+ sh:minCount 1 ;
42
+ sh:path kcc:expressionText ],
43
+ [ sh:datatype xsd:string ;
44
+ sh:maxCount 1 ;
45
+ sh:minCount 1 ;
46
+ sh:path kcc:conditionName ] ;
47
+ sh:targetClass kcc:MatchCondition .
48
+
49
+ kcc:ParamSetShape a sh:NodeShape ;
50
+ sh:property [ sh:datatype xsd:string ;
51
+ sh:maxCount 1 ;
52
+ sh:minCount 1 ;
53
+ sh:path kcc:paramsJson ],
54
+ [ sh:datatype xsd:string ;
55
+ sh:maxCount 1 ;
56
+ sh:minCount 1 ;
57
+ sh:path kcc:paramSetId ;
58
+ sh:pattern "^params-[0-9]+$" ] ;
59
+ sh:targetClass kcc:ParamSet .
60
+
61
+ kcc:PolicyShape a sh:NodeShape ;
62
+ sh:property [ sh:datatype xsd:string ;
63
+ sh:in ( "vap_policy" "doc_expression_set" ) ;
64
+ sh:maxCount 1 ;
65
+ sh:minCount 1 ;
66
+ sh:path kcc:policyKind ],
67
+ [ sh:class kcc:ValidationExpression ;
68
+ sh:minCount 1 ;
69
+ sh:nodeKind sh:IRI ;
70
+ sh:path kcc:hasValidation ],
71
+ [ sh:datatype xsd:string ;
72
+ sh:maxCount 1 ;
73
+ sh:minCount 1 ;
74
+ sh:path kcc:policyId ;
75
+ sh:pattern "^[a-z0-9-]+$" ],
76
+ [ sh:datatype xsd:string ;
77
+ sh:maxCount 1 ;
78
+ sh:minCount 1 ;
79
+ sh:path kcc:sourcePath ;
80
+ sh:pattern "^content/en/.*" ] ;
81
+ sh:targetClass kcc:Policy .
82
+
83
+ kcc:ValidationExpressionShape a sh:NodeShape ;
84
+ sh:property [ sh:datatype xsd:string ;
85
+ sh:maxCount 1 ;
86
+ sh:minCount 1 ;
87
+ sh:path kcc:expressionText ],
88
+ [ sh:datatype xsd:string ;
89
+ sh:maxCount 1 ;
90
+ sh:minCount 1 ;
91
+ sh:path kcc:expressionSha256 ;
92
+ sh:pattern "^[0-9a-f]{64}$" ] ;
93
+ sh:targetClass kcc:ValidationExpression .
94
+
95
+ kcc:VapPolicyShape a sh:NodeShape ;
96
+ sh:property [ sh:datatype xsd:string ;
97
+ sh:in ( "vap_policy" ) ;
98
+ sh:maxCount 1 ;
99
+ sh:minCount 1 ;
100
+ sh:path kcc:policyKind ] ;
101
+ sh:targetClass kcc:Policy .
102
+
core_worlds/private/artifacts/world_L02/gold/mappings.json ADDED
@@ -0,0 +1,119 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "entries": [
3
+ {
4
+ "concept": "expr/976a0ab0950857e7",
5
+ "field": "vap-basic-replica-limit#validations[0]",
6
+ "source": "basic-example-policy.yaml",
7
+ "term": "vap-basic-replica-limit"
8
+ },
9
+ {
10
+ "concept": "expr/38fabb2f8ec5a93b",
11
+ "field": "doc-health-prefix#validations[0]",
12
+ "source": "cel.md",
13
+ "term": "doc-health-prefix"
14
+ },
15
+ {
16
+ "concept": "expr/5006fa579d31cf29",
17
+ "field": "doc-name-prefix#validations[0]",
18
+ "source": "cel.md",
19
+ "term": "doc-name-prefix"
20
+ },
21
+ {
22
+ "concept": "expr/31522552a172e631",
23
+ "field": "doc-primary-cluster#validations[0]",
24
+ "source": "cel.md",
25
+ "term": "doc-primary-cluster"
26
+ },
27
+ {
28
+ "concept": "expr/081e0e288401f024",
29
+ "field": "doc-replica-envelope#validations[0]",
30
+ "source": "cel.md",
31
+ "term": "doc-replica-envelope"
32
+ },
33
+ {
34
+ "concept": "expr/bb15b6a441f5e677",
35
+ "field": "doc-set-disjoint#validations[0]",
36
+ "source": "cel.md",
37
+ "term": "doc-set-disjoint"
38
+ },
39
+ {
40
+ "concept": "expr/7269fff5f22c6113",
41
+ "field": "doc-state-counts#validations[0]",
42
+ "source": "cel.md",
43
+ "term": "doc-state-counts"
44
+ },
45
+ {
46
+ "concept": "expr/cc38821ebce668ec",
47
+ "field": "doc-ttl-expiry#validations[0]",
48
+ "source": "cel.md",
49
+ "term": "doc-ttl-expiry"
50
+ },
51
+ {
52
+ "concept": "expr/c7998f7b0c403ccd",
53
+ "field": "doc-widgets-exists#validations[0]",
54
+ "source": "cel.md",
55
+ "term": "doc-widgets-exists"
56
+ },
57
+ {
58
+ "concept": "expr/6c4b2d1d3b44bdd3",
59
+ "field": "doc-xor-lists#validations[0]",
60
+ "source": "cel.md",
61
+ "term": "doc-xor-lists"
62
+ },
63
+ {
64
+ "concept": "expr/dba2e792bc8efc33",
65
+ "field": "vap-param-replica-limit#validations[0]",
66
+ "source": "deployment-replicas-policy.yaml",
67
+ "term": "vap-param-replica-limit"
68
+ },
69
+ {
70
+ "concept": "expr/dd54e1a864a3c107",
71
+ "field": "vap-failure-policy-ignore#validations[0]",
72
+ "source": "failure-policy-ignore.yaml",
73
+ "term": "vap-failure-policy-ignore"
74
+ },
75
+ {
76
+ "concept": "expr/2cfed0b2a0deb5f9",
77
+ "field": "vap-image-env-exempt-fragment#validations[0]",
78
+ "source": "image-matches-namespace-environment.policy.yaml",
79
+ "term": "vap-image-env-exempt-fragment"
80
+ },
81
+ {
82
+ "concept": "expr/7f0f19e67e2814e0",
83
+ "field": "vap-audit-annotation#validations[0]",
84
+ "source": "validating-admission-policy-audit-annotation.yaml",
85
+ "term": "vap-audit-annotation"
86
+ },
87
+ {
88
+ "concept": "match/vap-match-conditions-demo/exclude-kubelet-requests",
89
+ "field": "vap-match-conditions-demo#matchConditions[exclude-kubelet-requests]",
90
+ "source": "validating-admission-policy-match-conditions.yaml",
91
+ "term": "vap-match-conditions-demo"
92
+ },
93
+ {
94
+ "concept": "match/vap-match-conditions-demo/exclude-leases",
95
+ "field": "vap-match-conditions-demo#matchConditions[exclude-leases]",
96
+ "source": "validating-admission-policy-match-conditions.yaml",
97
+ "term": "vap-match-conditions-demo"
98
+ },
99
+ {
100
+ "concept": "match/vap-match-conditions-demo/rbac",
101
+ "field": "vap-match-conditions-demo#matchConditions[rbac]",
102
+ "source": "validating-admission-policy-match-conditions.yaml",
103
+ "term": "vap-match-conditions-demo"
104
+ },
105
+ {
106
+ "concept": "expr/28eb08b3b942115d",
107
+ "field": "vap-match-conditions-demo#validations[0]",
108
+ "source": "validating-admission-policy-match-conditions.yaml",
109
+ "term": "vap-match-conditions-demo"
110
+ },
111
+ {
112
+ "concept": "expr/066216444232d58a",
113
+ "field": "doc-env-label-gate#validations[0]",
114
+ "source": "validating-admission-policy.md",
115
+ "term": "doc-env-label-gate"
116
+ }
117
+ ],
118
+ "schema": "mappings/1.0"
119
+ }
core_worlds/private/artifacts/world_L02/gold/ontology.ttl ADDED
@@ -0,0 +1,184 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ @prefix corr: <http://example.org/corr#> .
2
+ @prefix kcc: <http://example.org/k8s-vap-cel-core#> .
3
+ @prefix owl: <http://www.w3.org/2002/07/owl#> .
4
+ @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
5
+ @prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
6
+
7
+ kcc:DocExpressionSet a owl:Class ;
8
+ rdfs:label "DocExpressionSet" ;
9
+ rdfs:comment "rdfs:subClassOf Policy. A unit taken from the pinned CEL reference documentation (kind doc_expression_set)." ;
10
+ rdfs:subClassOf kcc:Policy .
11
+
12
+ kcc:Ontology a owl:Ontology ;
13
+ rdfs:label "Kubernetes VAP/CEL gold ontology" ;
14
+ rdfs:comment "RULE layer only: class hierarchy, typed relations and axioms derived from the frozen spec vocabulary (pilot_worlds/world_L02_scaleup/spec/k8s_vap_cel.json). Instance facts live in the slice projection; task labels are never part of this artifact." ;
15
+ owl:versionInfo "k8s_vap_cel/0.2.0-scaleup" .
16
+
17
+ kcc:VapPolicy a owl:Class ;
18
+ rdfs:label "VapPolicy" ;
19
+ rdfs:comment "rdfs:subClassOf Policy. A unit parsed from a ValidatingAdmissionPolicy YAML example of the pinned shard (kind vap_policy)." ;
20
+ rdfs:subClassOf kcc:Policy .
21
+
22
+ kcc:apiVersion a owl:DatatypeProperty ;
23
+ rdfs:comment "Relation 'apiVersion' of the spec vocabulary." ;
24
+ rdfs:domain kcc:ClusterObject ;
25
+ rdfs:range xsd:string .
26
+
27
+ kcc:conditionName a owl:DatatypeProperty ;
28
+ rdfs:comment "Relation 'conditionName' of the spec vocabulary." ;
29
+ rdfs:domain kcc:MatchCondition ;
30
+ rdfs:range xsd:string .
31
+
32
+ kcc:expressionSha256 a owl:DatatypeProperty ;
33
+ rdfs:comment "Relation 'expressionSha256' of the spec vocabulary." ;
34
+ rdfs:domain kcc:ExpressionUnit ;
35
+ rdfs:range xsd:string .
36
+
37
+ kcc:expressionText a owl:DatatypeProperty ;
38
+ rdfs:comment "Relation 'expressionText' of the spec vocabulary." ;
39
+ rdfs:domain kcc:ExpressionUnit ;
40
+ rdfs:range xsd:string .
41
+
42
+ kcc:governs a owl:ObjectProperty ;
43
+ rdfs:comment "Expert-declared world semantics: the policy's expressions are in scope for the object (the pairs the world's tasks and certification evaluate)." ;
44
+ rdfs:domain kcc:Policy ;
45
+ rdfs:range kcc:ClusterObject .
46
+
47
+ kcc:hasMatchCondition a owl:ObjectProperty ;
48
+ rdfs:comment "Policy -> one of its named spec.matchConditions[] entries." ;
49
+ rdfs:domain kcc:Policy ;
50
+ rdfs:range kcc:MatchCondition ;
51
+ owl:inverseOf kcc:matchConditionOf .
52
+
53
+ kcc:hasMessageExpression a owl:ObjectProperty ;
54
+ rdfs:comment "Policy -> one of its messageExpression / auditAnnotation valueExpression units." ;
55
+ rdfs:domain kcc:Policy ;
56
+ rdfs:range kcc:MessageExpression ;
57
+ owl:inverseOf kcc:messageOf .
58
+
59
+ kcc:hasValidation a owl:ObjectProperty ;
60
+ rdfs:comment "Policy -> one of its spec.validations[].expression units." ;
61
+ rdfs:domain kcc:Policy ;
62
+ rdfs:range kcc:ValidationExpression ;
63
+ owl:inverseOf kcc:validationOf .
64
+
65
+ kcc:k8sKind a owl:DatatypeProperty ;
66
+ rdfs:comment "Relation 'k8sKind' of the spec vocabulary." ;
67
+ rdfs:domain kcc:ClusterObject ;
68
+ rdfs:range xsd:string .
69
+
70
+ kcc:objectId a owl:DatatypeProperty ;
71
+ rdfs:comment "Relation 'objectId' of the spec vocabulary." ;
72
+ rdfs:domain kcc:ClusterObject ;
73
+ rdfs:range xsd:string .
74
+
75
+ kcc:objectJson a owl:DatatypeProperty ;
76
+ rdfs:comment "Relation 'objectJson' of the spec vocabulary." ;
77
+ rdfs:domain kcc:ClusterObject ;
78
+ rdfs:range xsd:string .
79
+
80
+ kcc:paramSetId a owl:DatatypeProperty ;
81
+ rdfs:comment "Relation 'paramSetId' of the spec vocabulary." ;
82
+ rdfs:domain kcc:ParamSet ;
83
+ rdfs:range xsd:string .
84
+
85
+ kcc:paramsJson a owl:DatatypeProperty ;
86
+ rdfs:comment "Relation 'paramsJson' of the spec vocabulary." ;
87
+ rdfs:domain kcc:ParamSet ;
88
+ rdfs:range xsd:string .
89
+
90
+ kcc:policyId a owl:DatatypeProperty ;
91
+ rdfs:comment "Relation 'policyId' of the spec vocabulary." ;
92
+ rdfs:domain kcc:Policy ;
93
+ rdfs:range xsd:string .
94
+
95
+ kcc:policyKind a owl:DatatypeProperty ;
96
+ rdfs:comment "Relation 'policyKind' of the spec vocabulary." ;
97
+ rdfs:domain kcc:Policy ;
98
+ rdfs:range xsd:string .
99
+
100
+ kcc:requestId a owl:DatatypeProperty ;
101
+ rdfs:comment "Relation 'requestId' of the spec vocabulary." ;
102
+ rdfs:domain kcc:AdmissionRequest ;
103
+ rdfs:range xsd:string .
104
+
105
+ kcc:requestJson a owl:DatatypeProperty ;
106
+ rdfs:comment "Relation 'requestJson' of the spec vocabulary." ;
107
+ rdfs:domain kcc:AdmissionRequest ;
108
+ rdfs:range xsd:string .
109
+
110
+ kcc:sourcePath a owl:DatatypeProperty ;
111
+ rdfs:comment "Relation 'sourcePath' of the spec vocabulary." ;
112
+ rdfs:domain kcc:Policy ;
113
+ rdfs:range xsd:string .
114
+
115
+ kcc:srcMatchCondition corr:mapsTo kcc:MatchCondition ;
116
+ rdfs:comment "Source field 'vap_policy.spec.matchConditions[].expression' lifts to concept kcc:MatchCondition." .
117
+
118
+ kcc:srcMessageExpression corr:mapsTo kcc:MessageExpression ;
119
+ rdfs:comment "Source field 'vap_policy.spec.validations[].messageExpression / auditAnnotations[].valueExpression' lifts to concept kcc:MessageExpression." .
120
+
121
+ kcc:srcPolicyMetadata corr:mapsTo kcc:Policy ;
122
+ rdfs:comment "Source field 'vap_policy metadata (name/kind/source path)' lifts to concept kcc:Policy." .
123
+
124
+ kcc:srcValidationExpression corr:mapsTo kcc:ValidationExpression ;
125
+ rdfs:comment "Source field 'vap_policy.spec.validations[].expression' lifts to concept kcc:ValidationExpression." .
126
+
127
+ kcc:usesParams a owl:ObjectProperty ;
128
+ rdfs:comment "Policy -> a parameter binding in scope for it (vap-param-replica-limit and the failure-policy witness only)." ;
129
+ rdfs:domain kcc:Policy ;
130
+ rdfs:range kcc:ParamSet .
131
+
132
+ kcc:matchConditionOf a owl:ObjectProperty ;
133
+ rdfs:comment "Inverse of hasMatchCondition." ;
134
+ rdfs:domain kcc:MatchCondition ;
135
+ rdfs:range kcc:Policy .
136
+
137
+ kcc:messageOf a owl:ObjectProperty ;
138
+ rdfs:comment "Inverse of hasMessageExpression." ;
139
+ rdfs:domain kcc:MessageExpression ;
140
+ rdfs:range kcc:Policy .
141
+
142
+ kcc:validationOf a owl:ObjectProperty ;
143
+ rdfs:comment "Inverse of hasValidation." ;
144
+ rdfs:domain kcc:ValidationExpression ;
145
+ rdfs:range kcc:Policy .
146
+
147
+ kcc:AdmissionRequest a owl:Class ;
148
+ rdfs:label "AdmissionRequest" ;
149
+ rdfs:comment "An admission request context (resource group/resource, operation, userInfo.groups) used by matchCondition evaluation. Carries requestId/requestJson." .
150
+
151
+ kcc:MessageExpression a owl:Class ;
152
+ rdfs:label "MessageExpression" ;
153
+ rdfs:comment "rdfs:subClassOf ExpressionUnit. A messageExpression / auditAnnotations valueExpression: evaluated to a human-readable string." ;
154
+ rdfs:subClassOf kcc:ExpressionUnit .
155
+
156
+ kcc:ParamSet a owl:Class ;
157
+ rdfs:label "ParamSet" ;
158
+ rdfs:comment "A parameter resource binding (e.g. ReplicaLimit maxReplicas) referenced by paramKind-bearing policies. Carries paramSetId/paramsJson." .
159
+
160
+ kcc:ValidationExpression a owl:Class ;
161
+ rdfs:label "ValidationExpression" ;
162
+ rdfs:comment "rdfs:subClassOf ExpressionUnit. A spec.validations[].expression: evaluated to a boolean; a false value denies the admission decision (uniform decision semantics; see semantics.decision_rule)." ;
163
+ rdfs:subClassOf kcc:ExpressionUnit .
164
+
165
+ kcc:MatchCondition a owl:Class ;
166
+ rdfs:label "MatchCondition" ;
167
+ rdfs:comment "rdfs:subClassOf ExpressionUnit. A spec.matchConditions[] entry: a named boolean expression evaluated over the admission request; a policy applies to a request iff every named condition is true." ;
168
+ rdfs:subClassOf kcc:ExpressionUnit .
169
+
170
+ kcc:ClusterObject a owl:Class ;
171
+ rdfs:label "ClusterObject" ;
172
+ rdfs:comment "A Kubernetes-shaped object manifest under admission review (Deployment, ReplicaSchedule, LeaseRecord, or synthetic CRD-shaped fixtures). Carries objectId/k8sKind/apiVersion/objectJson." ;
173
+ owl:disjointWith kcc:ExpressionUnit .
174
+
175
+ kcc:ExpressionUnit a owl:Class ;
176
+ rdfs:label "ExpressionUnit" ;
177
+ rdfs:comment "A CEL expression text with its sha256. Base class of the expression nodes; carries expressionText/expressionSha256." .
178
+
179
+ kcc:Policy a owl:Class ;
180
+ rdfs:label "Policy" ;
181
+ rdfs:comment "An admission-policy unit of the slice universe. Base class; carries policyId/sourcePath/policyKind; linked to its validation expressions via kcc:hasValidation." ;
182
+ owl:disjointWith kcc:ClusterObject,
183
+ kcc:ExpressionUnit .
184
+
core_worlds/private/artifacts/world_L02/gold/shapes.ttl ADDED
@@ -0,0 +1,102 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ @prefix kcc: <http://example.org/k8s-vap-cel-core#> .
2
+ @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
3
+ @prefix sh: <http://www.w3.org/ns/shacl#> .
4
+ @prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
5
+
6
+ kcc:AdmissionRequestShape a sh:NodeShape ;
7
+ sh:property [ sh:datatype xsd:string ;
8
+ sh:maxCount 1 ;
9
+ sh:minCount 1 ;
10
+ sh:path kcc:requestJson ],
11
+ [ sh:datatype xsd:string ;
12
+ sh:maxCount 1 ;
13
+ sh:minCount 1 ;
14
+ sh:path kcc:requestId ;
15
+ sh:pattern "^req-[a-z0-9-]+$" ] ;
16
+ sh:targetClass kcc:AdmissionRequest .
17
+
18
+ kcc:ClusterObjectShape a sh:NodeShape ;
19
+ sh:property [ sh:datatype xsd:string ;
20
+ sh:maxCount 1 ;
21
+ sh:minCount 1 ;
22
+ sh:path kcc:k8sKind ],
23
+ [ sh:datatype xsd:string ;
24
+ sh:maxCount 1 ;
25
+ sh:minCount 1 ;
26
+ sh:path kcc:apiVersion ],
27
+ [ sh:datatype xsd:string ;
28
+ sh:maxCount 1 ;
29
+ sh:minCount 1 ;
30
+ sh:path kcc:objectId ;
31
+ sh:pattern "^[a-z0-9-]+$" ],
32
+ [ sh:datatype xsd:string ;
33
+ sh:maxCount 1 ;
34
+ sh:minCount 1 ;
35
+ sh:path kcc:objectJson ] ;
36
+ sh:targetClass kcc:ClusterObject .
37
+
38
+ kcc:MatchConditionShape a sh:NodeShape ;
39
+ sh:property [ sh:datatype xsd:string ;
40
+ sh:maxCount 1 ;
41
+ sh:minCount 1 ;
42
+ sh:path kcc:expressionText ],
43
+ [ sh:datatype xsd:string ;
44
+ sh:maxCount 1 ;
45
+ sh:minCount 1 ;
46
+ sh:path kcc:conditionName ] ;
47
+ sh:targetClass kcc:MatchCondition .
48
+
49
+ kcc:ParamSetShape a sh:NodeShape ;
50
+ sh:property [ sh:datatype xsd:string ;
51
+ sh:maxCount 1 ;
52
+ sh:minCount 1 ;
53
+ sh:path kcc:paramsJson ],
54
+ [ sh:datatype xsd:string ;
55
+ sh:maxCount 1 ;
56
+ sh:minCount 1 ;
57
+ sh:path kcc:paramSetId ;
58
+ sh:pattern "^params-[0-9]+$" ] ;
59
+ sh:targetClass kcc:ParamSet .
60
+
61
+ kcc:PolicyShape a sh:NodeShape ;
62
+ sh:property [ sh:datatype xsd:string ;
63
+ sh:in ( "vap_policy" "doc_expression_set" ) ;
64
+ sh:maxCount 1 ;
65
+ sh:minCount 1 ;
66
+ sh:path kcc:policyKind ],
67
+ [ sh:class kcc:ValidationExpression ;
68
+ sh:minCount 1 ;
69
+ sh:nodeKind sh:IRI ;
70
+ sh:path kcc:hasValidation ],
71
+ [ sh:datatype xsd:string ;
72
+ sh:maxCount 1 ;
73
+ sh:minCount 1 ;
74
+ sh:path kcc:policyId ;
75
+ sh:pattern "^[a-z0-9-]+$" ],
76
+ [ sh:datatype xsd:string ;
77
+ sh:maxCount 1 ;
78
+ sh:minCount 1 ;
79
+ sh:path kcc:sourcePath ;
80
+ sh:pattern "^content/en/.*" ] ;
81
+ sh:targetClass kcc:Policy .
82
+
83
+ kcc:ValidationExpressionShape a sh:NodeShape ;
84
+ sh:property [ sh:datatype xsd:string ;
85
+ sh:maxCount 1 ;
86
+ sh:minCount 1 ;
87
+ sh:path kcc:expressionText ],
88
+ [ sh:datatype xsd:string ;
89
+ sh:maxCount 1 ;
90
+ sh:minCount 1 ;
91
+ sh:path kcc:expressionSha256 ;
92
+ sh:pattern "^[0-9a-f]{64}$" ] ;
93
+ sh:targetClass kcc:ValidationExpression .
94
+
95
+ kcc:VapPolicyShape a sh:NodeShape ;
96
+ sh:property [ sh:datatype xsd:string ;
97
+ sh:in ( "vap_policy" ) ;
98
+ sh:maxCount 1 ;
99
+ sh:minCount 1 ;
100
+ sh:path kcc:policyKind ] ;
101
+ sh:targetClass kcc:VapPolicy .
102
+
core_worlds/private/artifacts/world_L02/repaired/mappings.json ADDED
@@ -0,0 +1,119 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "entries": [
3
+ {
4
+ "concept": "expr/976a0ab0950857e7",
5
+ "field": "vap-basic-replica-limit#validations[0]",
6
+ "source": "basic-example-policy.yaml",
7
+ "term": "vap-basic-replica-limit"
8
+ },
9
+ {
10
+ "concept": "expr/38fabb2f8ec5a93b",
11
+ "field": "doc-health-prefix#validations[0]",
12
+ "source": "cel.md",
13
+ "term": "doc-health-prefix"
14
+ },
15
+ {
16
+ "concept": "expr/5006fa579d31cf29",
17
+ "field": "doc-name-prefix#validations[0]",
18
+ "source": "cel.md",
19
+ "term": "doc-name-prefix"
20
+ },
21
+ {
22
+ "concept": "expr/31522552a172e631",
23
+ "field": "doc-primary-cluster#validations[0]",
24
+ "source": "cel.md",
25
+ "term": "doc-primary-cluster"
26
+ },
27
+ {
28
+ "concept": "expr/081e0e288401f024",
29
+ "field": "doc-replica-envelope#validations[0]",
30
+ "source": "cel.md",
31
+ "term": "doc-replica-envelope"
32
+ },
33
+ {
34
+ "concept": "expr/bb15b6a441f5e677",
35
+ "field": "doc-set-disjoint#validations[0]",
36
+ "source": "cel.md",
37
+ "term": "doc-set-disjoint"
38
+ },
39
+ {
40
+ "concept": "expr/7269fff5f22c6113",
41
+ "field": "doc-state-counts#validations[0]",
42
+ "source": "cel.md",
43
+ "term": "doc-state-counts"
44
+ },
45
+ {
46
+ "concept": "expr/cc38821ebce668ec",
47
+ "field": "doc-ttl-expiry#validations[0]",
48
+ "source": "cel.md",
49
+ "term": "doc-ttl-expiry"
50
+ },
51
+ {
52
+ "concept": "expr/c7998f7b0c403ccd",
53
+ "field": "doc-widgets-exists#validations[0]",
54
+ "source": "cel.md",
55
+ "term": "doc-widgets-exists"
56
+ },
57
+ {
58
+ "concept": "expr/6c4b2d1d3b44bdd3",
59
+ "field": "doc-xor-lists#validations[0]",
60
+ "source": "cel.md",
61
+ "term": "doc-xor-lists"
62
+ },
63
+ {
64
+ "concept": "expr/dba2e792bc8efc33",
65
+ "field": "vap-param-replica-limit#validations[0]",
66
+ "source": "deployment-replicas-policy.yaml",
67
+ "term": "vap-param-replica-limit"
68
+ },
69
+ {
70
+ "concept": "expr/dd54e1a864a3c107",
71
+ "field": "vap-failure-policy-ignore#validations[0]",
72
+ "source": "failure-policy-ignore.yaml",
73
+ "term": "vap-failure-policy-ignore"
74
+ },
75
+ {
76
+ "concept": "expr/2cfed0b2a0deb5f9",
77
+ "field": "vap-image-env-exempt-fragment#validations[0]",
78
+ "source": "image-matches-namespace-environment.policy.yaml",
79
+ "term": "vap-image-env-exempt-fragment"
80
+ },
81
+ {
82
+ "concept": "expr/7f0f19e67e2814e0",
83
+ "field": "vap-audit-annotation#validations[0]",
84
+ "source": "validating-admission-policy-audit-annotation.yaml",
85
+ "term": "vap-audit-annotation"
86
+ },
87
+ {
88
+ "concept": "match/vap-match-conditions-demo/exclude-kubelet-requests",
89
+ "field": "vap-match-conditions-demo#matchConditions[exclude-kubelet-requests]",
90
+ "source": "validating-admission-policy-match-conditions.yaml",
91
+ "term": "vap-match-conditions-demo"
92
+ },
93
+ {
94
+ "concept": "match/vap-match-conditions-demo/exclude-leases",
95
+ "field": "vap-match-conditions-demo#matchConditions[exclude-leases]",
96
+ "source": "validating-admission-policy-match-conditions.yaml",
97
+ "term": "vap-match-conditions-demo"
98
+ },
99
+ {
100
+ "concept": "match/vap-match-conditions-demo/rbac",
101
+ "field": "vap-match-conditions-demo#matchConditions[rbac]",
102
+ "source": "validating-admission-policy-match-conditions.yaml",
103
+ "term": "vap-match-conditions-demo"
104
+ },
105
+ {
106
+ "concept": "expr/28eb08b3b942115d",
107
+ "field": "vap-match-conditions-demo#validations[0]",
108
+ "source": "validating-admission-policy-match-conditions.yaml",
109
+ "term": "vap-match-conditions-demo"
110
+ },
111
+ {
112
+ "concept": "expr/066216444232d58a",
113
+ "field": "doc-env-label-gate#validations[0]",
114
+ "source": "validating-admission-policy.md",
115
+ "term": "doc-env-label-gate"
116
+ }
117
+ ],
118
+ "schema": "mappings/1.0"
119
+ }
core_worlds/private/artifacts/world_L02/repaired/ontology.ttl ADDED
@@ -0,0 +1,184 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ @prefix corr: <http://example.org/corr#> .
2
+ @prefix kcc: <http://example.org/k8s-vap-cel-core#> .
3
+ @prefix owl: <http://www.w3.org/2002/07/owl#> .
4
+ @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
5
+ @prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
6
+
7
+ kcc:DocExpressionSet a owl:Class ;
8
+ rdfs:label "DocExpressionSet" ;
9
+ rdfs:comment "rdfs:subClassOf Policy. A unit taken from the pinned CEL reference documentation (kind doc_expression_set)." ;
10
+ rdfs:subClassOf kcc:Policy .
11
+
12
+ kcc:Ontology a owl:Ontology ;
13
+ rdfs:label "Kubernetes VAP/CEL gold ontology" ;
14
+ rdfs:comment "RULE layer only: class hierarchy, typed relations and axioms derived from the frozen spec vocabulary (pilot_worlds/world_L02_scaleup/spec/k8s_vap_cel.json). Instance facts live in the slice projection; task labels are never part of this artifact." ;
15
+ owl:versionInfo "k8s_vap_cel/0.2.0-scaleup" .
16
+
17
+ kcc:VapPolicy a owl:Class ;
18
+ rdfs:label "VapPolicy" ;
19
+ rdfs:comment "rdfs:subClassOf Policy. A unit parsed from a ValidatingAdmissionPolicy YAML example of the pinned shard (kind vap_policy)." ;
20
+ rdfs:subClassOf kcc:Policy .
21
+
22
+ kcc:apiVersion a owl:DatatypeProperty ;
23
+ rdfs:comment "Relation 'apiVersion' of the spec vocabulary." ;
24
+ rdfs:domain kcc:ClusterObject ;
25
+ rdfs:range xsd:string .
26
+
27
+ kcc:conditionName a owl:DatatypeProperty ;
28
+ rdfs:comment "Relation 'conditionName' of the spec vocabulary." ;
29
+ rdfs:domain kcc:MatchCondition ;
30
+ rdfs:range xsd:string .
31
+
32
+ kcc:expressionSha256 a owl:DatatypeProperty ;
33
+ rdfs:comment "Relation 'expressionSha256' of the spec vocabulary." ;
34
+ rdfs:domain kcc:ExpressionUnit ;
35
+ rdfs:range xsd:string .
36
+
37
+ kcc:expressionText a owl:DatatypeProperty ;
38
+ rdfs:comment "Relation 'expressionText' of the spec vocabulary." ;
39
+ rdfs:domain kcc:ExpressionUnit ;
40
+ rdfs:range xsd:string .
41
+
42
+ kcc:governs a owl:ObjectProperty ;
43
+ rdfs:comment "Expert-declared world semantics: the policy's expressions are in scope for the object (the pairs the world's tasks and certification evaluate)." ;
44
+ rdfs:domain kcc:Policy ;
45
+ rdfs:range kcc:ClusterObject .
46
+
47
+ kcc:hasMatchCondition a owl:ObjectProperty ;
48
+ rdfs:comment "Policy -> one of its named spec.matchConditions[] entries." ;
49
+ rdfs:domain kcc:Policy ;
50
+ rdfs:range kcc:MatchCondition ;
51
+ owl:inverseOf kcc:matchConditionOf .
52
+
53
+ kcc:hasMessageExpression a owl:ObjectProperty ;
54
+ rdfs:comment "Policy -> one of its messageExpression / auditAnnotation valueExpression units." ;
55
+ rdfs:domain kcc:Policy ;
56
+ rdfs:range kcc:MessageExpression ;
57
+ owl:inverseOf kcc:messageOf .
58
+
59
+ kcc:hasValidation a owl:ObjectProperty ;
60
+ rdfs:comment "Policy -> one of its spec.validations[].expression units." ;
61
+ rdfs:domain kcc:Policy ;
62
+ rdfs:range kcc:ValidationExpression ;
63
+ owl:inverseOf kcc:validationOf .
64
+
65
+ kcc:k8sKind a owl:DatatypeProperty ;
66
+ rdfs:comment "Relation 'k8sKind' of the spec vocabulary." ;
67
+ rdfs:domain kcc:ClusterObject ;
68
+ rdfs:range xsd:string .
69
+
70
+ kcc:objectId a owl:DatatypeProperty ;
71
+ rdfs:comment "Relation 'objectId' of the spec vocabulary." ;
72
+ rdfs:domain kcc:ClusterObject ;
73
+ rdfs:range xsd:string .
74
+
75
+ kcc:objectJson a owl:DatatypeProperty ;
76
+ rdfs:comment "Relation 'objectJson' of the spec vocabulary." ;
77
+ rdfs:domain kcc:ClusterObject ;
78
+ rdfs:range xsd:string .
79
+
80
+ kcc:paramSetId a owl:DatatypeProperty ;
81
+ rdfs:comment "Relation 'paramSetId' of the spec vocabulary." ;
82
+ rdfs:domain kcc:ParamSet ;
83
+ rdfs:range xsd:string .
84
+
85
+ kcc:paramsJson a owl:DatatypeProperty ;
86
+ rdfs:comment "Relation 'paramsJson' of the spec vocabulary." ;
87
+ rdfs:domain kcc:ParamSet ;
88
+ rdfs:range xsd:string .
89
+
90
+ kcc:policyId a owl:DatatypeProperty ;
91
+ rdfs:comment "Relation 'policyId' of the spec vocabulary." ;
92
+ rdfs:domain kcc:Policy ;
93
+ rdfs:range xsd:string .
94
+
95
+ kcc:policyKind a owl:DatatypeProperty ;
96
+ rdfs:comment "Relation 'policyKind' of the spec vocabulary." ;
97
+ rdfs:domain kcc:Policy ;
98
+ rdfs:range xsd:string .
99
+
100
+ kcc:requestId a owl:DatatypeProperty ;
101
+ rdfs:comment "Relation 'requestId' of the spec vocabulary." ;
102
+ rdfs:domain kcc:AdmissionRequest ;
103
+ rdfs:range xsd:string .
104
+
105
+ kcc:requestJson a owl:DatatypeProperty ;
106
+ rdfs:comment "Relation 'requestJson' of the spec vocabulary." ;
107
+ rdfs:domain kcc:AdmissionRequest ;
108
+ rdfs:range xsd:string .
109
+
110
+ kcc:sourcePath a owl:DatatypeProperty ;
111
+ rdfs:comment "Relation 'sourcePath' of the spec vocabulary." ;
112
+ rdfs:domain kcc:Policy ;
113
+ rdfs:range xsd:string .
114
+
115
+ kcc:srcMatchCondition corr:mapsTo kcc:MatchCondition ;
116
+ rdfs:comment "Source field 'vap_policy.spec.matchConditions[].expression' lifts to concept kcc:MatchCondition." .
117
+
118
+ kcc:srcMessageExpression corr:mapsTo kcc:MessageExpression ;
119
+ rdfs:comment "Source field 'vap_policy.spec.validations[].messageExpression / auditAnnotations[].valueExpression' lifts to concept kcc:MessageExpression." .
120
+
121
+ kcc:srcPolicyMetadata corr:mapsTo kcc:Policy ;
122
+ rdfs:comment "Source field 'vap_policy metadata (name/kind/source path)' lifts to concept kcc:Policy." .
123
+
124
+ kcc:srcValidationExpression corr:mapsTo kcc:ValidationExpression ;
125
+ rdfs:comment "Source field 'vap_policy.spec.validations[].expression' lifts to concept kcc:ValidationExpression." .
126
+
127
+ kcc:usesParams a owl:ObjectProperty ;
128
+ rdfs:comment "Policy -> a parameter binding in scope for it (vap-param-replica-limit and the failure-policy witness only)." ;
129
+ rdfs:domain kcc:Policy ;
130
+ rdfs:range kcc:ParamSet .
131
+
132
+ kcc:matchConditionOf a owl:ObjectProperty ;
133
+ rdfs:comment "Inverse of hasMatchCondition." ;
134
+ rdfs:domain kcc:MatchCondition ;
135
+ rdfs:range kcc:Policy .
136
+
137
+ kcc:messageOf a owl:ObjectProperty ;
138
+ rdfs:comment "Inverse of hasMessageExpression." ;
139
+ rdfs:domain kcc:MessageExpression ;
140
+ rdfs:range kcc:Policy .
141
+
142
+ kcc:validationOf a owl:ObjectProperty ;
143
+ rdfs:comment "Inverse of hasValidation." ;
144
+ rdfs:domain kcc:ValidationExpression ;
145
+ rdfs:range kcc:Policy .
146
+
147
+ kcc:AdmissionRequest a owl:Class ;
148
+ rdfs:label "AdmissionRequest" ;
149
+ rdfs:comment "An admission request context (resource group/resource, operation, userInfo.groups) used by matchCondition evaluation. Carries requestId/requestJson." .
150
+
151
+ kcc:MessageExpression a owl:Class ;
152
+ rdfs:label "MessageExpression" ;
153
+ rdfs:comment "rdfs:subClassOf ExpressionUnit. A messageExpression / auditAnnotations valueExpression: evaluated to a human-readable string." ;
154
+ rdfs:subClassOf kcc:ExpressionUnit .
155
+
156
+ kcc:ParamSet a owl:Class ;
157
+ rdfs:label "ParamSet" ;
158
+ rdfs:comment "A parameter resource binding (e.g. ReplicaLimit maxReplicas) referenced by paramKind-bearing policies. Carries paramSetId/paramsJson." .
159
+
160
+ kcc:ValidationExpression a owl:Class ;
161
+ rdfs:label "ValidationExpression" ;
162
+ rdfs:comment "rdfs:subClassOf ExpressionUnit. A spec.validations[].expression: evaluated to a boolean; a false value denies the admission decision (uniform decision semantics; see semantics.decision_rule)." ;
163
+ rdfs:subClassOf kcc:ExpressionUnit .
164
+
165
+ kcc:MatchCondition a owl:Class ;
166
+ rdfs:label "MatchCondition" ;
167
+ rdfs:comment "rdfs:subClassOf ExpressionUnit. A spec.matchConditions[] entry: a named boolean expression evaluated over the admission request; a policy applies to a request iff every named condition is true." ;
168
+ rdfs:subClassOf kcc:ExpressionUnit .
169
+
170
+ kcc:ClusterObject a owl:Class ;
171
+ rdfs:label "ClusterObject" ;
172
+ rdfs:comment "A Kubernetes-shaped object manifest under admission review (Deployment, ReplicaSchedule, LeaseRecord, or synthetic CRD-shaped fixtures). Carries objectId/k8sKind/apiVersion/objectJson." ;
173
+ owl:disjointWith kcc:ExpressionUnit .
174
+
175
+ kcc:ExpressionUnit a owl:Class ;
176
+ rdfs:label "ExpressionUnit" ;
177
+ rdfs:comment "A CEL expression text with its sha256. Base class of the expression nodes; carries expressionText/expressionSha256." .
178
+
179
+ kcc:Policy a owl:Class ;
180
+ rdfs:label "Policy" ;
181
+ rdfs:comment "An admission-policy unit of the slice universe. Base class; carries policyId/sourcePath/policyKind; linked to its validation expressions via kcc:hasValidation." ;
182
+ owl:disjointWith kcc:ClusterObject,
183
+ kcc:ExpressionUnit .
184
+
core_worlds/private/artifacts/world_L02/repaired/shapes.ttl ADDED
@@ -0,0 +1,102 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ @prefix kcc: <http://example.org/k8s-vap-cel-core#> .
2
+ @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
3
+ @prefix sh: <http://www.w3.org/ns/shacl#> .
4
+ @prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
5
+
6
+ kcc:AdmissionRequestShape a sh:NodeShape ;
7
+ sh:property [ sh:datatype xsd:string ;
8
+ sh:maxCount 1 ;
9
+ sh:minCount 1 ;
10
+ sh:path kcc:requestJson ],
11
+ [ sh:datatype xsd:string ;
12
+ sh:maxCount 1 ;
13
+ sh:minCount 1 ;
14
+ sh:path kcc:requestId ;
15
+ sh:pattern "^req-[a-z0-9-]+$" ] ;
16
+ sh:targetClass kcc:AdmissionRequest .
17
+
18
+ kcc:ClusterObjectShape a sh:NodeShape ;
19
+ sh:property [ sh:datatype xsd:string ;
20
+ sh:maxCount 1 ;
21
+ sh:minCount 1 ;
22
+ sh:path kcc:k8sKind ],
23
+ [ sh:datatype xsd:string ;
24
+ sh:maxCount 1 ;
25
+ sh:minCount 1 ;
26
+ sh:path kcc:apiVersion ],
27
+ [ sh:datatype xsd:string ;
28
+ sh:maxCount 1 ;
29
+ sh:minCount 1 ;
30
+ sh:path kcc:objectId ;
31
+ sh:pattern "^[a-z0-9-]+$" ],
32
+ [ sh:datatype xsd:string ;
33
+ sh:maxCount 1 ;
34
+ sh:minCount 1 ;
35
+ sh:path kcc:objectJson ] ;
36
+ sh:targetClass kcc:ClusterObject .
37
+
38
+ kcc:MatchConditionShape a sh:NodeShape ;
39
+ sh:property [ sh:datatype xsd:string ;
40
+ sh:maxCount 1 ;
41
+ sh:minCount 1 ;
42
+ sh:path kcc:expressionText ],
43
+ [ sh:datatype xsd:string ;
44
+ sh:maxCount 1 ;
45
+ sh:minCount 1 ;
46
+ sh:path kcc:conditionName ] ;
47
+ sh:targetClass kcc:MatchCondition .
48
+
49
+ kcc:ParamSetShape a sh:NodeShape ;
50
+ sh:property [ sh:datatype xsd:string ;
51
+ sh:maxCount 1 ;
52
+ sh:minCount 1 ;
53
+ sh:path kcc:paramsJson ],
54
+ [ sh:datatype xsd:string ;
55
+ sh:maxCount 1 ;
56
+ sh:minCount 1 ;
57
+ sh:path kcc:paramSetId ;
58
+ sh:pattern "^params-[0-9]+$" ] ;
59
+ sh:targetClass kcc:ParamSet .
60
+
61
+ kcc:PolicyShape a sh:NodeShape ;
62
+ sh:property [ sh:datatype xsd:string ;
63
+ sh:in ( "vap_policy" "doc_expression_set" ) ;
64
+ sh:maxCount 1 ;
65
+ sh:minCount 1 ;
66
+ sh:path kcc:policyKind ],
67
+ [ sh:class kcc:ValidationExpression ;
68
+ sh:minCount 1 ;
69
+ sh:nodeKind sh:IRI ;
70
+ sh:path kcc:hasValidation ],
71
+ [ sh:datatype xsd:string ;
72
+ sh:maxCount 1 ;
73
+ sh:minCount 1 ;
74
+ sh:path kcc:policyId ;
75
+ sh:pattern "^[a-z0-9-]+$" ],
76
+ [ sh:datatype xsd:string ;
77
+ sh:maxCount 1 ;
78
+ sh:minCount 1 ;
79
+ sh:path kcc:sourcePath ;
80
+ sh:pattern "^content/en/.*" ] ;
81
+ sh:targetClass kcc:Policy .
82
+
83
+ kcc:ValidationExpressionShape a sh:NodeShape ;
84
+ sh:property [ sh:datatype xsd:string ;
85
+ sh:maxCount 1 ;
86
+ sh:minCount 1 ;
87
+ sh:path kcc:expressionText ],
88
+ [ sh:datatype xsd:string ;
89
+ sh:maxCount 1 ;
90
+ sh:minCount 1 ;
91
+ sh:path kcc:expressionSha256 ;
92
+ sh:pattern "^[0-9a-f]{64}$" ] ;
93
+ sh:targetClass kcc:ValidationExpression .
94
+
95
+ kcc:VapPolicyShape a sh:NodeShape ;
96
+ sh:property [ sh:datatype xsd:string ;
97
+ sh:in ( "vap_policy" ) ;
98
+ sh:maxCount 1 ;
99
+ sh:minCount 1 ;
100
+ sh:path kcc:policyKind ] ;
101
+ sh:targetClass kcc:VapPolicy .
102
+
core_worlds/private/artifacts/world_L02/variants.json ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "corrupt": {
3
+ "corruption_manifest": "pack/private/corruption_manifest.json",
4
+ "ontology_sha256": "c40dde8ad3e9419aff7641821bb7f3123ec7fc2a8528c76418b3c056a6fe92bc",
5
+ "shapes_sha256": "47947292b5e64f69b74c5b33ef421bf15fb16cf827dc3a7c0c5139f0387c1f50"
6
+ },
7
+ "gold": {
8
+ "ontology_sha256": "2ed3de663222dd9d85cb512ca337a589c12f0c78d97d988558dc95382002f7d9",
9
+ "shapes_sha256": "1ca5980152cce15f86b97568a791460bc9aca1ff9bae05f4876384166a004895"
10
+ },
11
+ "mappings_identical_across_variants": true,
12
+ "repaired": {
13
+ "note": "repaired reference == gold bytes; the corrupt -> gold delta is exactly the corruption manifest diff",
14
+ "ontology_sha256": "2ed3de663222dd9d85cb512ca337a589c12f0c78d97d988558dc95382002f7d9",
15
+ "shapes_sha256": "1ca5980152cce15f86b97568a791460bc9aca1ff9bae05f4876384166a004895"
16
+ },
17
+ "schema": "aob-world-l02-variants/1.0"
18
+ }
core_worlds/private/artifacts/world_L03/corrupt/corruption_manifest.json ADDED
@@ -0,0 +1,198 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "error_count": 8,
3
+ "errors": [
4
+ {
5
+ "added_statements": [
6
+ "<http://example.org/dmn-decisions-core#InputClause> <http://www.w3.org/2000/01/rdf-schema#subClassOf> <http://example.org/dmn-decisions-core#DecisionTable> ."
7
+ ],
8
+ "artifact": "ontology",
9
+ "error_type": "wrong_subclassof",
10
+ "index": 0,
11
+ "params": {
12
+ "child": "http://example.org/dmn-decisions-core#InputClause",
13
+ "wrong_parent": "http://example.org/dmn-decisions-core#DecisionTable"
14
+ },
15
+ "rationale": "Re-pointed http://example.org/dmn-decisions-core#InputClause from its gold superclass http://example.org/dmn-decisions-core#Clause to http://example.org/dmn-decisions-core#DecisionTable, inverting the intended class hierarchy.",
16
+ "removed_statements": [
17
+ "<http://example.org/dmn-decisions-core#InputClause> <http://www.w3.org/2000/01/rdf-schema#subClassOf> <http://example.org/dmn-decisions-core#Clause> ."
18
+ ],
19
+ "requested_params": {
20
+ "child": "http://example.org/dmn-decisions-core#InputClause",
21
+ "wrong_parent": "http://example.org/dmn-decisions-core#DecisionTable"
22
+ },
23
+ "seed": 20261118,
24
+ "target_statements": [
25
+ "<http://example.org/dmn-decisions-core#InputClause> <http://www.w3.org/2000/01/rdf-schema#subClassOf> <http://example.org/dmn-decisions-core#Clause> ."
26
+ ]
27
+ },
28
+ {
29
+ "added_statements": [],
30
+ "artifact": "ontology",
31
+ "error_type": "concept_omission",
32
+ "index": 1,
33
+ "params": {
34
+ "target": "http://example.org/dmn-decisions-core#Rule"
35
+ },
36
+ "rationale": "Dropped the concept declaration http://www.w3.org/2002/07/owl#Class; downstream queries can no longer recognise http://example.org/dmn-decisions-core#Rule as a http://www.w3.org/2002/07/owl#Class.",
37
+ "removed_statements": [
38
+ "<http://example.org/dmn-decisions-core#Rule> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Class> ."
39
+ ],
40
+ "requested_params": {
41
+ "target": "http://example.org/dmn-decisions-core#Rule"
42
+ },
43
+ "seed": 20261118,
44
+ "target_statements": [
45
+ "<http://example.org/dmn-decisions-core#Rule> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Class> ."
46
+ ]
47
+ },
48
+ {
49
+ "added_statements": [
50
+ "<http://example.org/dmn-decisions-core#requiresDecision> <http://www.w3.org/2002/07/owl#inverseOf> <http://example.org/dmn-decisions-core#hasRule> ."
51
+ ],
52
+ "artifact": "ontology",
53
+ "error_type": "inverse_relation",
54
+ "index": 2,
55
+ "params": {
56
+ "property": "http://example.org/dmn-decisions-core#requiresDecision",
57
+ "wrong_inverse_of": "http://example.org/dmn-decisions-core#hasRule"
58
+ },
59
+ "rationale": "Replaced the correct inverse http://example.org/dmn-decisions-core#requiresDecision owl:inverseOf http://example.org/dmn-decisions-core#requiredBy with http://example.org/dmn-decisions-core#hasRule, so the relation now points the wrong way.",
60
+ "removed_statements": [
61
+ "<http://example.org/dmn-decisions-core#requiresDecision> <http://www.w3.org/2002/07/owl#inverseOf> <http://example.org/dmn-decisions-core#requiredBy> ."
62
+ ],
63
+ "requested_params": {
64
+ "property": "http://example.org/dmn-decisions-core#requiresDecision",
65
+ "wrong_inverse_of": "http://example.org/dmn-decisions-core#hasRule"
66
+ },
67
+ "seed": 20261118,
68
+ "target_statements": [
69
+ "<http://example.org/dmn-decisions-core#requiresDecision> <http://www.w3.org/2002/07/owl#inverseOf> <http://example.org/dmn-decisions-core#requiredBy> ."
70
+ ]
71
+ },
72
+ {
73
+ "added_statements": [
74
+ "<http://example.org/dmn-decisions-core#evaluatesDecision> <http://www.w3.org/2000/01/rdf-schema#range> <http://example.org/dmn-decisions-core#Rule> ."
75
+ ],
76
+ "artifact": "ontology",
77
+ "error_type": "domain_range_mismatch",
78
+ "index": 3,
79
+ "params": {
80
+ "kind": "range",
81
+ "property": "http://example.org/dmn-decisions-core#evaluatesDecision",
82
+ "wrong": "http://example.org/dmn-decisions-core#Rule"
83
+ },
84
+ "rationale": "Changed http://example.org/dmn-decisions-core#evaluatesDecision range from http://example.org/dmn-decisions-core#DecisionTable to http://example.org/dmn-decisions-core#Rule, making the domain/range declaration inconsistent with the relation's intended use.",
85
+ "removed_statements": [
86
+ "<http://example.org/dmn-decisions-core#evaluatesDecision> <http://www.w3.org/2000/01/rdf-schema#range> <http://example.org/dmn-decisions-core#DecisionTable> ."
87
+ ],
88
+ "requested_params": {
89
+ "kind": "range",
90
+ "property": "http://example.org/dmn-decisions-core#evaluatesDecision",
91
+ "wrong": "http://example.org/dmn-decisions-core#Rule"
92
+ },
93
+ "seed": 20261118,
94
+ "target_statements": [
95
+ "<http://example.org/dmn-decisions-core#evaluatesDecision> <http://www.w3.org/2000/01/rdf-schema#range> <http://example.org/dmn-decisions-core#DecisionTable> ."
96
+ ]
97
+ },
98
+ {
99
+ "added_statements": [],
100
+ "artifact": "shapes",
101
+ "error_type": "missing_cardinality",
102
+ "index": 4,
103
+ "params": {
104
+ "constraint": "minCount",
105
+ "path": "http://example.org/dmn-decisions-core#hitPolicy"
106
+ },
107
+ "rationale": "Removed minCount of the property shape on http://example.org/dmn-decisions-core#hitPolicy; instances violating the cardinality now validate, hiding a required constraint.",
108
+ "removed_statements": [
109
+ "_:cb32b13bb65a0a09c1c869a49bab5dd79a99471d824d683136a94dc91375a143bb2 <http://www.w3.org/ns/shacl#minCount> \"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ."
110
+ ],
111
+ "requested_params": {
112
+ "constraint": "minCount",
113
+ "path": "http://example.org/dmn-decisions-core#hitPolicy"
114
+ },
115
+ "seed": 20261118,
116
+ "target_statements": [
117
+ "<http://example.org/dmn-decisions-core#DecisionTableShape> <http://www.w3.org/ns/shacl#property> _:cb32b13bb65a0a09c1c869a49bab5dd79a99471d824d683136a94dc91375a143bb2 .",
118
+ "_:cb32b13bb65a0a09c1c869a49bab5dd79a99471d824d683136a94dc91375a143bb2 <http://www.w3.org/ns/shacl#minCount> \"1\"^^<http://www.w3.org/2001/XMLSchema#integer> .",
119
+ "_:cb32b13bb65a0a09c1c869a49bab5dd79a99471d824d683136a94dc91375a143bb2 <http://www.w3.org/ns/shacl#path> <http://example.org/dmn-decisions-core#hitPolicy> ."
120
+ ]
121
+ },
122
+ {
123
+ "added_statements": [
124
+ "<http://example.org/dmn-decisions-core#EvaluationCaseShape> <http://www.w3.org/ns/shacl#closed> \"true\"^^<http://www.w3.org/2001/XMLSchema#boolean> ."
125
+ ],
126
+ "artifact": "shapes",
127
+ "error_type": "incorrect_closed_world",
128
+ "index": 5,
129
+ "params": {
130
+ "shape": "http://example.org/dmn-decisions-core#EvaluationCaseShape"
131
+ },
132
+ "rationale": "Added sh:closed true to http://example.org/dmn-decisions-core#EvaluationCaseShape, imposing a closed-world assumption on a shape whose semantics are open-world.",
133
+ "removed_statements": [],
134
+ "requested_params": {
135
+ "shape": "http://example.org/dmn-decisions-core#EvaluationCaseShape"
136
+ },
137
+ "seed": 20261118,
138
+ "target_statements": [
139
+ "<http://example.org/dmn-decisions-core#EvaluationCaseShape> <http://www.w3.org/ns/shacl#targetClass> <http://example.org/dmn-decisions-core#EvaluationCase> ."
140
+ ]
141
+ },
142
+ {
143
+ "added_statements": [
144
+ "<http://example.org/dmn-decisions-core#DecisionTableShape> <http://www.w3.org/ns/shacl#targetClass> <http://example.org/dmn-decisions-core#DMNElement> ."
145
+ ],
146
+ "artifact": "shapes",
147
+ "error_type": "overgeneralization",
148
+ "index": 6,
149
+ "params": {
150
+ "shape": "http://example.org/dmn-decisions-core#DecisionTableShape",
151
+ "to_superclass": "http://example.org/dmn-decisions-core#DMNElement"
152
+ },
153
+ "rationale": "Moved http://example.org/dmn-decisions-core#DecisionTableShape from targetClass http://example.org/dmn-decisions-core#DecisionTable to the broader superclass http://example.org/dmn-decisions-core#DMNElement, so the constraint now applies to entities it was never meant to cover.",
154
+ "removed_statements": [
155
+ "<http://example.org/dmn-decisions-core#DecisionTableShape> <http://www.w3.org/ns/shacl#targetClass> <http://example.org/dmn-decisions-core#DecisionTable> ."
156
+ ],
157
+ "requested_params": {
158
+ "shape": "http://example.org/dmn-decisions-core#DecisionTableShape",
159
+ "to_superclass": "http://example.org/dmn-decisions-core#DMNElement"
160
+ },
161
+ "seed": 20261118,
162
+ "target_statements": [
163
+ "<http://example.org/dmn-decisions-core#DecisionTable> <http://www.w3.org/2000/01/rdf-schema#subClassOf> <http://example.org/dmn-decisions-core#DMNElement> .",
164
+ "<http://example.org/dmn-decisions-core#DecisionTableShape> <http://www.w3.org/ns/shacl#targetClass> <http://example.org/dmn-decisions-core#DecisionTable> ."
165
+ ]
166
+ },
167
+ {
168
+ "added_statements": [
169
+ "<http://example.org/dmn-decisions-core#srcCaseVariable> <http://example.org/corr#mapsTo> <http://example.org/dmn-decisions-core#EvaluationCase> ."
170
+ ],
171
+ "artifact": "ontology",
172
+ "error_type": "wrong_data_to_concept_mapping",
173
+ "index": 7,
174
+ "params": {
175
+ "predicate": "http://example.org/corr#mapsTo",
176
+ "source": "http://example.org/dmn-decisions-core#srcCaseVariable",
177
+ "wrong_concept": "http://example.org/dmn-decisions-core#EvaluationCase"
178
+ },
179
+ "rationale": "Redirected the mapping for http://example.org/dmn-decisions-core#srcCaseVariable from http://example.org/dmn-decisions-core#Binding to http://example.org/dmn-decisions-core#EvaluationCase, so source data is lifted into the wrong concept.",
180
+ "removed_statements": [
181
+ "<http://example.org/dmn-decisions-core#srcCaseVariable> <http://example.org/corr#mapsTo> <http://example.org/dmn-decisions-core#Binding> ."
182
+ ],
183
+ "requested_params": {
184
+ "source": "http://example.org/dmn-decisions-core#srcCaseVariable",
185
+ "wrong_concept": "http://example.org/dmn-decisions-core#EvaluationCase"
186
+ },
187
+ "seed": 20261118,
188
+ "target_statements": [
189
+ "<http://example.org/dmn-decisions-core#srcCaseVariable> <http://example.org/corr#mapsTo> <http://example.org/dmn-decisions-core#Binding> ."
190
+ ]
191
+ }
192
+ ],
193
+ "gold_ontology_sha256": "1fc05b18409e990db2c05a435b65ecdecc11af68d77b0258f6d2e68f1c226dbc",
194
+ "gold_shapes_sha256": "a24c3301dd34604d43506c11e7200ab19980582b15019a66c49ceee0ae5d53c7",
195
+ "ontology_sha256": "7b9e6149bd92b04f8a232be8b5e6a012b77d65c02f49380cf9830edc8fe9db70",
196
+ "seed": 20261118,
197
+ "shapes_sha256": "70fb35f1448b949364cf45ac39d53058eb48f966961094317e6f1e32d51de6f0"
198
+ }
core_worlds/private/artifacts/world_L03/corrupt/mappings.json ADDED
@@ -0,0 +1,245 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "entries": [
3
+ {
4
+ "concept": "CategoricalInput",
5
+ "field": "desiredDish",
6
+ "source": "camunda-dmn-examples@commit-6c7f4c4adb4b",
7
+ "term": "desiredDish"
8
+ },
9
+ {
10
+ "concept": "BooleanInput",
11
+ "field": "guestsWithChildren",
12
+ "source": "camunda-dmn-examples@commit-6c7f4c4adb4b",
13
+ "term": "guestsWithChildren"
14
+ },
15
+ {
16
+ "concept": "DecisionOutput",
17
+ "field": "beverages",
18
+ "source": "camunda-dmn-examples@commit-6c7f4c4adb4b",
19
+ "term": "beverages"
20
+ },
21
+ {
22
+ "concept": "CategoricalInput",
23
+ "field": "season",
24
+ "source": "camunda-dmn-examples@commit-6c7f4c4adb4b",
25
+ "term": "season"
26
+ },
27
+ {
28
+ "concept": "NumericInput",
29
+ "field": "guestCount",
30
+ "source": "camunda-dmn-examples@commit-6c7f4c4adb4b",
31
+ "term": "guestCount"
32
+ },
33
+ {
34
+ "concept": "CategoricalInput",
35
+ "field": "season",
36
+ "source": "camunda-dmn-examples@commit-ee4826e5e76c",
37
+ "term": "season"
38
+ },
39
+ {
40
+ "concept": "NumericInput",
41
+ "field": "guestCount",
42
+ "source": "camunda-dmn-examples@commit-ee4826e5e76c",
43
+ "term": "guestCount"
44
+ },
45
+ {
46
+ "concept": "DecisionOutput",
47
+ "field": "desiredDish",
48
+ "source": "camunda-dmn-examples@commit-ee4826e5e76c",
49
+ "term": "desiredDish"
50
+ },
51
+ {
52
+ "concept": "CategoricalInput",
53
+ "field": "dayType",
54
+ "source": "camunda-dmn-examples@commit-ee4826e5e76c",
55
+ "term": "dayType"
56
+ },
57
+ {
58
+ "concept": "NumericInput",
59
+ "field": "temperature",
60
+ "source": "camunda-dmn-examples@commit-ee4826e5e76c",
61
+ "term": "temperature"
62
+ },
63
+ {
64
+ "concept": "CategoricalInput",
65
+ "field": "status",
66
+ "source": "camunda-dmn-examples@commit-ee4826e5e76c",
67
+ "term": "status"
68
+ },
69
+ {
70
+ "concept": "NumericInput",
71
+ "field": "sum",
72
+ "source": "camunda-dmn-examples@commit-ee4826e5e76c",
73
+ "term": "sum"
74
+ },
75
+ {
76
+ "concept": "DecisionOutput",
77
+ "field": "result",
78
+ "source": "camunda-dmn-examples@commit-ee4826e5e76c",
79
+ "term": "result"
80
+ },
81
+ {
82
+ "concept": "DecisionOutput",
83
+ "field": "reason",
84
+ "source": "camunda-dmn-examples@commit-ee4826e5e76c",
85
+ "term": "reason"
86
+ },
87
+ {
88
+ "concept": "CategoricalInput",
89
+ "field": "name",
90
+ "source": "camunda-dmn-examples@commit-ee4826e5e76c",
91
+ "term": "name"
92
+ },
93
+ {
94
+ "concept": "DecisionOutput",
95
+ "field": "output",
96
+ "source": "camunda-dmn-examples@commit-ee4826e5e76c",
97
+ "term": "output"
98
+ },
99
+ {
100
+ "concept": "NumericInput",
101
+ "field": "score",
102
+ "source": "camunda-dmn-examples@commit-ee4826e5e76c",
103
+ "term": "score"
104
+ },
105
+ {
106
+ "concept": "CategoricalInput",
107
+ "field": "bb",
108
+ "source": "camunda-dmn-examples@commit-ee4826e5e76c",
109
+ "term": "bb"
110
+ },
111
+ {
112
+ "concept": "BooleanInput",
113
+ "field": "cc",
114
+ "source": "camunda-dmn-examples@commit-ee4826e5e76c",
115
+ "term": "cc"
116
+ },
117
+ {
118
+ "concept": "DecisionOutput",
119
+ "field": "aa",
120
+ "source": "camunda-dmn-examples@commit-ee4826e5e76c",
121
+ "term": "aa"
122
+ },
123
+ {
124
+ "concept": "NumericInput",
125
+ "field": "dd",
126
+ "source": "camunda-dmn-examples@commit-ee4826e5e76c",
127
+ "term": "dd"
128
+ },
129
+ {
130
+ "concept": "CategoricalInput",
131
+ "field": "pojoOne",
132
+ "source": "camunda-dmn-examples@commit-ee4826e5e76c",
133
+ "term": "pojoOne"
134
+ },
135
+ {
136
+ "concept": "DecisionOutput",
137
+ "field": "output_1",
138
+ "source": "camunda-dmn-examples@commit-ee4826e5e76c",
139
+ "term": "output_1"
140
+ },
141
+ {
142
+ "concept": "CategoricalInput",
143
+ "field": "stringInput",
144
+ "source": "camunda-dmn-examples@commit-ee4826e5e76c",
145
+ "term": "stringInput"
146
+ },
147
+ {
148
+ "concept": "CategoricalInput",
149
+ "field": "input",
150
+ "source": "camunda-dmn-examples@commit-ee4826e5e76c",
151
+ "term": "input"
152
+ },
153
+ {
154
+ "concept": "DecisionOutput",
155
+ "field": "result1",
156
+ "source": "camunda-dmn-examples@commit-ee4826e5e76c",
157
+ "term": "result1"
158
+ },
159
+ {
160
+ "concept": "DecisionOutput",
161
+ "field": "result2",
162
+ "source": "camunda-dmn-examples@commit-ee4826e5e76c",
163
+ "term": "result2"
164
+ },
165
+ {
166
+ "concept": "DecisionOutput",
167
+ "field": "desiredDish1",
168
+ "source": "camunda-dmn-examples@commit-ee4826e5e76c",
169
+ "term": "desiredDish1"
170
+ },
171
+ {
172
+ "concept": "DecisionOutput",
173
+ "field": "desiredDish2",
174
+ "source": "camunda-dmn-examples@commit-ee4826e5e76c",
175
+ "term": "desiredDish2"
176
+ },
177
+ {
178
+ "concept": "DecisionOutput",
179
+ "field": "desiredDish3",
180
+ "source": "camunda-dmn-examples@commit-ee4826e5e76c",
181
+ "term": "desiredDish3"
182
+ },
183
+ {
184
+ "concept": "NumericInput",
185
+ "field": "Age",
186
+ "source": "dmn-tck@commit-1e349176e5ae",
187
+ "term": "Age"
188
+ },
189
+ {
190
+ "concept": "CategoricalInput",
191
+ "field": "RiskCategory",
192
+ "source": "dmn-tck@commit-1e349176e5ae",
193
+ "term": "RiskCategory"
194
+ },
195
+ {
196
+ "concept": "BooleanInput",
197
+ "field": "isAffordable",
198
+ "source": "dmn-tck@commit-1e349176e5ae",
199
+ "term": "isAffordable"
200
+ },
201
+ {
202
+ "concept": "DecisionOutput",
203
+ "field": "_ad9c87b6-994e-4009-9118-7a2e861912e9",
204
+ "source": "dmn-tck@commit-1e349176e5ae",
205
+ "term": "_ad9c87b6-994e-4009-9118-7a2e861912e9"
206
+ },
207
+ {
208
+ "concept": "DecisionOutput",
209
+ "field": "_bffba7a1-f0a2-4679-b6e2-50e27bb27968",
210
+ "source": "dmn-tck@commit-1e349176e5ae",
211
+ "term": "_bffba7a1-f0a2-4679-b6e2-50e27bb27968"
212
+ },
213
+ {
214
+ "concept": "DecisionOutput",
215
+ "field": "Status",
216
+ "source": "dmn-tck@commit-1e349176e5ae",
217
+ "term": "Status"
218
+ },
219
+ {
220
+ "concept": "DecisionOutput",
221
+ "field": "Rate",
222
+ "source": "dmn-tck@commit-1e349176e5ae",
223
+ "term": "Rate"
224
+ },
225
+ {
226
+ "concept": "DecisionOutput",
227
+ "field": "_c8adc49f-998f-48b8-bd79-746d9c3d25b3",
228
+ "source": "dmn-tck@commit-1e349176e5ae",
229
+ "term": "_c8adc49f-998f-48b8-bd79-746d9c3d25b3"
230
+ },
231
+ {
232
+ "concept": "NumericInput",
233
+ "field": "NumOfYears",
234
+ "source": "dmn-tck@commit-1e349176e5ae",
235
+ "term": "NumOfYears"
236
+ },
237
+ {
238
+ "concept": "DecisionOutput",
239
+ "field": "output_1",
240
+ "source": "dmn-tck@commit-1e349176e5ae",
241
+ "term": "output_1"
242
+ }
243
+ ],
244
+ "schema": "mappings/1.0"
245
+ }
core_worlds/private/artifacts/world_L03/corrupt/ontology.ttl ADDED
@@ -0,0 +1,187 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ @prefix corr: <http://example.org/corr#> .
2
+ @prefix dmnc: <http://example.org/dmn-decisions-core#> .
3
+ @prefix owl: <http://www.w3.org/2002/07/owl#> .
4
+ @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
5
+ @prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
6
+
7
+ dmnc:Ontology a owl:Ontology ;
8
+ rdfs:label "DMN decision-table gold ontology" ;
9
+ rdfs:comment "RULE layer only: DMN decision-table semantics (classes, typed relations, hit-policy/aggregation enums) derived from the frozen spec vocabulary (pilot_worlds/world_L03_scaleup/spec/dmn_decisions.json). Instance facts live in the slice projection; task labels are never part of this artifact." ;
10
+ owl:versionInfo "dmn_decisions/1.0.0" .
11
+
12
+ dmnc:aggregation a owl:DatatypeProperty ;
13
+ rdfs:comment "Relation 'aggregation' of the spec vocabulary." ;
14
+ rdfs:domain dmnc:DecisionTable ;
15
+ rdfs:range xsd:string .
16
+
17
+ dmnc:bindsType a owl:DatatypeProperty ;
18
+ rdfs:comment "Relation 'bindsType' of the spec vocabulary." ;
19
+ rdfs:domain dmnc:Binding ;
20
+ rdfs:range xsd:string .
21
+
22
+ dmnc:bindsValue a owl:DatatypeProperty ;
23
+ rdfs:comment "The bound value rendered as text; bindsType carries the value's JSON type." ;
24
+ rdfs:domain dmnc:Binding ;
25
+ rdfs:range xsd:string .
26
+
27
+ dmnc:bindsVariable a owl:DatatypeProperty ;
28
+ rdfs:comment "Relation 'bindsVariable' of the spec vocabulary." ;
29
+ rdfs:domain dmnc:Binding ;
30
+ rdfs:range xsd:string .
31
+
32
+ dmnc:caseId a owl:DatatypeProperty ;
33
+ rdfs:comment "Relation 'caseId' of the spec vocabulary." ;
34
+ rdfs:domain dmnc:EvaluationCase ;
35
+ rdfs:range xsd:string .
36
+
37
+ dmnc:clauseIndex a owl:DatatypeProperty ;
38
+ rdfs:comment "Relation 'clauseIndex' of the spec vocabulary." ;
39
+ rdfs:domain dmnc:Clause ;
40
+ rdfs:range xsd:integer .
41
+
42
+ dmnc:clauseOf a owl:ObjectProperty ;
43
+ rdfs:comment "Backlink from a clause to its owning table." ;
44
+ rdfs:domain dmnc:Clause ;
45
+ rdfs:range dmnc:DecisionTable .
46
+
47
+ dmnc:decisionId a owl:DatatypeProperty ;
48
+ rdfs:comment "Relation 'decisionId' of the spec vocabulary." ;
49
+ rdfs:domain dmnc:DecisionTable ;
50
+ rdfs:range xsd:string .
51
+
52
+ dmnc:decisionName a owl:DatatypeProperty ;
53
+ rdfs:comment "Relation 'decisionName' of the spec vocabulary." ;
54
+ rdfs:domain dmnc:DecisionTable ;
55
+ rdfs:range xsd:string .
56
+
57
+ dmnc:evaluatesDecision a owl:ObjectProperty ;
58
+ rdfs:comment "The decision table an evaluation episode targets." ;
59
+ rdfs:domain dmnc:EvaluationCase ;
60
+ rdfs:range dmnc:Rule .
61
+
62
+ dmnc:hasBinding a owl:ObjectProperty ;
63
+ rdfs:comment "One variable binding of an evaluation episode." ;
64
+ rdfs:domain dmnc:EvaluationCase ;
65
+ rdfs:range dmnc:Binding .
66
+
67
+ dmnc:hasInputClause a owl:ObjectProperty ;
68
+ rdfs:comment "An input clause of the table." ;
69
+ rdfs:domain dmnc:DecisionTable ;
70
+ rdfs:range dmnc:InputClause .
71
+
72
+ dmnc:hasOutputClause a owl:ObjectProperty ;
73
+ rdfs:comment "An output clause of the table." ;
74
+ rdfs:domain dmnc:DecisionTable ;
75
+ rdfs:range dmnc:OutputClause .
76
+
77
+ dmnc:hitPolicy a owl:DatatypeProperty ;
78
+ rdfs:comment "Relation 'hitPolicy' of the spec vocabulary." ;
79
+ rdfs:domain dmnc:DecisionTable ;
80
+ rdfs:range xsd:string .
81
+
82
+ dmnc:inTable a owl:ObjectProperty ;
83
+ rdfs:comment "Backlink from a rule to its owning table." ;
84
+ rdfs:domain dmnc:Rule ;
85
+ rdfs:range dmnc:DecisionTable .
86
+
87
+ dmnc:inputEntriesJson a owl:DatatypeProperty ;
88
+ rdfs:comment "The rule's FEEL unary-test input entries as a JSON array literal (the data of record stays the slice JSONL; the projection is a faithful structural mirror)." ;
89
+ rdfs:domain dmnc:Rule ;
90
+ rdfs:range xsd:string .
91
+
92
+ dmnc:inputExpression a owl:DatatypeProperty ;
93
+ rdfs:comment "Relation 'inputExpression' of the spec vocabulary." ;
94
+ rdfs:domain dmnc:InputClause ;
95
+ rdfs:range xsd:string .
96
+
97
+ dmnc:outputEntriesJson a owl:DatatypeProperty ;
98
+ rdfs:comment "Relation 'outputEntriesJson' of the spec vocabulary." ;
99
+ rdfs:domain dmnc:Rule ;
100
+ rdfs:range xsd:string .
101
+
102
+ dmnc:outputName a owl:DatatypeProperty ;
103
+ rdfs:comment "Relation 'outputName' of the spec vocabulary." ;
104
+ rdfs:domain dmnc:OutputClause ;
105
+ rdfs:range xsd:string .
106
+
107
+ dmnc:requiredBy a owl:ObjectProperty ;
108
+ rdfs:comment "Inverse of requiresDecision." ;
109
+ rdfs:domain dmnc:DecisionTable ;
110
+ rdfs:range dmnc:DecisionTable .
111
+
112
+ dmnc:requiresDecision a owl:ObjectProperty ;
113
+ rdfs:comment "DRG information requirement: the subject table's decision requires the object table's decision (evaluated first, bound under the producer's first output name)." ;
114
+ rdfs:domain dmnc:DecisionTable ;
115
+ rdfs:range dmnc:DecisionTable ;
116
+ owl:inverseOf dmnc:hasRule .
117
+
118
+ dmnc:ruleIndex a owl:DatatypeProperty ;
119
+ rdfs:comment "Relation 'ruleIndex' of the spec vocabulary." ;
120
+ rdfs:domain dmnc:Rule ;
121
+ rdfs:range xsd:integer .
122
+
123
+ dmnc:ruleKey a owl:DatatypeProperty ;
124
+ rdfs:comment "Relation 'ruleKey' of the spec vocabulary." ;
125
+ rdfs:domain dmnc:Rule ;
126
+ rdfs:range xsd:string .
127
+
128
+ dmnc:srcCaseVariable corr:mapsTo dmnc:EvaluationCase ;
129
+ rdfs:comment "Source field 'dmn_case.bindings[].variable' lifts to concept dmnc:Binding." .
130
+
131
+ dmnc:srcHitPolicy corr:mapsTo dmnc:DecisionTable ;
132
+ rdfs:comment "Source field 'dmn_table.hit_policy' lifts to concept dmnc:DecisionTable." .
133
+
134
+ dmnc:srcInputExpression corr:mapsTo dmnc:InputClause ;
135
+ rdfs:comment "Source field 'dmn_table.inputs[].expression' lifts to concept dmnc:InputClause." .
136
+
137
+ dmnc:typeRef a owl:DatatypeProperty ;
138
+ rdfs:comment "Relation 'typeRef' of the spec vocabulary." ;
139
+ rdfs:domain dmnc:Clause ;
140
+ rdfs:range xsd:string .
141
+
142
+ dmnc:hasRule a owl:ObjectProperty ;
143
+ rdfs:comment "A rule row belonging to a decision table." ;
144
+ rdfs:domain dmnc:DecisionTable ;
145
+ rdfs:range dmnc:Rule .
146
+
147
+ dmnc:OutputClause a owl:Class ;
148
+ rdfs:label "OutputClause" ;
149
+ rdfs:comment "rdfs:subClassOf Clause. A typed output column: outputName + typeRef." ;
150
+ rdfs:subClassOf dmnc:Clause .
151
+
152
+ dmnc:InputClause a owl:Class ;
153
+ rdfs:label "InputClause" ;
154
+ rdfs:comment "rdfs:subClassOf Clause. A typed input column: inputExpression (bound variable) + typeRef." ;
155
+ rdfs:subClassOf dmnc:DecisionTable .
156
+
157
+ dmnc:Binding a owl:Class ;
158
+ rdfs:label "Binding" ;
159
+ rdfs:comment "rdfs:subClassOf DMNElement. One variable->value binding of an EvaluationCase." ;
160
+ rdfs:subClassOf dmnc:DMNElement .
161
+
162
+ dmnc:Clause a owl:Class ;
163
+ rdfs:label "Clause" ;
164
+ rdfs:comment "rdfs:subClassOf DMNElement. Base class of input and output clauses." ;
165
+ rdfs:subClassOf dmnc:DMNElement .
166
+
167
+ dmnc:DMNElement a owl:Class ;
168
+ rdfs:label "DMNElement" ;
169
+ rdfs:comment "Base class of every DMN model element in the world (superclass-only; no direct instances)." .
170
+
171
+ dmnc:EvaluationCase a owl:Class ;
172
+ rdfs:label "EvaluationCase" ;
173
+ rdfs:comment "rdfs:subClassOf DMNElement. One evaluation episode: an input assignment evaluated against one decision table." ;
174
+ rdfs:subClassOf dmnc:DMNElement .
175
+
176
+ dmnc:Rule rdfs:label "Rule" ;
177
+ rdfs:comment "rdfs:subClassOf DMNElement. One rule row of a decision table (input entries + output entries), keyed by ruleKey." ;
178
+ rdfs:subClassOf dmnc:DMNElement ;
179
+ owl:disjointWith dmnc:DecisionTable,
180
+ dmnc:EvaluationCase .
181
+
182
+ dmnc:DecisionTable a owl:Class ;
183
+ rdfs:label "DecisionTable" ;
184
+ rdfs:comment "rdfs:subClassOf DMNElement. One DMN decision table: hit policy, optional aggregation, typed input/output clauses, ordered rules." ;
185
+ rdfs:subClassOf dmnc:DMNElement ;
186
+ owl:disjointWith dmnc:EvaluationCase .
187
+
core_worlds/private/artifacts/world_L03/corrupt/shapes.ttl ADDED
@@ -0,0 +1,111 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ @prefix dmnc: <http://example.org/dmn-decisions-core#> .
2
+ @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
3
+ @prefix sh: <http://www.w3.org/ns/shacl#> .
4
+ @prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
5
+
6
+ dmnc:BindingShape a sh:NodeShape ;
7
+ sh:property [ sh:datatype xsd:string ;
8
+ sh:maxCount 1 ;
9
+ sh:minCount 1 ;
10
+ sh:path dmnc:bindsValue ],
11
+ [ sh:datatype xsd:string ;
12
+ sh:maxCount 1 ;
13
+ sh:minCount 1 ;
14
+ sh:path dmnc:bindsVariable ],
15
+ [ sh:datatype xsd:string ;
16
+ sh:in ( "string" "integer" "number" "boolean" ) ;
17
+ sh:maxCount 1 ;
18
+ sh:minCount 1 ;
19
+ sh:path dmnc:bindsType ] ;
20
+ sh:targetClass dmnc:Binding .
21
+
22
+ dmnc:DecisionTableShape a sh:NodeShape ;
23
+ sh:property [ sh:class dmnc:DecisionTable ;
24
+ sh:path dmnc:requiresDecision ],
25
+ [ sh:class dmnc:OutputClause ;
26
+ sh:minCount 1 ;
27
+ sh:path dmnc:hasOutputClause ],
28
+ [ sh:class dmnc:Rule ;
29
+ sh:minCount 1 ;
30
+ sh:path dmnc:hasRule ],
31
+ [ sh:datatype xsd:string ;
32
+ sh:in ( "UNIQUE" "FIRST" "ANY" "PRIORITY" "RULE ORDER" "OUTPUT ORDER" "COLLECT" ) ;
33
+ sh:maxCount 1 ;
34
+ sh:path dmnc:hitPolicy ],
35
+ [ sh:datatype xsd:string ;
36
+ sh:maxCount 1 ;
37
+ sh:minCount 1 ;
38
+ sh:path dmnc:decisionName ],
39
+ [ sh:datatype xsd:string ;
40
+ sh:maxCount 1 ;
41
+ sh:minCount 1 ;
42
+ sh:path dmnc:decisionId ],
43
+ [ sh:datatype xsd:string ;
44
+ sh:in ( "SUM" "MIN" "MAX" "COUNT" ) ;
45
+ sh:maxCount 1 ;
46
+ sh:path dmnc:aggregation ] ;
47
+ sh:targetClass dmnc:DMNElement .
48
+
49
+ dmnc:EvaluationCaseShape a sh:NodeShape ;
50
+ sh:closed true ;
51
+ sh:property [ sh:class dmnc:Binding ;
52
+ sh:minCount 1 ;
53
+ sh:path dmnc:hasBinding ],
54
+ [ sh:class dmnc:DecisionTable ;
55
+ sh:maxCount 1 ;
56
+ sh:minCount 1 ;
57
+ sh:path dmnc:evaluatesDecision ],
58
+ [ sh:datatype xsd:string ;
59
+ sh:maxCount 1 ;
60
+ sh:minCount 1 ;
61
+ sh:path dmnc:caseId ] ;
62
+ sh:targetClass dmnc:EvaluationCase .
63
+
64
+ dmnc:InputClauseShape a sh:NodeShape ;
65
+ sh:property [ sh:class dmnc:DecisionTable ;
66
+ sh:maxCount 1 ;
67
+ sh:minCount 1 ;
68
+ sh:path dmnc:clauseOf ],
69
+ [ sh:datatype xsd:string ;
70
+ sh:maxCount 1 ;
71
+ sh:minCount 1 ;
72
+ sh:path dmnc:inputExpression ;
73
+ sh:pattern "^[A-Za-z_][A-Za-z0-9_.]*$" ],
74
+ [ sh:datatype xsd:string ;
75
+ sh:in ( "string" "integer" "long" "double" "boolean" "number" ) ;
76
+ sh:maxCount 1 ;
77
+ sh:minCount 1 ;
78
+ sh:path dmnc:typeRef ] ;
79
+ sh:targetClass dmnc:InputClause .
80
+
81
+ dmnc:OutputClauseShape a sh:NodeShape ;
82
+ sh:property [ sh:class dmnc:DecisionTable ;
83
+ sh:maxCount 1 ;
84
+ sh:minCount 1 ;
85
+ sh:path dmnc:clauseOf ],
86
+ [ sh:datatype xsd:string ;
87
+ sh:maxCount 1 ;
88
+ sh:minCount 1 ;
89
+ sh:path dmnc:outputName ],
90
+ [ sh:datatype xsd:string ;
91
+ sh:in ( "string" "integer" "long" "double" "boolean" "number" ) ;
92
+ sh:maxCount 1 ;
93
+ sh:minCount 1 ;
94
+ sh:path dmnc:typeRef ] ;
95
+ sh:targetClass dmnc:OutputClause .
96
+
97
+ dmnc:RuleShape a sh:NodeShape ;
98
+ sh:property [ sh:class dmnc:DecisionTable ;
99
+ sh:maxCount 1 ;
100
+ sh:minCount 1 ;
101
+ sh:path dmnc:inTable ],
102
+ [ sh:datatype xsd:integer ;
103
+ sh:maxCount 1 ;
104
+ sh:minCount 1 ;
105
+ sh:path dmnc:ruleIndex ],
106
+ [ sh:datatype xsd:string ;
107
+ sh:maxCount 1 ;
108
+ sh:minCount 1 ;
109
+ sh:path dmnc:ruleKey ] ;
110
+ sh:targetClass dmnc:Rule .
111
+
core_worlds/private/artifacts/world_L03/gold/mappings.json ADDED
@@ -0,0 +1,245 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "entries": [
3
+ {
4
+ "concept": "CategoricalInput",
5
+ "field": "desiredDish",
6
+ "source": "camunda-dmn-examples@commit-6c7f4c4adb4b",
7
+ "term": "desiredDish"
8
+ },
9
+ {
10
+ "concept": "BooleanInput",
11
+ "field": "guestsWithChildren",
12
+ "source": "camunda-dmn-examples@commit-6c7f4c4adb4b",
13
+ "term": "guestsWithChildren"
14
+ },
15
+ {
16
+ "concept": "DecisionOutput",
17
+ "field": "beverages",
18
+ "source": "camunda-dmn-examples@commit-6c7f4c4adb4b",
19
+ "term": "beverages"
20
+ },
21
+ {
22
+ "concept": "CategoricalInput",
23
+ "field": "season",
24
+ "source": "camunda-dmn-examples@commit-6c7f4c4adb4b",
25
+ "term": "season"
26
+ },
27
+ {
28
+ "concept": "NumericInput",
29
+ "field": "guestCount",
30
+ "source": "camunda-dmn-examples@commit-6c7f4c4adb4b",
31
+ "term": "guestCount"
32
+ },
33
+ {
34
+ "concept": "CategoricalInput",
35
+ "field": "season",
36
+ "source": "camunda-dmn-examples@commit-ee4826e5e76c",
37
+ "term": "season"
38
+ },
39
+ {
40
+ "concept": "NumericInput",
41
+ "field": "guestCount",
42
+ "source": "camunda-dmn-examples@commit-ee4826e5e76c",
43
+ "term": "guestCount"
44
+ },
45
+ {
46
+ "concept": "DecisionOutput",
47
+ "field": "desiredDish",
48
+ "source": "camunda-dmn-examples@commit-ee4826e5e76c",
49
+ "term": "desiredDish"
50
+ },
51
+ {
52
+ "concept": "CategoricalInput",
53
+ "field": "dayType",
54
+ "source": "camunda-dmn-examples@commit-ee4826e5e76c",
55
+ "term": "dayType"
56
+ },
57
+ {
58
+ "concept": "NumericInput",
59
+ "field": "temperature",
60
+ "source": "camunda-dmn-examples@commit-ee4826e5e76c",
61
+ "term": "temperature"
62
+ },
63
+ {
64
+ "concept": "CategoricalInput",
65
+ "field": "status",
66
+ "source": "camunda-dmn-examples@commit-ee4826e5e76c",
67
+ "term": "status"
68
+ },
69
+ {
70
+ "concept": "NumericInput",
71
+ "field": "sum",
72
+ "source": "camunda-dmn-examples@commit-ee4826e5e76c",
73
+ "term": "sum"
74
+ },
75
+ {
76
+ "concept": "DecisionOutput",
77
+ "field": "result",
78
+ "source": "camunda-dmn-examples@commit-ee4826e5e76c",
79
+ "term": "result"
80
+ },
81
+ {
82
+ "concept": "DecisionOutput",
83
+ "field": "reason",
84
+ "source": "camunda-dmn-examples@commit-ee4826e5e76c",
85
+ "term": "reason"
86
+ },
87
+ {
88
+ "concept": "CategoricalInput",
89
+ "field": "name",
90
+ "source": "camunda-dmn-examples@commit-ee4826e5e76c",
91
+ "term": "name"
92
+ },
93
+ {
94
+ "concept": "DecisionOutput",
95
+ "field": "output",
96
+ "source": "camunda-dmn-examples@commit-ee4826e5e76c",
97
+ "term": "output"
98
+ },
99
+ {
100
+ "concept": "NumericInput",
101
+ "field": "score",
102
+ "source": "camunda-dmn-examples@commit-ee4826e5e76c",
103
+ "term": "score"
104
+ },
105
+ {
106
+ "concept": "CategoricalInput",
107
+ "field": "bb",
108
+ "source": "camunda-dmn-examples@commit-ee4826e5e76c",
109
+ "term": "bb"
110
+ },
111
+ {
112
+ "concept": "BooleanInput",
113
+ "field": "cc",
114
+ "source": "camunda-dmn-examples@commit-ee4826e5e76c",
115
+ "term": "cc"
116
+ },
117
+ {
118
+ "concept": "DecisionOutput",
119
+ "field": "aa",
120
+ "source": "camunda-dmn-examples@commit-ee4826e5e76c",
121
+ "term": "aa"
122
+ },
123
+ {
124
+ "concept": "NumericInput",
125
+ "field": "dd",
126
+ "source": "camunda-dmn-examples@commit-ee4826e5e76c",
127
+ "term": "dd"
128
+ },
129
+ {
130
+ "concept": "CategoricalInput",
131
+ "field": "pojoOne",
132
+ "source": "camunda-dmn-examples@commit-ee4826e5e76c",
133
+ "term": "pojoOne"
134
+ },
135
+ {
136
+ "concept": "DecisionOutput",
137
+ "field": "output_1",
138
+ "source": "camunda-dmn-examples@commit-ee4826e5e76c",
139
+ "term": "output_1"
140
+ },
141
+ {
142
+ "concept": "CategoricalInput",
143
+ "field": "stringInput",
144
+ "source": "camunda-dmn-examples@commit-ee4826e5e76c",
145
+ "term": "stringInput"
146
+ },
147
+ {
148
+ "concept": "CategoricalInput",
149
+ "field": "input",
150
+ "source": "camunda-dmn-examples@commit-ee4826e5e76c",
151
+ "term": "input"
152
+ },
153
+ {
154
+ "concept": "DecisionOutput",
155
+ "field": "result1",
156
+ "source": "camunda-dmn-examples@commit-ee4826e5e76c",
157
+ "term": "result1"
158
+ },
159
+ {
160
+ "concept": "DecisionOutput",
161
+ "field": "result2",
162
+ "source": "camunda-dmn-examples@commit-ee4826e5e76c",
163
+ "term": "result2"
164
+ },
165
+ {
166
+ "concept": "DecisionOutput",
167
+ "field": "desiredDish1",
168
+ "source": "camunda-dmn-examples@commit-ee4826e5e76c",
169
+ "term": "desiredDish1"
170
+ },
171
+ {
172
+ "concept": "DecisionOutput",
173
+ "field": "desiredDish2",
174
+ "source": "camunda-dmn-examples@commit-ee4826e5e76c",
175
+ "term": "desiredDish2"
176
+ },
177
+ {
178
+ "concept": "DecisionOutput",
179
+ "field": "desiredDish3",
180
+ "source": "camunda-dmn-examples@commit-ee4826e5e76c",
181
+ "term": "desiredDish3"
182
+ },
183
+ {
184
+ "concept": "NumericInput",
185
+ "field": "Age",
186
+ "source": "dmn-tck@commit-1e349176e5ae",
187
+ "term": "Age"
188
+ },
189
+ {
190
+ "concept": "CategoricalInput",
191
+ "field": "RiskCategory",
192
+ "source": "dmn-tck@commit-1e349176e5ae",
193
+ "term": "RiskCategory"
194
+ },
195
+ {
196
+ "concept": "BooleanInput",
197
+ "field": "isAffordable",
198
+ "source": "dmn-tck@commit-1e349176e5ae",
199
+ "term": "isAffordable"
200
+ },
201
+ {
202
+ "concept": "DecisionOutput",
203
+ "field": "_ad9c87b6-994e-4009-9118-7a2e861912e9",
204
+ "source": "dmn-tck@commit-1e349176e5ae",
205
+ "term": "_ad9c87b6-994e-4009-9118-7a2e861912e9"
206
+ },
207
+ {
208
+ "concept": "DecisionOutput",
209
+ "field": "_bffba7a1-f0a2-4679-b6e2-50e27bb27968",
210
+ "source": "dmn-tck@commit-1e349176e5ae",
211
+ "term": "_bffba7a1-f0a2-4679-b6e2-50e27bb27968"
212
+ },
213
+ {
214
+ "concept": "DecisionOutput",
215
+ "field": "Status",
216
+ "source": "dmn-tck@commit-1e349176e5ae",
217
+ "term": "Status"
218
+ },
219
+ {
220
+ "concept": "DecisionOutput",
221
+ "field": "Rate",
222
+ "source": "dmn-tck@commit-1e349176e5ae",
223
+ "term": "Rate"
224
+ },
225
+ {
226
+ "concept": "DecisionOutput",
227
+ "field": "_c8adc49f-998f-48b8-bd79-746d9c3d25b3",
228
+ "source": "dmn-tck@commit-1e349176e5ae",
229
+ "term": "_c8adc49f-998f-48b8-bd79-746d9c3d25b3"
230
+ },
231
+ {
232
+ "concept": "NumericInput",
233
+ "field": "NumOfYears",
234
+ "source": "dmn-tck@commit-1e349176e5ae",
235
+ "term": "NumOfYears"
236
+ },
237
+ {
238
+ "concept": "DecisionOutput",
239
+ "field": "output_1",
240
+ "source": "dmn-tck@commit-1e349176e5ae",
241
+ "term": "output_1"
242
+ }
243
+ ],
244
+ "schema": "mappings/1.0"
245
+ }
core_worlds/private/artifacts/world_L03/gold/ontology.ttl ADDED
@@ -0,0 +1,188 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ @prefix corr: <http://example.org/corr#> .
2
+ @prefix dmnc: <http://example.org/dmn-decisions-core#> .
3
+ @prefix owl: <http://www.w3.org/2002/07/owl#> .
4
+ @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
5
+ @prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
6
+
7
+ dmnc:Ontology a owl:Ontology ;
8
+ rdfs:label "DMN decision-table gold ontology" ;
9
+ rdfs:comment "RULE layer only: DMN decision-table semantics (classes, typed relations, hit-policy/aggregation enums) derived from the frozen spec vocabulary (pilot_worlds/world_L03_scaleup/spec/dmn_decisions.json). Instance facts live in the slice projection; task labels are never part of this artifact." ;
10
+ owl:versionInfo "dmn_decisions/1.0.0" .
11
+
12
+ dmnc:aggregation a owl:DatatypeProperty ;
13
+ rdfs:comment "Relation 'aggregation' of the spec vocabulary." ;
14
+ rdfs:domain dmnc:DecisionTable ;
15
+ rdfs:range xsd:string .
16
+
17
+ dmnc:bindsType a owl:DatatypeProperty ;
18
+ rdfs:comment "Relation 'bindsType' of the spec vocabulary." ;
19
+ rdfs:domain dmnc:Binding ;
20
+ rdfs:range xsd:string .
21
+
22
+ dmnc:bindsValue a owl:DatatypeProperty ;
23
+ rdfs:comment "The bound value rendered as text; bindsType carries the value's JSON type." ;
24
+ rdfs:domain dmnc:Binding ;
25
+ rdfs:range xsd:string .
26
+
27
+ dmnc:bindsVariable a owl:DatatypeProperty ;
28
+ rdfs:comment "Relation 'bindsVariable' of the spec vocabulary." ;
29
+ rdfs:domain dmnc:Binding ;
30
+ rdfs:range xsd:string .
31
+
32
+ dmnc:caseId a owl:DatatypeProperty ;
33
+ rdfs:comment "Relation 'caseId' of the spec vocabulary." ;
34
+ rdfs:domain dmnc:EvaluationCase ;
35
+ rdfs:range xsd:string .
36
+
37
+ dmnc:clauseIndex a owl:DatatypeProperty ;
38
+ rdfs:comment "Relation 'clauseIndex' of the spec vocabulary." ;
39
+ rdfs:domain dmnc:Clause ;
40
+ rdfs:range xsd:integer .
41
+
42
+ dmnc:clauseOf a owl:ObjectProperty ;
43
+ rdfs:comment "Backlink from a clause to its owning table." ;
44
+ rdfs:domain dmnc:Clause ;
45
+ rdfs:range dmnc:DecisionTable .
46
+
47
+ dmnc:decisionId a owl:DatatypeProperty ;
48
+ rdfs:comment "Relation 'decisionId' of the spec vocabulary." ;
49
+ rdfs:domain dmnc:DecisionTable ;
50
+ rdfs:range xsd:string .
51
+
52
+ dmnc:decisionName a owl:DatatypeProperty ;
53
+ rdfs:comment "Relation 'decisionName' of the spec vocabulary." ;
54
+ rdfs:domain dmnc:DecisionTable ;
55
+ rdfs:range xsd:string .
56
+
57
+ dmnc:evaluatesDecision a owl:ObjectProperty ;
58
+ rdfs:comment "The decision table an evaluation episode targets." ;
59
+ rdfs:domain dmnc:EvaluationCase ;
60
+ rdfs:range dmnc:DecisionTable .
61
+
62
+ dmnc:hasBinding a owl:ObjectProperty ;
63
+ rdfs:comment "One variable binding of an evaluation episode." ;
64
+ rdfs:domain dmnc:EvaluationCase ;
65
+ rdfs:range dmnc:Binding .
66
+
67
+ dmnc:hasInputClause a owl:ObjectProperty ;
68
+ rdfs:comment "An input clause of the table." ;
69
+ rdfs:domain dmnc:DecisionTable ;
70
+ rdfs:range dmnc:InputClause .
71
+
72
+ dmnc:hasOutputClause a owl:ObjectProperty ;
73
+ rdfs:comment "An output clause of the table." ;
74
+ rdfs:domain dmnc:DecisionTable ;
75
+ rdfs:range dmnc:OutputClause .
76
+
77
+ dmnc:hasRule a owl:ObjectProperty ;
78
+ rdfs:comment "A rule row belonging to a decision table." ;
79
+ rdfs:domain dmnc:DecisionTable ;
80
+ rdfs:range dmnc:Rule .
81
+
82
+ dmnc:hitPolicy a owl:DatatypeProperty ;
83
+ rdfs:comment "Relation 'hitPolicy' of the spec vocabulary." ;
84
+ rdfs:domain dmnc:DecisionTable ;
85
+ rdfs:range xsd:string .
86
+
87
+ dmnc:inTable a owl:ObjectProperty ;
88
+ rdfs:comment "Backlink from a rule to its owning table." ;
89
+ rdfs:domain dmnc:Rule ;
90
+ rdfs:range dmnc:DecisionTable .
91
+
92
+ dmnc:inputEntriesJson a owl:DatatypeProperty ;
93
+ rdfs:comment "The rule's FEEL unary-test input entries as a JSON array literal (the data of record stays the slice JSONL; the projection is a faithful structural mirror)." ;
94
+ rdfs:domain dmnc:Rule ;
95
+ rdfs:range xsd:string .
96
+
97
+ dmnc:inputExpression a owl:DatatypeProperty ;
98
+ rdfs:comment "Relation 'inputExpression' of the spec vocabulary." ;
99
+ rdfs:domain dmnc:InputClause ;
100
+ rdfs:range xsd:string .
101
+
102
+ dmnc:outputEntriesJson a owl:DatatypeProperty ;
103
+ rdfs:comment "Relation 'outputEntriesJson' of the spec vocabulary." ;
104
+ rdfs:domain dmnc:Rule ;
105
+ rdfs:range xsd:string .
106
+
107
+ dmnc:outputName a owl:DatatypeProperty ;
108
+ rdfs:comment "Relation 'outputName' of the spec vocabulary." ;
109
+ rdfs:domain dmnc:OutputClause ;
110
+ rdfs:range xsd:string .
111
+
112
+ dmnc:requiresDecision a owl:ObjectProperty ;
113
+ rdfs:comment "DRG information requirement: the subject table's decision requires the object table's decision (evaluated first, bound under the producer's first output name)." ;
114
+ rdfs:domain dmnc:DecisionTable ;
115
+ rdfs:range dmnc:DecisionTable ;
116
+ owl:inverseOf dmnc:requiredBy .
117
+
118
+ dmnc:ruleIndex a owl:DatatypeProperty ;
119
+ rdfs:comment "Relation 'ruleIndex' of the spec vocabulary." ;
120
+ rdfs:domain dmnc:Rule ;
121
+ rdfs:range xsd:integer .
122
+
123
+ dmnc:ruleKey a owl:DatatypeProperty ;
124
+ rdfs:comment "Relation 'ruleKey' of the spec vocabulary." ;
125
+ rdfs:domain dmnc:Rule ;
126
+ rdfs:range xsd:string .
127
+
128
+ dmnc:srcCaseVariable corr:mapsTo dmnc:Binding ;
129
+ rdfs:comment "Source field 'dmn_case.bindings[].variable' lifts to concept dmnc:Binding." .
130
+
131
+ dmnc:srcHitPolicy corr:mapsTo dmnc:DecisionTable ;
132
+ rdfs:comment "Source field 'dmn_table.hit_policy' lifts to concept dmnc:DecisionTable." .
133
+
134
+ dmnc:srcInputExpression corr:mapsTo dmnc:InputClause ;
135
+ rdfs:comment "Source field 'dmn_table.inputs[].expression' lifts to concept dmnc:InputClause." .
136
+
137
+ dmnc:typeRef a owl:DatatypeProperty ;
138
+ rdfs:comment "Relation 'typeRef' of the spec vocabulary." ;
139
+ rdfs:domain dmnc:Clause ;
140
+ rdfs:range xsd:string .
141
+
142
+ dmnc:requiredBy a owl:ObjectProperty ;
143
+ rdfs:comment "Inverse of requiresDecision." ;
144
+ rdfs:domain dmnc:DecisionTable ;
145
+ rdfs:range dmnc:DecisionTable .
146
+
147
+ dmnc:OutputClause a owl:Class ;
148
+ rdfs:label "OutputClause" ;
149
+ rdfs:comment "rdfs:subClassOf Clause. A typed output column: outputName + typeRef." ;
150
+ rdfs:subClassOf dmnc:Clause .
151
+
152
+ dmnc:InputClause a owl:Class ;
153
+ rdfs:label "InputClause" ;
154
+ rdfs:comment "rdfs:subClassOf Clause. A typed input column: inputExpression (bound variable) + typeRef." ;
155
+ rdfs:subClassOf dmnc:Clause .
156
+
157
+ dmnc:Binding a owl:Class ;
158
+ rdfs:label "Binding" ;
159
+ rdfs:comment "rdfs:subClassOf DMNElement. One variable->value binding of an EvaluationCase." ;
160
+ rdfs:subClassOf dmnc:DMNElement .
161
+
162
+ dmnc:Clause a owl:Class ;
163
+ rdfs:label "Clause" ;
164
+ rdfs:comment "rdfs:subClassOf DMNElement. Base class of input and output clauses." ;
165
+ rdfs:subClassOf dmnc:DMNElement .
166
+
167
+ dmnc:DMNElement a owl:Class ;
168
+ rdfs:label "DMNElement" ;
169
+ rdfs:comment "Base class of every DMN model element in the world (superclass-only; no direct instances)." .
170
+
171
+ dmnc:EvaluationCase a owl:Class ;
172
+ rdfs:label "EvaluationCase" ;
173
+ rdfs:comment "rdfs:subClassOf DMNElement. One evaluation episode: an input assignment evaluated against one decision table." ;
174
+ rdfs:subClassOf dmnc:DMNElement .
175
+
176
+ dmnc:Rule a owl:Class ;
177
+ rdfs:label "Rule" ;
178
+ rdfs:comment "rdfs:subClassOf DMNElement. One rule row of a decision table (input entries + output entries), keyed by ruleKey." ;
179
+ rdfs:subClassOf dmnc:DMNElement ;
180
+ owl:disjointWith dmnc:DecisionTable,
181
+ dmnc:EvaluationCase .
182
+
183
+ dmnc:DecisionTable a owl:Class ;
184
+ rdfs:label "DecisionTable" ;
185
+ rdfs:comment "rdfs:subClassOf DMNElement. One DMN decision table: hit policy, optional aggregation, typed input/output clauses, ordered rules." ;
186
+ rdfs:subClassOf dmnc:DMNElement ;
187
+ owl:disjointWith dmnc:EvaluationCase .
188
+
core_worlds/private/artifacts/world_L03/gold/shapes.ttl ADDED
@@ -0,0 +1,111 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ @prefix dmnc: <http://example.org/dmn-decisions-core#> .
2
+ @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
3
+ @prefix sh: <http://www.w3.org/ns/shacl#> .
4
+ @prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
5
+
6
+ dmnc:BindingShape a sh:NodeShape ;
7
+ sh:property [ sh:datatype xsd:string ;
8
+ sh:maxCount 1 ;
9
+ sh:minCount 1 ;
10
+ sh:path dmnc:bindsValue ],
11
+ [ sh:datatype xsd:string ;
12
+ sh:maxCount 1 ;
13
+ sh:minCount 1 ;
14
+ sh:path dmnc:bindsVariable ],
15
+ [ sh:datatype xsd:string ;
16
+ sh:in ( "string" "integer" "number" "boolean" ) ;
17
+ sh:maxCount 1 ;
18
+ sh:minCount 1 ;
19
+ sh:path dmnc:bindsType ] ;
20
+ sh:targetClass dmnc:Binding .
21
+
22
+ dmnc:DecisionTableShape a sh:NodeShape ;
23
+ sh:property [ sh:class dmnc:DecisionTable ;
24
+ sh:path dmnc:requiresDecision ],
25
+ [ sh:class dmnc:OutputClause ;
26
+ sh:minCount 1 ;
27
+ sh:path dmnc:hasOutputClause ],
28
+ [ sh:class dmnc:Rule ;
29
+ sh:minCount 1 ;
30
+ sh:path dmnc:hasRule ],
31
+ [ sh:datatype xsd:string ;
32
+ sh:maxCount 1 ;
33
+ sh:minCount 1 ;
34
+ sh:path dmnc:decisionName ],
35
+ [ sh:datatype xsd:string ;
36
+ sh:in ( "UNIQUE" "FIRST" "ANY" "PRIORITY" "RULE ORDER" "OUTPUT ORDER" "COLLECT" ) ;
37
+ sh:maxCount 1 ;
38
+ sh:minCount 1 ;
39
+ sh:path dmnc:hitPolicy ],
40
+ [ sh:datatype xsd:string ;
41
+ sh:maxCount 1 ;
42
+ sh:minCount 1 ;
43
+ sh:path dmnc:decisionId ],
44
+ [ sh:datatype xsd:string ;
45
+ sh:in ( "SUM" "MIN" "MAX" "COUNT" ) ;
46
+ sh:maxCount 1 ;
47
+ sh:path dmnc:aggregation ] ;
48
+ sh:targetClass dmnc:DecisionTable .
49
+
50
+ dmnc:EvaluationCaseShape a sh:NodeShape ;
51
+ sh:property [ sh:class dmnc:Binding ;
52
+ sh:minCount 1 ;
53
+ sh:path dmnc:hasBinding ],
54
+ [ sh:class dmnc:DecisionTable ;
55
+ sh:maxCount 1 ;
56
+ sh:minCount 1 ;
57
+ sh:path dmnc:evaluatesDecision ],
58
+ [ sh:datatype xsd:string ;
59
+ sh:maxCount 1 ;
60
+ sh:minCount 1 ;
61
+ sh:path dmnc:caseId ] ;
62
+ sh:targetClass dmnc:EvaluationCase .
63
+
64
+ dmnc:InputClauseShape a sh:NodeShape ;
65
+ sh:property [ sh:class dmnc:DecisionTable ;
66
+ sh:maxCount 1 ;
67
+ sh:minCount 1 ;
68
+ sh:path dmnc:clauseOf ],
69
+ [ sh:datatype xsd:string ;
70
+ sh:maxCount 1 ;
71
+ sh:minCount 1 ;
72
+ sh:path dmnc:inputExpression ;
73
+ sh:pattern "^[A-Za-z_][A-Za-z0-9_.]*$" ],
74
+ [ sh:datatype xsd:string ;
75
+ sh:in ( "string" "integer" "long" "double" "boolean" "number" ) ;
76
+ sh:maxCount 1 ;
77
+ sh:minCount 1 ;
78
+ sh:path dmnc:typeRef ] ;
79
+ sh:targetClass dmnc:InputClause .
80
+
81
+ dmnc:OutputClauseShape a sh:NodeShape ;
82
+ sh:property [ sh:class dmnc:DecisionTable ;
83
+ sh:maxCount 1 ;
84
+ sh:minCount 1 ;
85
+ sh:path dmnc:clauseOf ],
86
+ [ sh:datatype xsd:string ;
87
+ sh:maxCount 1 ;
88
+ sh:minCount 1 ;
89
+ sh:path dmnc:outputName ],
90
+ [ sh:datatype xsd:string ;
91
+ sh:in ( "string" "integer" "long" "double" "boolean" "number" ) ;
92
+ sh:maxCount 1 ;
93
+ sh:minCount 1 ;
94
+ sh:path dmnc:typeRef ] ;
95
+ sh:targetClass dmnc:OutputClause .
96
+
97
+ dmnc:RuleShape a sh:NodeShape ;
98
+ sh:property [ sh:class dmnc:DecisionTable ;
99
+ sh:maxCount 1 ;
100
+ sh:minCount 1 ;
101
+ sh:path dmnc:inTable ],
102
+ [ sh:datatype xsd:integer ;
103
+ sh:maxCount 1 ;
104
+ sh:minCount 1 ;
105
+ sh:path dmnc:ruleIndex ],
106
+ [ sh:datatype xsd:string ;
107
+ sh:maxCount 1 ;
108
+ sh:minCount 1 ;
109
+ sh:path dmnc:ruleKey ] ;
110
+ sh:targetClass dmnc:Rule .
111
+
core_worlds/private/artifacts/world_L03/repaired/mappings.json ADDED
@@ -0,0 +1,245 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "entries": [
3
+ {
4
+ "concept": "CategoricalInput",
5
+ "field": "desiredDish",
6
+ "source": "camunda-dmn-examples@commit-6c7f4c4adb4b",
7
+ "term": "desiredDish"
8
+ },
9
+ {
10
+ "concept": "BooleanInput",
11
+ "field": "guestsWithChildren",
12
+ "source": "camunda-dmn-examples@commit-6c7f4c4adb4b",
13
+ "term": "guestsWithChildren"
14
+ },
15
+ {
16
+ "concept": "DecisionOutput",
17
+ "field": "beverages",
18
+ "source": "camunda-dmn-examples@commit-6c7f4c4adb4b",
19
+ "term": "beverages"
20
+ },
21
+ {
22
+ "concept": "CategoricalInput",
23
+ "field": "season",
24
+ "source": "camunda-dmn-examples@commit-6c7f4c4adb4b",
25
+ "term": "season"
26
+ },
27
+ {
28
+ "concept": "NumericInput",
29
+ "field": "guestCount",
30
+ "source": "camunda-dmn-examples@commit-6c7f4c4adb4b",
31
+ "term": "guestCount"
32
+ },
33
+ {
34
+ "concept": "CategoricalInput",
35
+ "field": "season",
36
+ "source": "camunda-dmn-examples@commit-ee4826e5e76c",
37
+ "term": "season"
38
+ },
39
+ {
40
+ "concept": "NumericInput",
41
+ "field": "guestCount",
42
+ "source": "camunda-dmn-examples@commit-ee4826e5e76c",
43
+ "term": "guestCount"
44
+ },
45
+ {
46
+ "concept": "DecisionOutput",
47
+ "field": "desiredDish",
48
+ "source": "camunda-dmn-examples@commit-ee4826e5e76c",
49
+ "term": "desiredDish"
50
+ },
51
+ {
52
+ "concept": "CategoricalInput",
53
+ "field": "dayType",
54
+ "source": "camunda-dmn-examples@commit-ee4826e5e76c",
55
+ "term": "dayType"
56
+ },
57
+ {
58
+ "concept": "NumericInput",
59
+ "field": "temperature",
60
+ "source": "camunda-dmn-examples@commit-ee4826e5e76c",
61
+ "term": "temperature"
62
+ },
63
+ {
64
+ "concept": "CategoricalInput",
65
+ "field": "status",
66
+ "source": "camunda-dmn-examples@commit-ee4826e5e76c",
67
+ "term": "status"
68
+ },
69
+ {
70
+ "concept": "NumericInput",
71
+ "field": "sum",
72
+ "source": "camunda-dmn-examples@commit-ee4826e5e76c",
73
+ "term": "sum"
74
+ },
75
+ {
76
+ "concept": "DecisionOutput",
77
+ "field": "result",
78
+ "source": "camunda-dmn-examples@commit-ee4826e5e76c",
79
+ "term": "result"
80
+ },
81
+ {
82
+ "concept": "DecisionOutput",
83
+ "field": "reason",
84
+ "source": "camunda-dmn-examples@commit-ee4826e5e76c",
85
+ "term": "reason"
86
+ },
87
+ {
88
+ "concept": "CategoricalInput",
89
+ "field": "name",
90
+ "source": "camunda-dmn-examples@commit-ee4826e5e76c",
91
+ "term": "name"
92
+ },
93
+ {
94
+ "concept": "DecisionOutput",
95
+ "field": "output",
96
+ "source": "camunda-dmn-examples@commit-ee4826e5e76c",
97
+ "term": "output"
98
+ },
99
+ {
100
+ "concept": "NumericInput",
101
+ "field": "score",
102
+ "source": "camunda-dmn-examples@commit-ee4826e5e76c",
103
+ "term": "score"
104
+ },
105
+ {
106
+ "concept": "CategoricalInput",
107
+ "field": "bb",
108
+ "source": "camunda-dmn-examples@commit-ee4826e5e76c",
109
+ "term": "bb"
110
+ },
111
+ {
112
+ "concept": "BooleanInput",
113
+ "field": "cc",
114
+ "source": "camunda-dmn-examples@commit-ee4826e5e76c",
115
+ "term": "cc"
116
+ },
117
+ {
118
+ "concept": "DecisionOutput",
119
+ "field": "aa",
120
+ "source": "camunda-dmn-examples@commit-ee4826e5e76c",
121
+ "term": "aa"
122
+ },
123
+ {
124
+ "concept": "NumericInput",
125
+ "field": "dd",
126
+ "source": "camunda-dmn-examples@commit-ee4826e5e76c",
127
+ "term": "dd"
128
+ },
129
+ {
130
+ "concept": "CategoricalInput",
131
+ "field": "pojoOne",
132
+ "source": "camunda-dmn-examples@commit-ee4826e5e76c",
133
+ "term": "pojoOne"
134
+ },
135
+ {
136
+ "concept": "DecisionOutput",
137
+ "field": "output_1",
138
+ "source": "camunda-dmn-examples@commit-ee4826e5e76c",
139
+ "term": "output_1"
140
+ },
141
+ {
142
+ "concept": "CategoricalInput",
143
+ "field": "stringInput",
144
+ "source": "camunda-dmn-examples@commit-ee4826e5e76c",
145
+ "term": "stringInput"
146
+ },
147
+ {
148
+ "concept": "CategoricalInput",
149
+ "field": "input",
150
+ "source": "camunda-dmn-examples@commit-ee4826e5e76c",
151
+ "term": "input"
152
+ },
153
+ {
154
+ "concept": "DecisionOutput",
155
+ "field": "result1",
156
+ "source": "camunda-dmn-examples@commit-ee4826e5e76c",
157
+ "term": "result1"
158
+ },
159
+ {
160
+ "concept": "DecisionOutput",
161
+ "field": "result2",
162
+ "source": "camunda-dmn-examples@commit-ee4826e5e76c",
163
+ "term": "result2"
164
+ },
165
+ {
166
+ "concept": "DecisionOutput",
167
+ "field": "desiredDish1",
168
+ "source": "camunda-dmn-examples@commit-ee4826e5e76c",
169
+ "term": "desiredDish1"
170
+ },
171
+ {
172
+ "concept": "DecisionOutput",
173
+ "field": "desiredDish2",
174
+ "source": "camunda-dmn-examples@commit-ee4826e5e76c",
175
+ "term": "desiredDish2"
176
+ },
177
+ {
178
+ "concept": "DecisionOutput",
179
+ "field": "desiredDish3",
180
+ "source": "camunda-dmn-examples@commit-ee4826e5e76c",
181
+ "term": "desiredDish3"
182
+ },
183
+ {
184
+ "concept": "NumericInput",
185
+ "field": "Age",
186
+ "source": "dmn-tck@commit-1e349176e5ae",
187
+ "term": "Age"
188
+ },
189
+ {
190
+ "concept": "CategoricalInput",
191
+ "field": "RiskCategory",
192
+ "source": "dmn-tck@commit-1e349176e5ae",
193
+ "term": "RiskCategory"
194
+ },
195
+ {
196
+ "concept": "BooleanInput",
197
+ "field": "isAffordable",
198
+ "source": "dmn-tck@commit-1e349176e5ae",
199
+ "term": "isAffordable"
200
+ },
201
+ {
202
+ "concept": "DecisionOutput",
203
+ "field": "_ad9c87b6-994e-4009-9118-7a2e861912e9",
204
+ "source": "dmn-tck@commit-1e349176e5ae",
205
+ "term": "_ad9c87b6-994e-4009-9118-7a2e861912e9"
206
+ },
207
+ {
208
+ "concept": "DecisionOutput",
209
+ "field": "_bffba7a1-f0a2-4679-b6e2-50e27bb27968",
210
+ "source": "dmn-tck@commit-1e349176e5ae",
211
+ "term": "_bffba7a1-f0a2-4679-b6e2-50e27bb27968"
212
+ },
213
+ {
214
+ "concept": "DecisionOutput",
215
+ "field": "Status",
216
+ "source": "dmn-tck@commit-1e349176e5ae",
217
+ "term": "Status"
218
+ },
219
+ {
220
+ "concept": "DecisionOutput",
221
+ "field": "Rate",
222
+ "source": "dmn-tck@commit-1e349176e5ae",
223
+ "term": "Rate"
224
+ },
225
+ {
226
+ "concept": "DecisionOutput",
227
+ "field": "_c8adc49f-998f-48b8-bd79-746d9c3d25b3",
228
+ "source": "dmn-tck@commit-1e349176e5ae",
229
+ "term": "_c8adc49f-998f-48b8-bd79-746d9c3d25b3"
230
+ },
231
+ {
232
+ "concept": "NumericInput",
233
+ "field": "NumOfYears",
234
+ "source": "dmn-tck@commit-1e349176e5ae",
235
+ "term": "NumOfYears"
236
+ },
237
+ {
238
+ "concept": "DecisionOutput",
239
+ "field": "output_1",
240
+ "source": "dmn-tck@commit-1e349176e5ae",
241
+ "term": "output_1"
242
+ }
243
+ ],
244
+ "schema": "mappings/1.0"
245
+ }
core_worlds/private/artifacts/world_L03/repaired/ontology.ttl ADDED
@@ -0,0 +1,188 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ @prefix corr: <http://example.org/corr#> .
2
+ @prefix dmnc: <http://example.org/dmn-decisions-core#> .
3
+ @prefix owl: <http://www.w3.org/2002/07/owl#> .
4
+ @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
5
+ @prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
6
+
7
+ dmnc:Ontology a owl:Ontology ;
8
+ rdfs:label "DMN decision-table gold ontology" ;
9
+ rdfs:comment "RULE layer only: DMN decision-table semantics (classes, typed relations, hit-policy/aggregation enums) derived from the frozen spec vocabulary (pilot_worlds/world_L03_scaleup/spec/dmn_decisions.json). Instance facts live in the slice projection; task labels are never part of this artifact." ;
10
+ owl:versionInfo "dmn_decisions/1.0.0" .
11
+
12
+ dmnc:aggregation a owl:DatatypeProperty ;
13
+ rdfs:comment "Relation 'aggregation' of the spec vocabulary." ;
14
+ rdfs:domain dmnc:DecisionTable ;
15
+ rdfs:range xsd:string .
16
+
17
+ dmnc:bindsType a owl:DatatypeProperty ;
18
+ rdfs:comment "Relation 'bindsType' of the spec vocabulary." ;
19
+ rdfs:domain dmnc:Binding ;
20
+ rdfs:range xsd:string .
21
+
22
+ dmnc:bindsValue a owl:DatatypeProperty ;
23
+ rdfs:comment "The bound value rendered as text; bindsType carries the value's JSON type." ;
24
+ rdfs:domain dmnc:Binding ;
25
+ rdfs:range xsd:string .
26
+
27
+ dmnc:bindsVariable a owl:DatatypeProperty ;
28
+ rdfs:comment "Relation 'bindsVariable' of the spec vocabulary." ;
29
+ rdfs:domain dmnc:Binding ;
30
+ rdfs:range xsd:string .
31
+
32
+ dmnc:caseId a owl:DatatypeProperty ;
33
+ rdfs:comment "Relation 'caseId' of the spec vocabulary." ;
34
+ rdfs:domain dmnc:EvaluationCase ;
35
+ rdfs:range xsd:string .
36
+
37
+ dmnc:clauseIndex a owl:DatatypeProperty ;
38
+ rdfs:comment "Relation 'clauseIndex' of the spec vocabulary." ;
39
+ rdfs:domain dmnc:Clause ;
40
+ rdfs:range xsd:integer .
41
+
42
+ dmnc:clauseOf a owl:ObjectProperty ;
43
+ rdfs:comment "Backlink from a clause to its owning table." ;
44
+ rdfs:domain dmnc:Clause ;
45
+ rdfs:range dmnc:DecisionTable .
46
+
47
+ dmnc:decisionId a owl:DatatypeProperty ;
48
+ rdfs:comment "Relation 'decisionId' of the spec vocabulary." ;
49
+ rdfs:domain dmnc:DecisionTable ;
50
+ rdfs:range xsd:string .
51
+
52
+ dmnc:decisionName a owl:DatatypeProperty ;
53
+ rdfs:comment "Relation 'decisionName' of the spec vocabulary." ;
54
+ rdfs:domain dmnc:DecisionTable ;
55
+ rdfs:range xsd:string .
56
+
57
+ dmnc:evaluatesDecision a owl:ObjectProperty ;
58
+ rdfs:comment "The decision table an evaluation episode targets." ;
59
+ rdfs:domain dmnc:EvaluationCase ;
60
+ rdfs:range dmnc:DecisionTable .
61
+
62
+ dmnc:hasBinding a owl:ObjectProperty ;
63
+ rdfs:comment "One variable binding of an evaluation episode." ;
64
+ rdfs:domain dmnc:EvaluationCase ;
65
+ rdfs:range dmnc:Binding .
66
+
67
+ dmnc:hasInputClause a owl:ObjectProperty ;
68
+ rdfs:comment "An input clause of the table." ;
69
+ rdfs:domain dmnc:DecisionTable ;
70
+ rdfs:range dmnc:InputClause .
71
+
72
+ dmnc:hasOutputClause a owl:ObjectProperty ;
73
+ rdfs:comment "An output clause of the table." ;
74
+ rdfs:domain dmnc:DecisionTable ;
75
+ rdfs:range dmnc:OutputClause .
76
+
77
+ dmnc:hasRule a owl:ObjectProperty ;
78
+ rdfs:comment "A rule row belonging to a decision table." ;
79
+ rdfs:domain dmnc:DecisionTable ;
80
+ rdfs:range dmnc:Rule .
81
+
82
+ dmnc:hitPolicy a owl:DatatypeProperty ;
83
+ rdfs:comment "Relation 'hitPolicy' of the spec vocabulary." ;
84
+ rdfs:domain dmnc:DecisionTable ;
85
+ rdfs:range xsd:string .
86
+
87
+ dmnc:inTable a owl:ObjectProperty ;
88
+ rdfs:comment "Backlink from a rule to its owning table." ;
89
+ rdfs:domain dmnc:Rule ;
90
+ rdfs:range dmnc:DecisionTable .
91
+
92
+ dmnc:inputEntriesJson a owl:DatatypeProperty ;
93
+ rdfs:comment "The rule's FEEL unary-test input entries as a JSON array literal (the data of record stays the slice JSONL; the projection is a faithful structural mirror)." ;
94
+ rdfs:domain dmnc:Rule ;
95
+ rdfs:range xsd:string .
96
+
97
+ dmnc:inputExpression a owl:DatatypeProperty ;
98
+ rdfs:comment "Relation 'inputExpression' of the spec vocabulary." ;
99
+ rdfs:domain dmnc:InputClause ;
100
+ rdfs:range xsd:string .
101
+
102
+ dmnc:outputEntriesJson a owl:DatatypeProperty ;
103
+ rdfs:comment "Relation 'outputEntriesJson' of the spec vocabulary." ;
104
+ rdfs:domain dmnc:Rule ;
105
+ rdfs:range xsd:string .
106
+
107
+ dmnc:outputName a owl:DatatypeProperty ;
108
+ rdfs:comment "Relation 'outputName' of the spec vocabulary." ;
109
+ rdfs:domain dmnc:OutputClause ;
110
+ rdfs:range xsd:string .
111
+
112
+ dmnc:requiresDecision a owl:ObjectProperty ;
113
+ rdfs:comment "DRG information requirement: the subject table's decision requires the object table's decision (evaluated first, bound under the producer's first output name)." ;
114
+ rdfs:domain dmnc:DecisionTable ;
115
+ rdfs:range dmnc:DecisionTable ;
116
+ owl:inverseOf dmnc:requiredBy .
117
+
118
+ dmnc:ruleIndex a owl:DatatypeProperty ;
119
+ rdfs:comment "Relation 'ruleIndex' of the spec vocabulary." ;
120
+ rdfs:domain dmnc:Rule ;
121
+ rdfs:range xsd:integer .
122
+
123
+ dmnc:ruleKey a owl:DatatypeProperty ;
124
+ rdfs:comment "Relation 'ruleKey' of the spec vocabulary." ;
125
+ rdfs:domain dmnc:Rule ;
126
+ rdfs:range xsd:string .
127
+
128
+ dmnc:srcCaseVariable corr:mapsTo dmnc:Binding ;
129
+ rdfs:comment "Source field 'dmn_case.bindings[].variable' lifts to concept dmnc:Binding." .
130
+
131
+ dmnc:srcHitPolicy corr:mapsTo dmnc:DecisionTable ;
132
+ rdfs:comment "Source field 'dmn_table.hit_policy' lifts to concept dmnc:DecisionTable." .
133
+
134
+ dmnc:srcInputExpression corr:mapsTo dmnc:InputClause ;
135
+ rdfs:comment "Source field 'dmn_table.inputs[].expression' lifts to concept dmnc:InputClause." .
136
+
137
+ dmnc:typeRef a owl:DatatypeProperty ;
138
+ rdfs:comment "Relation 'typeRef' of the spec vocabulary." ;
139
+ rdfs:domain dmnc:Clause ;
140
+ rdfs:range xsd:string .
141
+
142
+ dmnc:requiredBy a owl:ObjectProperty ;
143
+ rdfs:comment "Inverse of requiresDecision." ;
144
+ rdfs:domain dmnc:DecisionTable ;
145
+ rdfs:range dmnc:DecisionTable .
146
+
147
+ dmnc:OutputClause a owl:Class ;
148
+ rdfs:label "OutputClause" ;
149
+ rdfs:comment "rdfs:subClassOf Clause. A typed output column: outputName + typeRef." ;
150
+ rdfs:subClassOf dmnc:Clause .
151
+
152
+ dmnc:InputClause a owl:Class ;
153
+ rdfs:label "InputClause" ;
154
+ rdfs:comment "rdfs:subClassOf Clause. A typed input column: inputExpression (bound variable) + typeRef." ;
155
+ rdfs:subClassOf dmnc:Clause .
156
+
157
+ dmnc:Binding a owl:Class ;
158
+ rdfs:label "Binding" ;
159
+ rdfs:comment "rdfs:subClassOf DMNElement. One variable->value binding of an EvaluationCase." ;
160
+ rdfs:subClassOf dmnc:DMNElement .
161
+
162
+ dmnc:Clause a owl:Class ;
163
+ rdfs:label "Clause" ;
164
+ rdfs:comment "rdfs:subClassOf DMNElement. Base class of input and output clauses." ;
165
+ rdfs:subClassOf dmnc:DMNElement .
166
+
167
+ dmnc:DMNElement a owl:Class ;
168
+ rdfs:label "DMNElement" ;
169
+ rdfs:comment "Base class of every DMN model element in the world (superclass-only; no direct instances)." .
170
+
171
+ dmnc:EvaluationCase a owl:Class ;
172
+ rdfs:label "EvaluationCase" ;
173
+ rdfs:comment "rdfs:subClassOf DMNElement. One evaluation episode: an input assignment evaluated against one decision table." ;
174
+ rdfs:subClassOf dmnc:DMNElement .
175
+
176
+ dmnc:Rule a owl:Class ;
177
+ rdfs:label "Rule" ;
178
+ rdfs:comment "rdfs:subClassOf DMNElement. One rule row of a decision table (input entries + output entries), keyed by ruleKey." ;
179
+ rdfs:subClassOf dmnc:DMNElement ;
180
+ owl:disjointWith dmnc:DecisionTable,
181
+ dmnc:EvaluationCase .
182
+
183
+ dmnc:DecisionTable a owl:Class ;
184
+ rdfs:label "DecisionTable" ;
185
+ rdfs:comment "rdfs:subClassOf DMNElement. One DMN decision table: hit policy, optional aggregation, typed input/output clauses, ordered rules." ;
186
+ rdfs:subClassOf dmnc:DMNElement ;
187
+ owl:disjointWith dmnc:EvaluationCase .
188
+
core_worlds/private/artifacts/world_L03/repaired/shapes.ttl ADDED
@@ -0,0 +1,111 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ @prefix dmnc: <http://example.org/dmn-decisions-core#> .
2
+ @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
3
+ @prefix sh: <http://www.w3.org/ns/shacl#> .
4
+ @prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
5
+
6
+ dmnc:BindingShape a sh:NodeShape ;
7
+ sh:property [ sh:datatype xsd:string ;
8
+ sh:maxCount 1 ;
9
+ sh:minCount 1 ;
10
+ sh:path dmnc:bindsValue ],
11
+ [ sh:datatype xsd:string ;
12
+ sh:maxCount 1 ;
13
+ sh:minCount 1 ;
14
+ sh:path dmnc:bindsVariable ],
15
+ [ sh:datatype xsd:string ;
16
+ sh:in ( "string" "integer" "number" "boolean" ) ;
17
+ sh:maxCount 1 ;
18
+ sh:minCount 1 ;
19
+ sh:path dmnc:bindsType ] ;
20
+ sh:targetClass dmnc:Binding .
21
+
22
+ dmnc:DecisionTableShape a sh:NodeShape ;
23
+ sh:property [ sh:class dmnc:DecisionTable ;
24
+ sh:path dmnc:requiresDecision ],
25
+ [ sh:class dmnc:OutputClause ;
26
+ sh:minCount 1 ;
27
+ sh:path dmnc:hasOutputClause ],
28
+ [ sh:class dmnc:Rule ;
29
+ sh:minCount 1 ;
30
+ sh:path dmnc:hasRule ],
31
+ [ sh:datatype xsd:string ;
32
+ sh:maxCount 1 ;
33
+ sh:minCount 1 ;
34
+ sh:path dmnc:decisionName ],
35
+ [ sh:datatype xsd:string ;
36
+ sh:in ( "UNIQUE" "FIRST" "ANY" "PRIORITY" "RULE ORDER" "OUTPUT ORDER" "COLLECT" ) ;
37
+ sh:maxCount 1 ;
38
+ sh:minCount 1 ;
39
+ sh:path dmnc:hitPolicy ],
40
+ [ sh:datatype xsd:string ;
41
+ sh:maxCount 1 ;
42
+ sh:minCount 1 ;
43
+ sh:path dmnc:decisionId ],
44
+ [ sh:datatype xsd:string ;
45
+ sh:in ( "SUM" "MIN" "MAX" "COUNT" ) ;
46
+ sh:maxCount 1 ;
47
+ sh:path dmnc:aggregation ] ;
48
+ sh:targetClass dmnc:DecisionTable .
49
+
50
+ dmnc:EvaluationCaseShape a sh:NodeShape ;
51
+ sh:property [ sh:class dmnc:Binding ;
52
+ sh:minCount 1 ;
53
+ sh:path dmnc:hasBinding ],
54
+ [ sh:class dmnc:DecisionTable ;
55
+ sh:maxCount 1 ;
56
+ sh:minCount 1 ;
57
+ sh:path dmnc:evaluatesDecision ],
58
+ [ sh:datatype xsd:string ;
59
+ sh:maxCount 1 ;
60
+ sh:minCount 1 ;
61
+ sh:path dmnc:caseId ] ;
62
+ sh:targetClass dmnc:EvaluationCase .
63
+
64
+ dmnc:InputClauseShape a sh:NodeShape ;
65
+ sh:property [ sh:class dmnc:DecisionTable ;
66
+ sh:maxCount 1 ;
67
+ sh:minCount 1 ;
68
+ sh:path dmnc:clauseOf ],
69
+ [ sh:datatype xsd:string ;
70
+ sh:maxCount 1 ;
71
+ sh:minCount 1 ;
72
+ sh:path dmnc:inputExpression ;
73
+ sh:pattern "^[A-Za-z_][A-Za-z0-9_.]*$" ],
74
+ [ sh:datatype xsd:string ;
75
+ sh:in ( "string" "integer" "long" "double" "boolean" "number" ) ;
76
+ sh:maxCount 1 ;
77
+ sh:minCount 1 ;
78
+ sh:path dmnc:typeRef ] ;
79
+ sh:targetClass dmnc:InputClause .
80
+
81
+ dmnc:OutputClauseShape a sh:NodeShape ;
82
+ sh:property [ sh:class dmnc:DecisionTable ;
83
+ sh:maxCount 1 ;
84
+ sh:minCount 1 ;
85
+ sh:path dmnc:clauseOf ],
86
+ [ sh:datatype xsd:string ;
87
+ sh:maxCount 1 ;
88
+ sh:minCount 1 ;
89
+ sh:path dmnc:outputName ],
90
+ [ sh:datatype xsd:string ;
91
+ sh:in ( "string" "integer" "long" "double" "boolean" "number" ) ;
92
+ sh:maxCount 1 ;
93
+ sh:minCount 1 ;
94
+ sh:path dmnc:typeRef ] ;
95
+ sh:targetClass dmnc:OutputClause .
96
+
97
+ dmnc:RuleShape a sh:NodeShape ;
98
+ sh:property [ sh:class dmnc:DecisionTable ;
99
+ sh:maxCount 1 ;
100
+ sh:minCount 1 ;
101
+ sh:path dmnc:inTable ],
102
+ [ sh:datatype xsd:integer ;
103
+ sh:maxCount 1 ;
104
+ sh:minCount 1 ;
105
+ sh:path dmnc:ruleIndex ],
106
+ [ sh:datatype xsd:string ;
107
+ sh:maxCount 1 ;
108
+ sh:minCount 1 ;
109
+ sh:path dmnc:ruleKey ] ;
110
+ sh:targetClass dmnc:Rule .
111
+
core_worlds/private/artifacts/world_L03/variants.json ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "corrupt": {
3
+ "corruption_manifest": "pack/private/corruption_manifest.json",
4
+ "ontology_sha256": "7b9e6149bd92b04f8a232be8b5e6a012b77d65c02f49380cf9830edc8fe9db70",
5
+ "shapes_sha256": "70fb35f1448b949364cf45ac39d53058eb48f966961094317e6f1e32d51de6f0"
6
+ },
7
+ "gold": {
8
+ "ontology_sha256": "1fc05b18409e990db2c05a435b65ecdecc11af68d77b0258f6d2e68f1c226dbc",
9
+ "shapes_sha256": "a24c3301dd34604d43506c11e7200ab19980582b15019a66c49ceee0ae5d53c7"
10
+ },
11
+ "mappings_identical_across_variants": true,
12
+ "repaired": {
13
+ "note": "repaired reference == gold bytes; the corrupt -> gold delta is exactly the corruption manifest diff",
14
+ "ontology_sha256": "1fc05b18409e990db2c05a435b65ecdecc11af68d77b0258f6d2e68f1c226dbc",
15
+ "shapes_sha256": "a24c3301dd34604d43506c11e7200ab19980582b15019a66c49ceee0ae5d53c7"
16
+ },
17
+ "schema": "aob-world-l03-variants/1.0"
18
+ }
core_worlds/private/artifacts/world_L04/corrupt/corruption_manifest.json ADDED
@@ -0,0 +1,197 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "error_count": 8,
3
+ "errors": [
4
+ {
5
+ "added_statements": [
6
+ "<http://example.org/rhea-chebi-core#MasterReaction> <http://www.w3.org/2000/01/rdf-schema#subClassOf> <http://example.org/rhea-chebi-core#ChebiEntity> ."
7
+ ],
8
+ "artifact": "ontology",
9
+ "error_type": "wrong_subclassof",
10
+ "index": 0,
11
+ "params": {
12
+ "child": "http://example.org/rhea-chebi-core#MasterReaction",
13
+ "wrong_parent": "http://example.org/rhea-chebi-core#ChebiEntity"
14
+ },
15
+ "rationale": "Re-pointed http://example.org/rhea-chebi-core#MasterReaction from its gold superclass http://example.org/rhea-chebi-core#Reaction to http://example.org/rhea-chebi-core#ChebiEntity, inverting the intended class hierarchy.",
16
+ "removed_statements": [
17
+ "<http://example.org/rhea-chebi-core#MasterReaction> <http://www.w3.org/2000/01/rdf-schema#subClassOf> <http://example.org/rhea-chebi-core#Reaction> ."
18
+ ],
19
+ "requested_params": {
20
+ "child": "http://example.org/rhea-chebi-core#MasterReaction",
21
+ "wrong_parent": "http://example.org/rhea-chebi-core#ChebiEntity"
22
+ },
23
+ "seed": 20261118,
24
+ "target_statements": [
25
+ "<http://example.org/rhea-chebi-core#MasterReaction> <http://www.w3.org/2000/01/rdf-schema#subClassOf> <http://example.org/rhea-chebi-core#Reaction> ."
26
+ ]
27
+ },
28
+ {
29
+ "added_statements": [],
30
+ "artifact": "ontology",
31
+ "error_type": "concept_omission",
32
+ "index": 1,
33
+ "params": {
34
+ "target": "http://example.org/rhea-chebi-core#Side"
35
+ },
36
+ "rationale": "Dropped the concept declaration http://www.w3.org/2002/07/owl#Class; downstream queries can no longer recognise http://example.org/rhea-chebi-core#Side as a http://www.w3.org/2002/07/owl#Class.",
37
+ "removed_statements": [
38
+ "<http://example.org/rhea-chebi-core#Side> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Class> ."
39
+ ],
40
+ "requested_params": {
41
+ "target": "http://example.org/rhea-chebi-core#Side"
42
+ },
43
+ "seed": 20261118,
44
+ "target_statements": [
45
+ "<http://example.org/rhea-chebi-core#Side> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Class> ."
46
+ ]
47
+ },
48
+ {
49
+ "added_statements": [
50
+ "<http://example.org/rhea-chebi-core#sideOf> <http://www.w3.org/2002/07/owl#inverseOf> <http://example.org/rhea-chebi-core#containsParticipant> ."
51
+ ],
52
+ "artifact": "ontology",
53
+ "error_type": "inverse_relation",
54
+ "index": 2,
55
+ "params": {
56
+ "property": "http://example.org/rhea-chebi-core#sideOf",
57
+ "wrong_inverse_of": "http://example.org/rhea-chebi-core#containsParticipant"
58
+ },
59
+ "rationale": "Replaced the correct inverse http://example.org/rhea-chebi-core#sideOf owl:inverseOf http://example.org/rhea-chebi-core#hasSide with http://example.org/rhea-chebi-core#containsParticipant, so the relation now points the wrong way.",
60
+ "removed_statements": [
61
+ "<http://example.org/rhea-chebi-core#sideOf> <http://www.w3.org/2002/07/owl#inverseOf> <http://example.org/rhea-chebi-core#hasSide> ."
62
+ ],
63
+ "requested_params": {
64
+ "property": "http://example.org/rhea-chebi-core#sideOf",
65
+ "wrong_inverse_of": "http://example.org/rhea-chebi-core#containsParticipant"
66
+ },
67
+ "seed": 20261118,
68
+ "target_statements": [
69
+ "<http://example.org/rhea-chebi-core#sideOf> <http://www.w3.org/2002/07/owl#inverseOf> <http://example.org/rhea-chebi-core#hasSide> ."
70
+ ]
71
+ },
72
+ {
73
+ "added_statements": [
74
+ "<http://example.org/rhea-chebi-core#hasSide> <http://www.w3.org/2000/01/rdf-schema#range> <http://example.org/rhea-chebi-core#Reaction> ."
75
+ ],
76
+ "artifact": "ontology",
77
+ "error_type": "domain_range_mismatch",
78
+ "index": 3,
79
+ "params": {
80
+ "kind": "range",
81
+ "property": "http://example.org/rhea-chebi-core#hasSide",
82
+ "wrong": "http://example.org/rhea-chebi-core#Reaction"
83
+ },
84
+ "rationale": "Changed http://example.org/rhea-chebi-core#hasSide range from http://example.org/rhea-chebi-core#Side to http://example.org/rhea-chebi-core#Reaction, making the domain/range declaration inconsistent with the relation's intended use.",
85
+ "removed_statements": [
86
+ "<http://example.org/rhea-chebi-core#hasSide> <http://www.w3.org/2000/01/rdf-schema#range> <http://example.org/rhea-chebi-core#Side> ."
87
+ ],
88
+ "requested_params": {
89
+ "kind": "range",
90
+ "property": "http://example.org/rhea-chebi-core#hasSide",
91
+ "wrong": "http://example.org/rhea-chebi-core#Reaction"
92
+ },
93
+ "seed": 20261118,
94
+ "target_statements": [
95
+ "<http://example.org/rhea-chebi-core#hasSide> <http://www.w3.org/2000/01/rdf-schema#range> <http://example.org/rhea-chebi-core#Side> ."
96
+ ]
97
+ },
98
+ {
99
+ "added_statements": [],
100
+ "artifact": "shapes",
101
+ "error_type": "missing_cardinality",
102
+ "index": 4,
103
+ "params": {
104
+ "constraint": "minCount",
105
+ "path": "http://example.org/rhea-chebi-core#hasCompound"
106
+ },
107
+ "rationale": "Removed minCount of the property shape on http://example.org/rhea-chebi-core#hasCompound; instances violating the cardinality now validate, hiding a required constraint.",
108
+ "removed_statements": [
109
+ "_:cb1f5134111e5144a506bd1c705766c4a68075b402543bb0ea1c9e26e1985b4e7ca <http://www.w3.org/ns/shacl#minCount> \"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ."
110
+ ],
111
+ "requested_params": {
112
+ "constraint": "minCount",
113
+ "path": "http://example.org/rhea-chebi-core#hasCompound"
114
+ },
115
+ "seed": 20261118,
116
+ "target_statements": [
117
+ "<http://example.org/rhea-chebi-core#ParticipantShape> <http://www.w3.org/ns/shacl#property> _:cb1f5134111e5144a506bd1c705766c4a68075b402543bb0ea1c9e26e1985b4e7ca .",
118
+ "_:cb1f5134111e5144a506bd1c705766c4a68075b402543bb0ea1c9e26e1985b4e7ca <http://www.w3.org/ns/shacl#minCount> \"1\"^^<http://www.w3.org/2001/XMLSchema#integer> .",
119
+ "_:cb1f5134111e5144a506bd1c705766c4a68075b402543bb0ea1c9e26e1985b4e7ca <http://www.w3.org/ns/shacl#path> <http://example.org/rhea-chebi-core#hasCompound> ."
120
+ ]
121
+ },
122
+ {
123
+ "added_statements": [
124
+ "<http://example.org/rhea-chebi-core#ParticipantShape> <http://www.w3.org/ns/shacl#closed> \"true\"^^<http://www.w3.org/2001/XMLSchema#boolean> ."
125
+ ],
126
+ "artifact": "shapes",
127
+ "error_type": "incorrect_closed_world",
128
+ "index": 5,
129
+ "params": {
130
+ "shape": "http://example.org/rhea-chebi-core#ParticipantShape"
131
+ },
132
+ "rationale": "Added sh:closed true to http://example.org/rhea-chebi-core#ParticipantShape, imposing a closed-world assumption on a shape whose semantics are open-world.",
133
+ "removed_statements": [],
134
+ "requested_params": {
135
+ "shape": "http://example.org/rhea-chebi-core#ParticipantShape"
136
+ },
137
+ "seed": 20261118,
138
+ "target_statements": [
139
+ "<http://example.org/rhea-chebi-core#ParticipantShape> <http://www.w3.org/ns/shacl#targetClass> <http://example.org/rhea-chebi-core#Participant> ."
140
+ ]
141
+ },
142
+ {
143
+ "added_statements": [
144
+ "<http://example.org/rhea-chebi-core#MasterReactionShape> <http://www.w3.org/ns/shacl#targetClass> <http://example.org/rhea-chebi-core#Reaction> ."
145
+ ],
146
+ "artifact": "shapes",
147
+ "error_type": "overgeneralization",
148
+ "index": 6,
149
+ "params": {
150
+ "shape": "http://example.org/rhea-chebi-core#MasterReactionShape",
151
+ "to_superclass": "http://example.org/rhea-chebi-core#Reaction"
152
+ },
153
+ "rationale": "Moved http://example.org/rhea-chebi-core#MasterReactionShape from targetClass http://example.org/rhea-chebi-core#MasterReaction to the broader superclass http://example.org/rhea-chebi-core#Reaction, so the constraint now applies to entities it was never meant to cover.",
154
+ "removed_statements": [
155
+ "<http://example.org/rhea-chebi-core#MasterReactionShape> <http://www.w3.org/ns/shacl#targetClass> <http://example.org/rhea-chebi-core#MasterReaction> ."
156
+ ],
157
+ "requested_params": {
158
+ "shape": "http://example.org/rhea-chebi-core#MasterReactionShape",
159
+ "to_superclass": "http://example.org/rhea-chebi-core#Reaction"
160
+ },
161
+ "seed": 20261118,
162
+ "target_statements": [
163
+ "<http://example.org/rhea-chebi-core#MasterReactionShape> <http://www.w3.org/ns/shacl#targetClass> <http://example.org/rhea-chebi-core#MasterReaction> ."
164
+ ]
165
+ },
166
+ {
167
+ "added_statements": [
168
+ "<http://example.org/rhea-chebi-core#srcParticipantChebi> <http://example.org/corr#mapsTo> <http://example.org/rhea-chebi-core#Compound> ."
169
+ ],
170
+ "artifact": "ontology",
171
+ "error_type": "wrong_data_to_concept_mapping",
172
+ "index": 7,
173
+ "params": {
174
+ "predicate": "http://example.org/corr#mapsTo",
175
+ "source": "http://example.org/rhea-chebi-core#srcParticipantChebi",
176
+ "wrong_concept": "http://example.org/rhea-chebi-core#Compound"
177
+ },
178
+ "rationale": "Redirected the mapping for http://example.org/rhea-chebi-core#srcParticipantChebi from http://example.org/rhea-chebi-core#ChebiEntity to http://example.org/rhea-chebi-core#Compound, so source data is lifted into the wrong concept.",
179
+ "removed_statements": [
180
+ "<http://example.org/rhea-chebi-core#srcParticipantChebi> <http://example.org/corr#mapsTo> <http://example.org/rhea-chebi-core#ChebiEntity> ."
181
+ ],
182
+ "requested_params": {
183
+ "source": "http://example.org/rhea-chebi-core#srcParticipantChebi",
184
+ "wrong_concept": "http://example.org/rhea-chebi-core#Compound"
185
+ },
186
+ "seed": 20261118,
187
+ "target_statements": [
188
+ "<http://example.org/rhea-chebi-core#srcParticipantChebi> <http://example.org/corr#mapsTo> <http://example.org/rhea-chebi-core#ChebiEntity> ."
189
+ ]
190
+ }
191
+ ],
192
+ "gold_ontology_sha256": "9bcc489f969eaf6eee138a10e135a1f8e9d02cd8413286a9d3e7bf73cb1c3b6d",
193
+ "gold_shapes_sha256": "8156d1bdeaf25545a9f9f3ceff94a77f52d799c7c459fbafed49fc91e4890bfd",
194
+ "ontology_sha256": "8abd4b3b36f151a2d6d6685019643b82d889e9c873aa170ead8b512ddff9cbf5",
195
+ "seed": 20261118,
196
+ "shapes_sha256": "d73a98344fd6094fd17acaa2904030f81ebf7e4c0b428435b37134d7927c9f8d"
197
+ }
core_worlds/private/artifacts/world_L04/corrupt/mappings.json ADDED
@@ -0,0 +1,311 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "entries": [
3
+ {
4
+ "concept": "CHEBI:85427",
5
+ "field": "http://rdf.rhea-db.org/Compound_11353",
6
+ "source": "rhea_participant",
7
+ "term": "http://rdf.rhea-db.org/Compound_11353"
8
+ },
9
+ {
10
+ "concept": "CHEBI:88153",
11
+ "field": "http://rdf.rhea-db.org/Compound_11975",
12
+ "source": "rhea_participant",
13
+ "term": "http://rdf.rhea-db.org/Compound_11975"
14
+ },
15
+ {
16
+ "concept": "CHEBI:9661",
17
+ "field": "http://rdf.rhea-db.org/Compound_11979",
18
+ "source": "rhea_participant",
19
+ "term": "http://rdf.rhea-db.org/Compound_11979"
20
+ },
21
+ {
22
+ "concept": "CHEBI:25941",
23
+ "field": "http://rdf.rhea-db.org/Compound_12917",
24
+ "source": "rhea_participant",
25
+ "term": "http://rdf.rhea-db.org/Compound_12917"
26
+ },
27
+ {
28
+ "concept": "CHEBI:140471",
29
+ "field": "http://rdf.rhea-db.org/Compound_14574",
30
+ "source": "rhea_participant",
31
+ "term": "http://rdf.rhea-db.org/Compound_14574"
32
+ },
33
+ {
34
+ "concept": "CHEBI:144774",
35
+ "field": "http://rdf.rhea-db.org/Compound_15863",
36
+ "source": "rhea_participant",
37
+ "term": "http://rdf.rhea-db.org/Compound_15863"
38
+ },
39
+ {
40
+ "concept": "CHEBI:147308",
41
+ "field": "http://rdf.rhea-db.org/Compound_16343",
42
+ "source": "rhea_participant",
43
+ "term": "http://rdf.rhea-db.org/Compound_16343"
44
+ },
45
+ {
46
+ "concept": "CHEBI:147311",
47
+ "field": "http://rdf.rhea-db.org/Compound_16347",
48
+ "source": "rhea_participant",
49
+ "term": "http://rdf.rhea-db.org/Compound_16347"
50
+ },
51
+ {
52
+ "concept": "CHEBI:177078",
53
+ "field": "http://rdf.rhea-db.org/Compound_17451",
54
+ "source": "rhea_participant",
55
+ "term": "http://rdf.rhea-db.org/Compound_17451"
56
+ },
57
+ {
58
+ "concept": "CHEBI:177079",
59
+ "field": "http://rdf.rhea-db.org/Compound_17452",
60
+ "source": "rhea_participant",
61
+ "term": "http://rdf.rhea-db.org/Compound_17452"
62
+ },
63
+ {
64
+ "concept": "CHEBI:177080",
65
+ "field": "http://rdf.rhea-db.org/Compound_17453",
66
+ "source": "rhea_participant",
67
+ "term": "http://rdf.rhea-db.org/Compound_17453"
68
+ },
69
+ {
70
+ "concept": "CHEBI:177083",
71
+ "field": "http://rdf.rhea-db.org/Compound_17455",
72
+ "source": "rhea_participant",
73
+ "term": "http://rdf.rhea-db.org/Compound_17455"
74
+ },
75
+ {
76
+ "concept": "CHEBI:177087",
77
+ "field": "http://rdf.rhea-db.org/Compound_17456",
78
+ "source": "rhea_participant",
79
+ "term": "http://rdf.rhea-db.org/Compound_17456"
80
+ },
81
+ {
82
+ "concept": "CHEBI:177088",
83
+ "field": "http://rdf.rhea-db.org/Compound_17457",
84
+ "source": "rhea_participant",
85
+ "term": "http://rdf.rhea-db.org/Compound_17457"
86
+ },
87
+ {
88
+ "concept": "CHEBI:194143",
89
+ "field": "http://rdf.rhea-db.org/Compound_18464",
90
+ "source": "rhea_participant",
91
+ "term": "http://rdf.rhea-db.org/Compound_18464"
92
+ },
93
+ {
94
+ "concept": "CHEBI:228231",
95
+ "field": "http://rdf.rhea-db.org/Compound_19033",
96
+ "source": "rhea_participant",
97
+ "term": "http://rdf.rhea-db.org/Compound_19033"
98
+ },
99
+ {
100
+ "concept": "CHEBI:228232",
101
+ "field": "http://rdf.rhea-db.org/Compound_19034",
102
+ "source": "rhea_participant",
103
+ "term": "http://rdf.rhea-db.org/Compound_19034"
104
+ },
105
+ {
106
+ "concept": "CHEBI:28787",
107
+ "field": "http://rdf.rhea-db.org/Compound_19371",
108
+ "source": "rhea_participant",
109
+ "term": "http://rdf.rhea-db.org/Compound_19371"
110
+ },
111
+ {
112
+ "concept": "CHEBI:18898",
113
+ "field": "http://rdf.rhea-db.org/Compound_19372",
114
+ "source": "rhea_participant",
115
+ "term": "http://rdf.rhea-db.org/Compound_19372"
116
+ },
117
+ {
118
+ "concept": "CHEBI:18921",
119
+ "field": "http://rdf.rhea-db.org/Compound_19373",
120
+ "source": "rhea_participant",
121
+ "term": "http://rdf.rhea-db.org/Compound_19373"
122
+ },
123
+ {
124
+ "concept": "CHEBI:19720",
125
+ "field": "http://rdf.rhea-db.org/Compound_19374",
126
+ "source": "rhea_participant",
127
+ "term": "http://rdf.rhea-db.org/Compound_19374"
128
+ },
129
+ {
130
+ "concept": "CHEBI:19070",
131
+ "field": "http://rdf.rhea-db.org/Compound_19375",
132
+ "source": "rhea_participant",
133
+ "term": "http://rdf.rhea-db.org/Compound_19375"
134
+ },
135
+ {
136
+ "concept": "CHEBI:25879",
137
+ "field": "http://rdf.rhea-db.org/Compound_19376",
138
+ "source": "rhea_participant",
139
+ "term": "http://rdf.rhea-db.org/Compound_19376"
140
+ },
141
+ {
142
+ "concept": "CHEBI:135114",
143
+ "field": "http://rdf.rhea-db.org/Compound_19377",
144
+ "source": "rhea_participant",
145
+ "term": "http://rdf.rhea-db.org/Compound_19377"
146
+ },
147
+ {
148
+ "concept": "CHEBI:25877",
149
+ "field": "http://rdf.rhea-db.org/Compound_19378",
150
+ "source": "rhea_participant",
151
+ "term": "http://rdf.rhea-db.org/Compound_19378"
152
+ },
153
+ {
154
+ "concept": "CHEBI:16480",
155
+ "field": "http://rdf.rhea-db.org/Compound_4048",
156
+ "source": "rhea_participant",
157
+ "term": "http://rdf.rhea-db.org/Compound_4048"
158
+ },
159
+ {
160
+ "concept": "CHEBI:17632",
161
+ "field": "http://rdf.rhea-db.org/Compound_5436",
162
+ "source": "rhea_participant",
163
+ "term": "http://rdf.rhea-db.org/Compound_5436"
164
+ },
165
+ {
166
+ "concept": "CHEBI:16301",
167
+ "field": "http://rdf.rhea-db.org/Compound_6016",
168
+ "source": "rhea_participant",
169
+ "term": "http://rdf.rhea-db.org/Compound_6016"
170
+ },
171
+ {
172
+ "concept": "CHEBI:64615",
173
+ "field": "http://rdf.rhea-db.org/Compound_7184",
174
+ "source": "rhea_participant",
175
+ "term": "http://rdf.rhea-db.org/Compound_7184"
176
+ },
177
+ {
178
+ "concept": "CHEBI:53753",
179
+ "field": "http://rdf.rhea-db.org/Compound_7375",
180
+ "source": "rhea_participant",
181
+ "term": "http://rdf.rhea-db.org/Compound_7375"
182
+ },
183
+ {
184
+ "concept": "CHEBI:75583",
185
+ "field": "http://rdf.rhea-db.org/Compound_8524",
186
+ "source": "rhea_participant",
187
+ "term": "http://rdf.rhea-db.org/Compound_8524"
188
+ },
189
+ {
190
+ "concept": "CHEBI:75688",
191
+ "field": "http://rdf.rhea-db.org/Compound_8550",
192
+ "source": "rhea_participant",
193
+ "term": "http://rdf.rhea-db.org/Compound_8550"
194
+ },
195
+ {
196
+ "concept": "CHEBI:75729",
197
+ "field": "http://rdf.rhea-db.org/Compound_8556",
198
+ "source": "rhea_participant",
199
+ "term": "http://rdf.rhea-db.org/Compound_8556"
200
+ },
201
+ {
202
+ "concept": "CHEBI:75841",
203
+ "field": "http://rdf.rhea-db.org/Compound_8576",
204
+ "source": "rhea_participant",
205
+ "term": "http://rdf.rhea-db.org/Compound_8576"
206
+ },
207
+ {
208
+ "concept": "CHEBI:75844",
209
+ "field": "http://rdf.rhea-db.org/Compound_8579",
210
+ "source": "rhea_participant",
211
+ "term": "http://rdf.rhea-db.org/Compound_8579"
212
+ },
213
+ {
214
+ "concept": "CHEBI:75845",
215
+ "field": "http://rdf.rhea-db.org/Compound_8582",
216
+ "source": "rhea_participant",
217
+ "term": "http://rdf.rhea-db.org/Compound_8582"
218
+ },
219
+ {
220
+ "concept": "CHEBI:75846",
221
+ "field": "http://rdf.rhea-db.org/Compound_8585",
222
+ "source": "rhea_participant",
223
+ "term": "http://rdf.rhea-db.org/Compound_8585"
224
+ },
225
+ {
226
+ "concept": "CHEBI:75847",
227
+ "field": "http://rdf.rhea-db.org/Compound_8631",
228
+ "source": "rhea_participant",
229
+ "term": "http://rdf.rhea-db.org/Compound_8631"
230
+ },
231
+ {
232
+ "concept": "CHEBI:76978",
233
+ "field": "http://rdf.rhea-db.org/Compound_8997",
234
+ "source": "rhea_participant",
235
+ "term": "http://rdf.rhea-db.org/Compound_8997"
236
+ },
237
+ {
238
+ "concept": "CHEBI:35020",
239
+ "field": "http://rdf.rhea-db.org/Compound_9114",
240
+ "source": "rhea_participant",
241
+ "term": "http://rdf.rhea-db.org/Compound_9114"
242
+ },
243
+ {
244
+ "concept": "CHEBI:77386",
245
+ "field": "http://rdf.rhea-db.org/Compound_9146",
246
+ "source": "rhea_participant",
247
+ "term": "http://rdf.rhea-db.org/Compound_9146"
248
+ },
249
+ {
250
+ "concept": "CHEBI:77388",
251
+ "field": "http://rdf.rhea-db.org/Compound_9148",
252
+ "source": "rhea_participant",
253
+ "term": "http://rdf.rhea-db.org/Compound_9148"
254
+ },
255
+ {
256
+ "concept": "CHEBI:77389",
257
+ "field": "http://rdf.rhea-db.org/Compound_9150",
258
+ "source": "rhea_participant",
259
+ "term": "http://rdf.rhea-db.org/Compound_9150"
260
+ },
261
+ {
262
+ "concept": "CHEBI:77391",
263
+ "field": "http://rdf.rhea-db.org/Compound_9152",
264
+ "source": "rhea_participant",
265
+ "term": "http://rdf.rhea-db.org/Compound_9152"
266
+ },
267
+ {
268
+ "concept": "CHEBI:77393",
269
+ "field": "http://rdf.rhea-db.org/Compound_9154",
270
+ "source": "rhea_participant",
271
+ "term": "http://rdf.rhea-db.org/Compound_9154"
272
+ },
273
+ {
274
+ "concept": "CHEBI:45956",
275
+ "field": "http://rdf.rhea-db.org/Compound_9156",
276
+ "source": "rhea_participant",
277
+ "term": "http://rdf.rhea-db.org/Compound_9156"
278
+ },
279
+ {
280
+ "concept": "CHEBI:77683",
281
+ "field": "http://rdf.rhea-db.org/Compound_9256",
282
+ "source": "rhea_participant",
283
+ "term": "http://rdf.rhea-db.org/Compound_9256"
284
+ },
285
+ {
286
+ "concept": "CHEBI:77684",
287
+ "field": "http://rdf.rhea-db.org/Compound_9257",
288
+ "source": "rhea_participant",
289
+ "term": "http://rdf.rhea-db.org/Compound_9257"
290
+ },
291
+ {
292
+ "concept": "CHEBI:77685",
293
+ "field": "http://rdf.rhea-db.org/Compound_9258",
294
+ "source": "rhea_participant",
295
+ "term": "http://rdf.rhea-db.org/Compound_9258"
296
+ },
297
+ {
298
+ "concept": "CHEBI:77686",
299
+ "field": "http://rdf.rhea-db.org/Compound_9259",
300
+ "source": "rhea_participant",
301
+ "term": "http://rdf.rhea-db.org/Compound_9259"
302
+ },
303
+ {
304
+ "concept": "CHEBI:77623",
305
+ "field": "http://rdf.rhea-db.org/Compound_9270",
306
+ "source": "rhea_participant",
307
+ "term": "http://rdf.rhea-db.org/Compound_9270"
308
+ }
309
+ ],
310
+ "schema": "mappings/1.0"
311
+ }
core_worlds/private/artifacts/world_L04/corrupt/ontology.ttl ADDED
@@ -0,0 +1,125 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ @prefix corr: <http://example.org/corr#> .
2
+ @prefix owl: <http://www.w3.org/2002/07/owl#> .
3
+ @prefix rc: <http://example.org/rhea-chebi-core#> .
4
+ @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
5
+ @prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
6
+
7
+ rc:DirectionalReaction a owl:Class ;
8
+ rdfs:label "DirectionalReaction" ;
9
+ rdfs:comment "rdfs:subClassOf Reaction. A directional realization of a master reaction; its sides are referenced, not owned." ;
10
+ rdfs:subClassOf rc:Reaction .
11
+
12
+ rc:MasterReaction a owl:Class ;
13
+ rdfs:label "MasterReaction" ;
14
+ rdfs:comment "rdfs:subClassOf Reaction. A direction-neutral master reaction (RHEA:* accession); carries exactly two sides (L,R)." ;
15
+ rdfs:subClassOf rc:ChebiEntity .
16
+
17
+ rc:Ontology a owl:Ontology ;
18
+ rdfs:label "Rhea / ChEBI gold ontology" ;
19
+ rdfs:comment "RULE layer only: class hierarchy, typed relations and axioms derived from the frozen spec vocabulary (pilot_worlds/world_L04_scaleup/spec/rhea_chebi.json). Instance facts live in the slice projection; task labels are never part of this artifact." ;
20
+ owl:versionInfo "rhea_chebi/0.2.0-scaleup" .
21
+
22
+ rc:accession a owl:DatatypeProperty ;
23
+ rdfs:comment "Relation 'accession' of the spec vocabulary." ;
24
+ rdfs:domain rc:Reaction ;
25
+ rdfs:range xsd:string .
26
+
27
+ rc:chebiId a owl:DatatypeProperty ;
28
+ rdfs:comment "Relation 'chebiId' of the spec vocabulary." ;
29
+ rdfs:domain rc:ChebiEntity ;
30
+ rdfs:range xsd:string .
31
+
32
+ rc:chebiRef a owl:FunctionalProperty,
33
+ owl:ObjectProperty ;
34
+ rdfs:comment "The crosswalk edge. Identity truth: published accession cross-references only; never name similarity." ;
35
+ rdfs:domain rc:Compound ;
36
+ rdfs:range rc:ChebiEntity .
37
+
38
+ rc:deprecated a owl:DatatypeProperty ;
39
+ rdfs:comment "Relation 'deprecated' of the spec vocabulary." ;
40
+ rdfs:domain rc:ChebiEntity ;
41
+ rdfs:range xsd:boolean .
42
+
43
+ rc:equation a owl:DatatypeProperty ;
44
+ rdfs:comment "Relation 'equation' of the spec vocabulary." ;
45
+ rdfs:domain rc:Reaction ;
46
+ rdfs:range xsd:string .
47
+
48
+ rc:hasCompound a owl:FunctionalProperty,
49
+ owl:ObjectProperty ;
50
+ rdfs:comment "Relation 'hasCompound' of the spec vocabulary." ;
51
+ rdfs:domain rc:Participant ;
52
+ rdfs:range rc:Compound .
53
+
54
+ rc:hasSide a owl:ObjectProperty ;
55
+ rdfs:comment "Relation 'hasSide' of the spec vocabulary." ;
56
+ rdfs:domain rc:Reaction ;
57
+ rdfs:range rc:Reaction .
58
+
59
+ rc:isBalanced a owl:DatatypeProperty ;
60
+ rdfs:comment "Relation 'isBalanced' of the spec vocabulary." ;
61
+ rdfs:domain rc:Reaction ;
62
+ rdfs:range xsd:boolean .
63
+
64
+ rc:mapsToRef a owl:ObjectProperty ;
65
+ rdfs:comment "Present so the ontology carries an owl:ObjectProperty pair for the mapping layer; the mappings artifact itself is JSON (mappings/1.0)." ;
66
+ rdfs:domain rc:CrossReference ;
67
+ rdfs:range rc:ChebiEntity .
68
+
69
+ rc:sideKind a owl:DatatypeProperty ;
70
+ rdfs:comment "Relation 'sideKind' of the spec vocabulary." ;
71
+ rdfs:domain rc:Side ;
72
+ rdfs:range xsd:string .
73
+
74
+ rc:sideOf a owl:ObjectProperty ;
75
+ rdfs:comment "Relation 'sideOf' of the spec vocabulary." ;
76
+ rdfs:domain rc:Side ;
77
+ rdfs:range rc:Reaction ;
78
+ owl:inverseOf rc:containsParticipant .
79
+
80
+ rc:srcCompoundIri corr:mapsTo rc:Compound ;
81
+ rdfs:comment "Source field 'rhea_participant.compound' lifts to concept rc:Compound." .
82
+
83
+ rc:srcParticipantChebi corr:mapsTo rc:Compound ;
84
+ rdfs:comment "Source field 'rhea_participant.chebi' lifts to concept rc:ChebiEntity." .
85
+
86
+ rc:srcReactionAccession corr:mapsTo rc:Reaction ;
87
+ rdfs:comment "Source field 'rhea_reaction.rhea_id' lifts to concept rc:Reaction." .
88
+
89
+ rc:srcSideKind corr:mapsTo rc:Side ;
90
+ rdfs:comment "Source field 'rhea_participant.side' lifts to concept rc:Side." .
91
+
92
+ rc:status a owl:DatatypeProperty ;
93
+ rdfs:comment "Relation 'status' of the spec vocabulary." ;
94
+ rdfs:domain rc:Reaction ;
95
+ rdfs:range xsd:string .
96
+
97
+ rc:CrossReference a owl:Class ;
98
+ rdfs:label "CrossReference" ;
99
+ rdfs:comment "A cross-reference row from a master reaction to an external database (EC, GO, MetaCyc, ...)." .
100
+
101
+ rc:containsParticipant a owl:ObjectProperty ;
102
+ rdfs:comment "Relation 'containsParticipant' of the spec vocabulary." ;
103
+ rdfs:domain rc:Side ;
104
+ rdfs:range rc:Participant .
105
+
106
+ rc:Participant a owl:Class ;
107
+ rdfs:label "Participant" ;
108
+ rdfs:comment "The occurrence of one compound on one side of one reaction." .
109
+
110
+ rc:Compound a owl:Class ;
111
+ rdfs:label "Compound" ;
112
+ rdfs:comment "A Rhea compound; its chemical identity is its chebiRef edge." .
113
+
114
+ rc:Side rdfs:label "Side" ;
115
+ rdfs:comment "One side (L or R) of a master reaction; contains participants." .
116
+
117
+ rc:ChebiEntity a owl:Class ;
118
+ rdfs:label "ChebiEntity" ;
119
+ rdfs:comment "A ChEBI entity of the slice universe; carries chebiId and deprecated flag; hierarchy via rdfs:subClassOf." .
120
+
121
+ rc:Reaction a owl:Class ;
122
+ rdfs:label "Reaction" ;
123
+ rdfs:comment "A Rhea reaction record. Base class." ;
124
+ owl:disjointWith rc:ChebiEntity .
125
+
core_worlds/private/artifacts/world_L04/corrupt/shapes.ttl ADDED
@@ -0,0 +1,79 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ @prefix rc: <http://example.org/rhea-chebi-core#> .
2
+ @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
3
+ @prefix sh: <http://www.w3.org/ns/shacl#> .
4
+ @prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
5
+
6
+ rc:ChebiEntityShape a sh:NodeShape ;
7
+ sh:property [ sh:datatype xsd:boolean ;
8
+ sh:maxCount 1 ;
9
+ sh:minCount 1 ;
10
+ sh:path rc:deprecated ],
11
+ [ sh:datatype xsd:string ;
12
+ sh:maxCount 1 ;
13
+ sh:minCount 1 ;
14
+ sh:path rc:chebiId ;
15
+ sh:pattern "^CHEBI:[0-9]+$" ] ;
16
+ sh:targetClass rc:ChebiEntity .
17
+
18
+ rc:CompoundShape a sh:NodeShape ;
19
+ sh:property [ sh:class rc:ChebiEntity ;
20
+ sh:maxCount 1 ;
21
+ sh:minCount 1 ;
22
+ sh:nodeKind sh:IRI ;
23
+ sh:path rc:chebiRef ] ;
24
+ sh:targetClass rc:Compound .
25
+
26
+ rc:MasterReactionShape a sh:NodeShape ;
27
+ sh:property [ sh:class rc:Side ;
28
+ sh:maxCount 2 ;
29
+ sh:minCount 2 ;
30
+ sh:nodeKind sh:IRI ;
31
+ sh:path rc:hasSide ] ;
32
+ sh:targetClass rc:Reaction .
33
+
34
+ rc:ParticipantShape a sh:NodeShape ;
35
+ sh:closed true ;
36
+ sh:property [ sh:class rc:Compound ;
37
+ sh:maxCount 1 ;
38
+ sh:nodeKind sh:IRI ;
39
+ sh:path rc:hasCompound ] ;
40
+ sh:targetClass rc:Participant .
41
+
42
+ rc:ReactionShape a sh:NodeShape ;
43
+ sh:property [ sh:datatype xsd:string ;
44
+ sh:in ( "Approved" "Preliminary" ) ;
45
+ sh:maxCount 1 ;
46
+ sh:minCount 1 ;
47
+ sh:path rc:status ],
48
+ [ sh:datatype xsd:string ;
49
+ sh:maxCount 1 ;
50
+ sh:minCount 1 ;
51
+ sh:path rc:equation ],
52
+ [ sh:datatype xsd:boolean ;
53
+ sh:maxCount 1 ;
54
+ sh:minCount 1 ;
55
+ sh:path rc:isBalanced ],
56
+ [ sh:datatype xsd:string ;
57
+ sh:maxCount 1 ;
58
+ sh:minCount 1 ;
59
+ sh:path rc:accession ;
60
+ sh:pattern "^RHEA:[0-9]+$" ] ;
61
+ sh:targetClass rc:Reaction .
62
+
63
+ rc:SideShape a sh:NodeShape ;
64
+ sh:property [ sh:datatype xsd:string ;
65
+ sh:in ( "L" "R" ) ;
66
+ sh:maxCount 1 ;
67
+ sh:minCount 1 ;
68
+ sh:path rc:sideKind ],
69
+ [ sh:class rc:Participant ;
70
+ sh:minCount 1 ;
71
+ sh:nodeKind sh:IRI ;
72
+ sh:path rc:containsParticipant ],
73
+ [ sh:class rc:Reaction ;
74
+ sh:maxCount 1 ;
75
+ sh:minCount 1 ;
76
+ sh:nodeKind sh:IRI ;
77
+ sh:path rc:sideOf ] ;
78
+ sh:targetClass rc:Side .
79
+
core_worlds/private/artifacts/world_L04/gold/mappings.json ADDED
@@ -0,0 +1,311 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "entries": [
3
+ {
4
+ "concept": "CHEBI:85427",
5
+ "field": "http://rdf.rhea-db.org/Compound_11353",
6
+ "source": "rhea_participant",
7
+ "term": "http://rdf.rhea-db.org/Compound_11353"
8
+ },
9
+ {
10
+ "concept": "CHEBI:88153",
11
+ "field": "http://rdf.rhea-db.org/Compound_11975",
12
+ "source": "rhea_participant",
13
+ "term": "http://rdf.rhea-db.org/Compound_11975"
14
+ },
15
+ {
16
+ "concept": "CHEBI:9661",
17
+ "field": "http://rdf.rhea-db.org/Compound_11979",
18
+ "source": "rhea_participant",
19
+ "term": "http://rdf.rhea-db.org/Compound_11979"
20
+ },
21
+ {
22
+ "concept": "CHEBI:25941",
23
+ "field": "http://rdf.rhea-db.org/Compound_12917",
24
+ "source": "rhea_participant",
25
+ "term": "http://rdf.rhea-db.org/Compound_12917"
26
+ },
27
+ {
28
+ "concept": "CHEBI:140471",
29
+ "field": "http://rdf.rhea-db.org/Compound_14574",
30
+ "source": "rhea_participant",
31
+ "term": "http://rdf.rhea-db.org/Compound_14574"
32
+ },
33
+ {
34
+ "concept": "CHEBI:144774",
35
+ "field": "http://rdf.rhea-db.org/Compound_15863",
36
+ "source": "rhea_participant",
37
+ "term": "http://rdf.rhea-db.org/Compound_15863"
38
+ },
39
+ {
40
+ "concept": "CHEBI:147308",
41
+ "field": "http://rdf.rhea-db.org/Compound_16343",
42
+ "source": "rhea_participant",
43
+ "term": "http://rdf.rhea-db.org/Compound_16343"
44
+ },
45
+ {
46
+ "concept": "CHEBI:147311",
47
+ "field": "http://rdf.rhea-db.org/Compound_16347",
48
+ "source": "rhea_participant",
49
+ "term": "http://rdf.rhea-db.org/Compound_16347"
50
+ },
51
+ {
52
+ "concept": "CHEBI:177078",
53
+ "field": "http://rdf.rhea-db.org/Compound_17451",
54
+ "source": "rhea_participant",
55
+ "term": "http://rdf.rhea-db.org/Compound_17451"
56
+ },
57
+ {
58
+ "concept": "CHEBI:177079",
59
+ "field": "http://rdf.rhea-db.org/Compound_17452",
60
+ "source": "rhea_participant",
61
+ "term": "http://rdf.rhea-db.org/Compound_17452"
62
+ },
63
+ {
64
+ "concept": "CHEBI:177080",
65
+ "field": "http://rdf.rhea-db.org/Compound_17453",
66
+ "source": "rhea_participant",
67
+ "term": "http://rdf.rhea-db.org/Compound_17453"
68
+ },
69
+ {
70
+ "concept": "CHEBI:177083",
71
+ "field": "http://rdf.rhea-db.org/Compound_17455",
72
+ "source": "rhea_participant",
73
+ "term": "http://rdf.rhea-db.org/Compound_17455"
74
+ },
75
+ {
76
+ "concept": "CHEBI:177087",
77
+ "field": "http://rdf.rhea-db.org/Compound_17456",
78
+ "source": "rhea_participant",
79
+ "term": "http://rdf.rhea-db.org/Compound_17456"
80
+ },
81
+ {
82
+ "concept": "CHEBI:177088",
83
+ "field": "http://rdf.rhea-db.org/Compound_17457",
84
+ "source": "rhea_participant",
85
+ "term": "http://rdf.rhea-db.org/Compound_17457"
86
+ },
87
+ {
88
+ "concept": "CHEBI:194143",
89
+ "field": "http://rdf.rhea-db.org/Compound_18464",
90
+ "source": "rhea_participant",
91
+ "term": "http://rdf.rhea-db.org/Compound_18464"
92
+ },
93
+ {
94
+ "concept": "CHEBI:228231",
95
+ "field": "http://rdf.rhea-db.org/Compound_19033",
96
+ "source": "rhea_participant",
97
+ "term": "http://rdf.rhea-db.org/Compound_19033"
98
+ },
99
+ {
100
+ "concept": "CHEBI:228232",
101
+ "field": "http://rdf.rhea-db.org/Compound_19034",
102
+ "source": "rhea_participant",
103
+ "term": "http://rdf.rhea-db.org/Compound_19034"
104
+ },
105
+ {
106
+ "concept": "CHEBI:28787",
107
+ "field": "http://rdf.rhea-db.org/Compound_19371",
108
+ "source": "rhea_participant",
109
+ "term": "http://rdf.rhea-db.org/Compound_19371"
110
+ },
111
+ {
112
+ "concept": "CHEBI:18898",
113
+ "field": "http://rdf.rhea-db.org/Compound_19372",
114
+ "source": "rhea_participant",
115
+ "term": "http://rdf.rhea-db.org/Compound_19372"
116
+ },
117
+ {
118
+ "concept": "CHEBI:18921",
119
+ "field": "http://rdf.rhea-db.org/Compound_19373",
120
+ "source": "rhea_participant",
121
+ "term": "http://rdf.rhea-db.org/Compound_19373"
122
+ },
123
+ {
124
+ "concept": "CHEBI:19720",
125
+ "field": "http://rdf.rhea-db.org/Compound_19374",
126
+ "source": "rhea_participant",
127
+ "term": "http://rdf.rhea-db.org/Compound_19374"
128
+ },
129
+ {
130
+ "concept": "CHEBI:19070",
131
+ "field": "http://rdf.rhea-db.org/Compound_19375",
132
+ "source": "rhea_participant",
133
+ "term": "http://rdf.rhea-db.org/Compound_19375"
134
+ },
135
+ {
136
+ "concept": "CHEBI:25879",
137
+ "field": "http://rdf.rhea-db.org/Compound_19376",
138
+ "source": "rhea_participant",
139
+ "term": "http://rdf.rhea-db.org/Compound_19376"
140
+ },
141
+ {
142
+ "concept": "CHEBI:135114",
143
+ "field": "http://rdf.rhea-db.org/Compound_19377",
144
+ "source": "rhea_participant",
145
+ "term": "http://rdf.rhea-db.org/Compound_19377"
146
+ },
147
+ {
148
+ "concept": "CHEBI:25877",
149
+ "field": "http://rdf.rhea-db.org/Compound_19378",
150
+ "source": "rhea_participant",
151
+ "term": "http://rdf.rhea-db.org/Compound_19378"
152
+ },
153
+ {
154
+ "concept": "CHEBI:16480",
155
+ "field": "http://rdf.rhea-db.org/Compound_4048",
156
+ "source": "rhea_participant",
157
+ "term": "http://rdf.rhea-db.org/Compound_4048"
158
+ },
159
+ {
160
+ "concept": "CHEBI:17632",
161
+ "field": "http://rdf.rhea-db.org/Compound_5436",
162
+ "source": "rhea_participant",
163
+ "term": "http://rdf.rhea-db.org/Compound_5436"
164
+ },
165
+ {
166
+ "concept": "CHEBI:16301",
167
+ "field": "http://rdf.rhea-db.org/Compound_6016",
168
+ "source": "rhea_participant",
169
+ "term": "http://rdf.rhea-db.org/Compound_6016"
170
+ },
171
+ {
172
+ "concept": "CHEBI:64615",
173
+ "field": "http://rdf.rhea-db.org/Compound_7184",
174
+ "source": "rhea_participant",
175
+ "term": "http://rdf.rhea-db.org/Compound_7184"
176
+ },
177
+ {
178
+ "concept": "CHEBI:53753",
179
+ "field": "http://rdf.rhea-db.org/Compound_7375",
180
+ "source": "rhea_participant",
181
+ "term": "http://rdf.rhea-db.org/Compound_7375"
182
+ },
183
+ {
184
+ "concept": "CHEBI:75583",
185
+ "field": "http://rdf.rhea-db.org/Compound_8524",
186
+ "source": "rhea_participant",
187
+ "term": "http://rdf.rhea-db.org/Compound_8524"
188
+ },
189
+ {
190
+ "concept": "CHEBI:75688",
191
+ "field": "http://rdf.rhea-db.org/Compound_8550",
192
+ "source": "rhea_participant",
193
+ "term": "http://rdf.rhea-db.org/Compound_8550"
194
+ },
195
+ {
196
+ "concept": "CHEBI:75729",
197
+ "field": "http://rdf.rhea-db.org/Compound_8556",
198
+ "source": "rhea_participant",
199
+ "term": "http://rdf.rhea-db.org/Compound_8556"
200
+ },
201
+ {
202
+ "concept": "CHEBI:75841",
203
+ "field": "http://rdf.rhea-db.org/Compound_8576",
204
+ "source": "rhea_participant",
205
+ "term": "http://rdf.rhea-db.org/Compound_8576"
206
+ },
207
+ {
208
+ "concept": "CHEBI:75844",
209
+ "field": "http://rdf.rhea-db.org/Compound_8579",
210
+ "source": "rhea_participant",
211
+ "term": "http://rdf.rhea-db.org/Compound_8579"
212
+ },
213
+ {
214
+ "concept": "CHEBI:75845",
215
+ "field": "http://rdf.rhea-db.org/Compound_8582",
216
+ "source": "rhea_participant",
217
+ "term": "http://rdf.rhea-db.org/Compound_8582"
218
+ },
219
+ {
220
+ "concept": "CHEBI:75846",
221
+ "field": "http://rdf.rhea-db.org/Compound_8585",
222
+ "source": "rhea_participant",
223
+ "term": "http://rdf.rhea-db.org/Compound_8585"
224
+ },
225
+ {
226
+ "concept": "CHEBI:75847",
227
+ "field": "http://rdf.rhea-db.org/Compound_8631",
228
+ "source": "rhea_participant",
229
+ "term": "http://rdf.rhea-db.org/Compound_8631"
230
+ },
231
+ {
232
+ "concept": "CHEBI:76978",
233
+ "field": "http://rdf.rhea-db.org/Compound_8997",
234
+ "source": "rhea_participant",
235
+ "term": "http://rdf.rhea-db.org/Compound_8997"
236
+ },
237
+ {
238
+ "concept": "CHEBI:35020",
239
+ "field": "http://rdf.rhea-db.org/Compound_9114",
240
+ "source": "rhea_participant",
241
+ "term": "http://rdf.rhea-db.org/Compound_9114"
242
+ },
243
+ {
244
+ "concept": "CHEBI:77386",
245
+ "field": "http://rdf.rhea-db.org/Compound_9146",
246
+ "source": "rhea_participant",
247
+ "term": "http://rdf.rhea-db.org/Compound_9146"
248
+ },
249
+ {
250
+ "concept": "CHEBI:77388",
251
+ "field": "http://rdf.rhea-db.org/Compound_9148",
252
+ "source": "rhea_participant",
253
+ "term": "http://rdf.rhea-db.org/Compound_9148"
254
+ },
255
+ {
256
+ "concept": "CHEBI:77389",
257
+ "field": "http://rdf.rhea-db.org/Compound_9150",
258
+ "source": "rhea_participant",
259
+ "term": "http://rdf.rhea-db.org/Compound_9150"
260
+ },
261
+ {
262
+ "concept": "CHEBI:77391",
263
+ "field": "http://rdf.rhea-db.org/Compound_9152",
264
+ "source": "rhea_participant",
265
+ "term": "http://rdf.rhea-db.org/Compound_9152"
266
+ },
267
+ {
268
+ "concept": "CHEBI:77393",
269
+ "field": "http://rdf.rhea-db.org/Compound_9154",
270
+ "source": "rhea_participant",
271
+ "term": "http://rdf.rhea-db.org/Compound_9154"
272
+ },
273
+ {
274
+ "concept": "CHEBI:45956",
275
+ "field": "http://rdf.rhea-db.org/Compound_9156",
276
+ "source": "rhea_participant",
277
+ "term": "http://rdf.rhea-db.org/Compound_9156"
278
+ },
279
+ {
280
+ "concept": "CHEBI:77683",
281
+ "field": "http://rdf.rhea-db.org/Compound_9256",
282
+ "source": "rhea_participant",
283
+ "term": "http://rdf.rhea-db.org/Compound_9256"
284
+ },
285
+ {
286
+ "concept": "CHEBI:77684",
287
+ "field": "http://rdf.rhea-db.org/Compound_9257",
288
+ "source": "rhea_participant",
289
+ "term": "http://rdf.rhea-db.org/Compound_9257"
290
+ },
291
+ {
292
+ "concept": "CHEBI:77685",
293
+ "field": "http://rdf.rhea-db.org/Compound_9258",
294
+ "source": "rhea_participant",
295
+ "term": "http://rdf.rhea-db.org/Compound_9258"
296
+ },
297
+ {
298
+ "concept": "CHEBI:77686",
299
+ "field": "http://rdf.rhea-db.org/Compound_9259",
300
+ "source": "rhea_participant",
301
+ "term": "http://rdf.rhea-db.org/Compound_9259"
302
+ },
303
+ {
304
+ "concept": "CHEBI:77623",
305
+ "field": "http://rdf.rhea-db.org/Compound_9270",
306
+ "source": "rhea_participant",
307
+ "term": "http://rdf.rhea-db.org/Compound_9270"
308
+ }
309
+ ],
310
+ "schema": "mappings/1.0"
311
+ }
core_worlds/private/artifacts/world_L04/gold/ontology.ttl ADDED
@@ -0,0 +1,126 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ @prefix corr: <http://example.org/corr#> .
2
+ @prefix owl: <http://www.w3.org/2002/07/owl#> .
3
+ @prefix rc: <http://example.org/rhea-chebi-core#> .
4
+ @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
5
+ @prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
6
+
7
+ rc:DirectionalReaction a owl:Class ;
8
+ rdfs:label "DirectionalReaction" ;
9
+ rdfs:comment "rdfs:subClassOf Reaction. A directional realization of a master reaction; its sides are referenced, not owned." ;
10
+ rdfs:subClassOf rc:Reaction .
11
+
12
+ rc:MasterReaction a owl:Class ;
13
+ rdfs:label "MasterReaction" ;
14
+ rdfs:comment "rdfs:subClassOf Reaction. A direction-neutral master reaction (RHEA:* accession); carries exactly two sides (L,R)." ;
15
+ rdfs:subClassOf rc:Reaction .
16
+
17
+ rc:Ontology a owl:Ontology ;
18
+ rdfs:label "Rhea / ChEBI gold ontology" ;
19
+ rdfs:comment "RULE layer only: class hierarchy, typed relations and axioms derived from the frozen spec vocabulary (pilot_worlds/world_L04_scaleup/spec/rhea_chebi.json). Instance facts live in the slice projection; task labels are never part of this artifact." ;
20
+ owl:versionInfo "rhea_chebi/0.2.0-scaleup" .
21
+
22
+ rc:accession a owl:DatatypeProperty ;
23
+ rdfs:comment "Relation 'accession' of the spec vocabulary." ;
24
+ rdfs:domain rc:Reaction ;
25
+ rdfs:range xsd:string .
26
+
27
+ rc:chebiId a owl:DatatypeProperty ;
28
+ rdfs:comment "Relation 'chebiId' of the spec vocabulary." ;
29
+ rdfs:domain rc:ChebiEntity ;
30
+ rdfs:range xsd:string .
31
+
32
+ rc:chebiRef a owl:FunctionalProperty,
33
+ owl:ObjectProperty ;
34
+ rdfs:comment "The crosswalk edge. Identity truth: published accession cross-references only; never name similarity." ;
35
+ rdfs:domain rc:Compound ;
36
+ rdfs:range rc:ChebiEntity .
37
+
38
+ rc:containsParticipant a owl:ObjectProperty ;
39
+ rdfs:comment "Relation 'containsParticipant' of the spec vocabulary." ;
40
+ rdfs:domain rc:Side ;
41
+ rdfs:range rc:Participant .
42
+
43
+ rc:deprecated a owl:DatatypeProperty ;
44
+ rdfs:comment "Relation 'deprecated' of the spec vocabulary." ;
45
+ rdfs:domain rc:ChebiEntity ;
46
+ rdfs:range xsd:boolean .
47
+
48
+ rc:equation a owl:DatatypeProperty ;
49
+ rdfs:comment "Relation 'equation' of the spec vocabulary." ;
50
+ rdfs:domain rc:Reaction ;
51
+ rdfs:range xsd:string .
52
+
53
+ rc:hasCompound a owl:FunctionalProperty,
54
+ owl:ObjectProperty ;
55
+ rdfs:comment "Relation 'hasCompound' of the spec vocabulary." ;
56
+ rdfs:domain rc:Participant ;
57
+ rdfs:range rc:Compound .
58
+
59
+ rc:isBalanced a owl:DatatypeProperty ;
60
+ rdfs:comment "Relation 'isBalanced' of the spec vocabulary." ;
61
+ rdfs:domain rc:Reaction ;
62
+ rdfs:range xsd:boolean .
63
+
64
+ rc:mapsToRef a owl:ObjectProperty ;
65
+ rdfs:comment "Present so the ontology carries an owl:ObjectProperty pair for the mapping layer; the mappings artifact itself is JSON (mappings/1.0)." ;
66
+ rdfs:domain rc:CrossReference ;
67
+ rdfs:range rc:ChebiEntity .
68
+
69
+ rc:sideKind a owl:DatatypeProperty ;
70
+ rdfs:comment "Relation 'sideKind' of the spec vocabulary." ;
71
+ rdfs:domain rc:Side ;
72
+ rdfs:range xsd:string .
73
+
74
+ rc:sideOf a owl:ObjectProperty ;
75
+ rdfs:comment "Relation 'sideOf' of the spec vocabulary." ;
76
+ rdfs:domain rc:Side ;
77
+ rdfs:range rc:Reaction ;
78
+ owl:inverseOf rc:hasSide .
79
+
80
+ rc:srcCompoundIri corr:mapsTo rc:Compound ;
81
+ rdfs:comment "Source field 'rhea_participant.compound' lifts to concept rc:Compound." .
82
+
83
+ rc:srcParticipantChebi corr:mapsTo rc:ChebiEntity ;
84
+ rdfs:comment "Source field 'rhea_participant.chebi' lifts to concept rc:ChebiEntity." .
85
+
86
+ rc:srcReactionAccession corr:mapsTo rc:Reaction ;
87
+ rdfs:comment "Source field 'rhea_reaction.rhea_id' lifts to concept rc:Reaction." .
88
+
89
+ rc:srcSideKind corr:mapsTo rc:Side ;
90
+ rdfs:comment "Source field 'rhea_participant.side' lifts to concept rc:Side." .
91
+
92
+ rc:status a owl:DatatypeProperty ;
93
+ rdfs:comment "Relation 'status' of the spec vocabulary." ;
94
+ rdfs:domain rc:Reaction ;
95
+ rdfs:range xsd:string .
96
+
97
+ rc:CrossReference a owl:Class ;
98
+ rdfs:label "CrossReference" ;
99
+ rdfs:comment "A cross-reference row from a master reaction to an external database (EC, GO, MetaCyc, ...)." .
100
+
101
+ rc:hasSide a owl:ObjectProperty ;
102
+ rdfs:comment "Relation 'hasSide' of the spec vocabulary." ;
103
+ rdfs:domain rc:Reaction ;
104
+ rdfs:range rc:Side .
105
+
106
+ rc:Participant a owl:Class ;
107
+ rdfs:label "Participant" ;
108
+ rdfs:comment "The occurrence of one compound on one side of one reaction." .
109
+
110
+ rc:Compound a owl:Class ;
111
+ rdfs:label "Compound" ;
112
+ rdfs:comment "A Rhea compound; its chemical identity is its chebiRef edge." .
113
+
114
+ rc:Side a owl:Class ;
115
+ rdfs:label "Side" ;
116
+ rdfs:comment "One side (L or R) of a master reaction; contains participants." .
117
+
118
+ rc:ChebiEntity a owl:Class ;
119
+ rdfs:label "ChebiEntity" ;
120
+ rdfs:comment "A ChEBI entity of the slice universe; carries chebiId and deprecated flag; hierarchy via rdfs:subClassOf." .
121
+
122
+ rc:Reaction a owl:Class ;
123
+ rdfs:label "Reaction" ;
124
+ rdfs:comment "A Rhea reaction record. Base class." ;
125
+ owl:disjointWith rc:ChebiEntity .
126
+
core_worlds/private/artifacts/world_L04/gold/shapes.ttl ADDED
@@ -0,0 +1,79 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ @prefix rc: <http://example.org/rhea-chebi-core#> .
2
+ @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
3
+ @prefix sh: <http://www.w3.org/ns/shacl#> .
4
+ @prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
5
+
6
+ rc:ChebiEntityShape a sh:NodeShape ;
7
+ sh:property [ sh:datatype xsd:boolean ;
8
+ sh:maxCount 1 ;
9
+ sh:minCount 1 ;
10
+ sh:path rc:deprecated ],
11
+ [ sh:datatype xsd:string ;
12
+ sh:maxCount 1 ;
13
+ sh:minCount 1 ;
14
+ sh:path rc:chebiId ;
15
+ sh:pattern "^CHEBI:[0-9]+$" ] ;
16
+ sh:targetClass rc:ChebiEntity .
17
+
18
+ rc:CompoundShape a sh:NodeShape ;
19
+ sh:property [ sh:class rc:ChebiEntity ;
20
+ sh:maxCount 1 ;
21
+ sh:minCount 1 ;
22
+ sh:nodeKind sh:IRI ;
23
+ sh:path rc:chebiRef ] ;
24
+ sh:targetClass rc:Compound .
25
+
26
+ rc:MasterReactionShape a sh:NodeShape ;
27
+ sh:property [ sh:class rc:Side ;
28
+ sh:maxCount 2 ;
29
+ sh:minCount 2 ;
30
+ sh:nodeKind sh:IRI ;
31
+ sh:path rc:hasSide ] ;
32
+ sh:targetClass rc:MasterReaction .
33
+
34
+ rc:ParticipantShape a sh:NodeShape ;
35
+ sh:property [ sh:class rc:Compound ;
36
+ sh:maxCount 1 ;
37
+ sh:minCount 1 ;
38
+ sh:nodeKind sh:IRI ;
39
+ sh:path rc:hasCompound ] ;
40
+ sh:targetClass rc:Participant .
41
+
42
+ rc:ReactionShape a sh:NodeShape ;
43
+ sh:property [ sh:datatype xsd:string ;
44
+ sh:in ( "Approved" "Preliminary" ) ;
45
+ sh:maxCount 1 ;
46
+ sh:minCount 1 ;
47
+ sh:path rc:status ],
48
+ [ sh:datatype xsd:string ;
49
+ sh:maxCount 1 ;
50
+ sh:minCount 1 ;
51
+ sh:path rc:equation ],
52
+ [ sh:datatype xsd:boolean ;
53
+ sh:maxCount 1 ;
54
+ sh:minCount 1 ;
55
+ sh:path rc:isBalanced ],
56
+ [ sh:datatype xsd:string ;
57
+ sh:maxCount 1 ;
58
+ sh:minCount 1 ;
59
+ sh:path rc:accession ;
60
+ sh:pattern "^RHEA:[0-9]+$" ] ;
61
+ sh:targetClass rc:Reaction .
62
+
63
+ rc:SideShape a sh:NodeShape ;
64
+ sh:property [ sh:datatype xsd:string ;
65
+ sh:in ( "L" "R" ) ;
66
+ sh:maxCount 1 ;
67
+ sh:minCount 1 ;
68
+ sh:path rc:sideKind ],
69
+ [ sh:class rc:Participant ;
70
+ sh:minCount 1 ;
71
+ sh:nodeKind sh:IRI ;
72
+ sh:path rc:containsParticipant ],
73
+ [ sh:class rc:Reaction ;
74
+ sh:maxCount 1 ;
75
+ sh:minCount 1 ;
76
+ sh:nodeKind sh:IRI ;
77
+ sh:path rc:sideOf ] ;
78
+ sh:targetClass rc:Side .
79
+
core_worlds/private/artifacts/world_L04/repaired/mappings.json ADDED
@@ -0,0 +1,311 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "entries": [
3
+ {
4
+ "concept": "CHEBI:85427",
5
+ "field": "http://rdf.rhea-db.org/Compound_11353",
6
+ "source": "rhea_participant",
7
+ "term": "http://rdf.rhea-db.org/Compound_11353"
8
+ },
9
+ {
10
+ "concept": "CHEBI:88153",
11
+ "field": "http://rdf.rhea-db.org/Compound_11975",
12
+ "source": "rhea_participant",
13
+ "term": "http://rdf.rhea-db.org/Compound_11975"
14
+ },
15
+ {
16
+ "concept": "CHEBI:9661",
17
+ "field": "http://rdf.rhea-db.org/Compound_11979",
18
+ "source": "rhea_participant",
19
+ "term": "http://rdf.rhea-db.org/Compound_11979"
20
+ },
21
+ {
22
+ "concept": "CHEBI:25941",
23
+ "field": "http://rdf.rhea-db.org/Compound_12917",
24
+ "source": "rhea_participant",
25
+ "term": "http://rdf.rhea-db.org/Compound_12917"
26
+ },
27
+ {
28
+ "concept": "CHEBI:140471",
29
+ "field": "http://rdf.rhea-db.org/Compound_14574",
30
+ "source": "rhea_participant",
31
+ "term": "http://rdf.rhea-db.org/Compound_14574"
32
+ },
33
+ {
34
+ "concept": "CHEBI:144774",
35
+ "field": "http://rdf.rhea-db.org/Compound_15863",
36
+ "source": "rhea_participant",
37
+ "term": "http://rdf.rhea-db.org/Compound_15863"
38
+ },
39
+ {
40
+ "concept": "CHEBI:147308",
41
+ "field": "http://rdf.rhea-db.org/Compound_16343",
42
+ "source": "rhea_participant",
43
+ "term": "http://rdf.rhea-db.org/Compound_16343"
44
+ },
45
+ {
46
+ "concept": "CHEBI:147311",
47
+ "field": "http://rdf.rhea-db.org/Compound_16347",
48
+ "source": "rhea_participant",
49
+ "term": "http://rdf.rhea-db.org/Compound_16347"
50
+ },
51
+ {
52
+ "concept": "CHEBI:177078",
53
+ "field": "http://rdf.rhea-db.org/Compound_17451",
54
+ "source": "rhea_participant",
55
+ "term": "http://rdf.rhea-db.org/Compound_17451"
56
+ },
57
+ {
58
+ "concept": "CHEBI:177079",
59
+ "field": "http://rdf.rhea-db.org/Compound_17452",
60
+ "source": "rhea_participant",
61
+ "term": "http://rdf.rhea-db.org/Compound_17452"
62
+ },
63
+ {
64
+ "concept": "CHEBI:177080",
65
+ "field": "http://rdf.rhea-db.org/Compound_17453",
66
+ "source": "rhea_participant",
67
+ "term": "http://rdf.rhea-db.org/Compound_17453"
68
+ },
69
+ {
70
+ "concept": "CHEBI:177083",
71
+ "field": "http://rdf.rhea-db.org/Compound_17455",
72
+ "source": "rhea_participant",
73
+ "term": "http://rdf.rhea-db.org/Compound_17455"
74
+ },
75
+ {
76
+ "concept": "CHEBI:177087",
77
+ "field": "http://rdf.rhea-db.org/Compound_17456",
78
+ "source": "rhea_participant",
79
+ "term": "http://rdf.rhea-db.org/Compound_17456"
80
+ },
81
+ {
82
+ "concept": "CHEBI:177088",
83
+ "field": "http://rdf.rhea-db.org/Compound_17457",
84
+ "source": "rhea_participant",
85
+ "term": "http://rdf.rhea-db.org/Compound_17457"
86
+ },
87
+ {
88
+ "concept": "CHEBI:194143",
89
+ "field": "http://rdf.rhea-db.org/Compound_18464",
90
+ "source": "rhea_participant",
91
+ "term": "http://rdf.rhea-db.org/Compound_18464"
92
+ },
93
+ {
94
+ "concept": "CHEBI:228231",
95
+ "field": "http://rdf.rhea-db.org/Compound_19033",
96
+ "source": "rhea_participant",
97
+ "term": "http://rdf.rhea-db.org/Compound_19033"
98
+ },
99
+ {
100
+ "concept": "CHEBI:228232",
101
+ "field": "http://rdf.rhea-db.org/Compound_19034",
102
+ "source": "rhea_participant",
103
+ "term": "http://rdf.rhea-db.org/Compound_19034"
104
+ },
105
+ {
106
+ "concept": "CHEBI:28787",
107
+ "field": "http://rdf.rhea-db.org/Compound_19371",
108
+ "source": "rhea_participant",
109
+ "term": "http://rdf.rhea-db.org/Compound_19371"
110
+ },
111
+ {
112
+ "concept": "CHEBI:18898",
113
+ "field": "http://rdf.rhea-db.org/Compound_19372",
114
+ "source": "rhea_participant",
115
+ "term": "http://rdf.rhea-db.org/Compound_19372"
116
+ },
117
+ {
118
+ "concept": "CHEBI:18921",
119
+ "field": "http://rdf.rhea-db.org/Compound_19373",
120
+ "source": "rhea_participant",
121
+ "term": "http://rdf.rhea-db.org/Compound_19373"
122
+ },
123
+ {
124
+ "concept": "CHEBI:19720",
125
+ "field": "http://rdf.rhea-db.org/Compound_19374",
126
+ "source": "rhea_participant",
127
+ "term": "http://rdf.rhea-db.org/Compound_19374"
128
+ },
129
+ {
130
+ "concept": "CHEBI:19070",
131
+ "field": "http://rdf.rhea-db.org/Compound_19375",
132
+ "source": "rhea_participant",
133
+ "term": "http://rdf.rhea-db.org/Compound_19375"
134
+ },
135
+ {
136
+ "concept": "CHEBI:25879",
137
+ "field": "http://rdf.rhea-db.org/Compound_19376",
138
+ "source": "rhea_participant",
139
+ "term": "http://rdf.rhea-db.org/Compound_19376"
140
+ },
141
+ {
142
+ "concept": "CHEBI:135114",
143
+ "field": "http://rdf.rhea-db.org/Compound_19377",
144
+ "source": "rhea_participant",
145
+ "term": "http://rdf.rhea-db.org/Compound_19377"
146
+ },
147
+ {
148
+ "concept": "CHEBI:25877",
149
+ "field": "http://rdf.rhea-db.org/Compound_19378",
150
+ "source": "rhea_participant",
151
+ "term": "http://rdf.rhea-db.org/Compound_19378"
152
+ },
153
+ {
154
+ "concept": "CHEBI:16480",
155
+ "field": "http://rdf.rhea-db.org/Compound_4048",
156
+ "source": "rhea_participant",
157
+ "term": "http://rdf.rhea-db.org/Compound_4048"
158
+ },
159
+ {
160
+ "concept": "CHEBI:17632",
161
+ "field": "http://rdf.rhea-db.org/Compound_5436",
162
+ "source": "rhea_participant",
163
+ "term": "http://rdf.rhea-db.org/Compound_5436"
164
+ },
165
+ {
166
+ "concept": "CHEBI:16301",
167
+ "field": "http://rdf.rhea-db.org/Compound_6016",
168
+ "source": "rhea_participant",
169
+ "term": "http://rdf.rhea-db.org/Compound_6016"
170
+ },
171
+ {
172
+ "concept": "CHEBI:64615",
173
+ "field": "http://rdf.rhea-db.org/Compound_7184",
174
+ "source": "rhea_participant",
175
+ "term": "http://rdf.rhea-db.org/Compound_7184"
176
+ },
177
+ {
178
+ "concept": "CHEBI:53753",
179
+ "field": "http://rdf.rhea-db.org/Compound_7375",
180
+ "source": "rhea_participant",
181
+ "term": "http://rdf.rhea-db.org/Compound_7375"
182
+ },
183
+ {
184
+ "concept": "CHEBI:75583",
185
+ "field": "http://rdf.rhea-db.org/Compound_8524",
186
+ "source": "rhea_participant",
187
+ "term": "http://rdf.rhea-db.org/Compound_8524"
188
+ },
189
+ {
190
+ "concept": "CHEBI:75688",
191
+ "field": "http://rdf.rhea-db.org/Compound_8550",
192
+ "source": "rhea_participant",
193
+ "term": "http://rdf.rhea-db.org/Compound_8550"
194
+ },
195
+ {
196
+ "concept": "CHEBI:75729",
197
+ "field": "http://rdf.rhea-db.org/Compound_8556",
198
+ "source": "rhea_participant",
199
+ "term": "http://rdf.rhea-db.org/Compound_8556"
200
+ },
201
+ {
202
+ "concept": "CHEBI:75841",
203
+ "field": "http://rdf.rhea-db.org/Compound_8576",
204
+ "source": "rhea_participant",
205
+ "term": "http://rdf.rhea-db.org/Compound_8576"
206
+ },
207
+ {
208
+ "concept": "CHEBI:75844",
209
+ "field": "http://rdf.rhea-db.org/Compound_8579",
210
+ "source": "rhea_participant",
211
+ "term": "http://rdf.rhea-db.org/Compound_8579"
212
+ },
213
+ {
214
+ "concept": "CHEBI:75845",
215
+ "field": "http://rdf.rhea-db.org/Compound_8582",
216
+ "source": "rhea_participant",
217
+ "term": "http://rdf.rhea-db.org/Compound_8582"
218
+ },
219
+ {
220
+ "concept": "CHEBI:75846",
221
+ "field": "http://rdf.rhea-db.org/Compound_8585",
222
+ "source": "rhea_participant",
223
+ "term": "http://rdf.rhea-db.org/Compound_8585"
224
+ },
225
+ {
226
+ "concept": "CHEBI:75847",
227
+ "field": "http://rdf.rhea-db.org/Compound_8631",
228
+ "source": "rhea_participant",
229
+ "term": "http://rdf.rhea-db.org/Compound_8631"
230
+ },
231
+ {
232
+ "concept": "CHEBI:76978",
233
+ "field": "http://rdf.rhea-db.org/Compound_8997",
234
+ "source": "rhea_participant",
235
+ "term": "http://rdf.rhea-db.org/Compound_8997"
236
+ },
237
+ {
238
+ "concept": "CHEBI:35020",
239
+ "field": "http://rdf.rhea-db.org/Compound_9114",
240
+ "source": "rhea_participant",
241
+ "term": "http://rdf.rhea-db.org/Compound_9114"
242
+ },
243
+ {
244
+ "concept": "CHEBI:77386",
245
+ "field": "http://rdf.rhea-db.org/Compound_9146",
246
+ "source": "rhea_participant",
247
+ "term": "http://rdf.rhea-db.org/Compound_9146"
248
+ },
249
+ {
250
+ "concept": "CHEBI:77388",
251
+ "field": "http://rdf.rhea-db.org/Compound_9148",
252
+ "source": "rhea_participant",
253
+ "term": "http://rdf.rhea-db.org/Compound_9148"
254
+ },
255
+ {
256
+ "concept": "CHEBI:77389",
257
+ "field": "http://rdf.rhea-db.org/Compound_9150",
258
+ "source": "rhea_participant",
259
+ "term": "http://rdf.rhea-db.org/Compound_9150"
260
+ },
261
+ {
262
+ "concept": "CHEBI:77391",
263
+ "field": "http://rdf.rhea-db.org/Compound_9152",
264
+ "source": "rhea_participant",
265
+ "term": "http://rdf.rhea-db.org/Compound_9152"
266
+ },
267
+ {
268
+ "concept": "CHEBI:77393",
269
+ "field": "http://rdf.rhea-db.org/Compound_9154",
270
+ "source": "rhea_participant",
271
+ "term": "http://rdf.rhea-db.org/Compound_9154"
272
+ },
273
+ {
274
+ "concept": "CHEBI:45956",
275
+ "field": "http://rdf.rhea-db.org/Compound_9156",
276
+ "source": "rhea_participant",
277
+ "term": "http://rdf.rhea-db.org/Compound_9156"
278
+ },
279
+ {
280
+ "concept": "CHEBI:77683",
281
+ "field": "http://rdf.rhea-db.org/Compound_9256",
282
+ "source": "rhea_participant",
283
+ "term": "http://rdf.rhea-db.org/Compound_9256"
284
+ },
285
+ {
286
+ "concept": "CHEBI:77684",
287
+ "field": "http://rdf.rhea-db.org/Compound_9257",
288
+ "source": "rhea_participant",
289
+ "term": "http://rdf.rhea-db.org/Compound_9257"
290
+ },
291
+ {
292
+ "concept": "CHEBI:77685",
293
+ "field": "http://rdf.rhea-db.org/Compound_9258",
294
+ "source": "rhea_participant",
295
+ "term": "http://rdf.rhea-db.org/Compound_9258"
296
+ },
297
+ {
298
+ "concept": "CHEBI:77686",
299
+ "field": "http://rdf.rhea-db.org/Compound_9259",
300
+ "source": "rhea_participant",
301
+ "term": "http://rdf.rhea-db.org/Compound_9259"
302
+ },
303
+ {
304
+ "concept": "CHEBI:77623",
305
+ "field": "http://rdf.rhea-db.org/Compound_9270",
306
+ "source": "rhea_participant",
307
+ "term": "http://rdf.rhea-db.org/Compound_9270"
308
+ }
309
+ ],
310
+ "schema": "mappings/1.0"
311
+ }
core_worlds/private/artifacts/world_L04/repaired/ontology.ttl ADDED
@@ -0,0 +1,126 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ @prefix corr: <http://example.org/corr#> .
2
+ @prefix owl: <http://www.w3.org/2002/07/owl#> .
3
+ @prefix rc: <http://example.org/rhea-chebi-core#> .
4
+ @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
5
+ @prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
6
+
7
+ rc:DirectionalReaction a owl:Class ;
8
+ rdfs:label "DirectionalReaction" ;
9
+ rdfs:comment "rdfs:subClassOf Reaction. A directional realization of a master reaction; its sides are referenced, not owned." ;
10
+ rdfs:subClassOf rc:Reaction .
11
+
12
+ rc:MasterReaction a owl:Class ;
13
+ rdfs:label "MasterReaction" ;
14
+ rdfs:comment "rdfs:subClassOf Reaction. A direction-neutral master reaction (RHEA:* accession); carries exactly two sides (L,R)." ;
15
+ rdfs:subClassOf rc:Reaction .
16
+
17
+ rc:Ontology a owl:Ontology ;
18
+ rdfs:label "Rhea / ChEBI gold ontology" ;
19
+ rdfs:comment "RULE layer only: class hierarchy, typed relations and axioms derived from the frozen spec vocabulary (pilot_worlds/world_L04_scaleup/spec/rhea_chebi.json). Instance facts live in the slice projection; task labels are never part of this artifact." ;
20
+ owl:versionInfo "rhea_chebi/0.2.0-scaleup" .
21
+
22
+ rc:accession a owl:DatatypeProperty ;
23
+ rdfs:comment "Relation 'accession' of the spec vocabulary." ;
24
+ rdfs:domain rc:Reaction ;
25
+ rdfs:range xsd:string .
26
+
27
+ rc:chebiId a owl:DatatypeProperty ;
28
+ rdfs:comment "Relation 'chebiId' of the spec vocabulary." ;
29
+ rdfs:domain rc:ChebiEntity ;
30
+ rdfs:range xsd:string .
31
+
32
+ rc:chebiRef a owl:FunctionalProperty,
33
+ owl:ObjectProperty ;
34
+ rdfs:comment "The crosswalk edge. Identity truth: published accession cross-references only; never name similarity." ;
35
+ rdfs:domain rc:Compound ;
36
+ rdfs:range rc:ChebiEntity .
37
+
38
+ rc:containsParticipant a owl:ObjectProperty ;
39
+ rdfs:comment "Relation 'containsParticipant' of the spec vocabulary." ;
40
+ rdfs:domain rc:Side ;
41
+ rdfs:range rc:Participant .
42
+
43
+ rc:deprecated a owl:DatatypeProperty ;
44
+ rdfs:comment "Relation 'deprecated' of the spec vocabulary." ;
45
+ rdfs:domain rc:ChebiEntity ;
46
+ rdfs:range xsd:boolean .
47
+
48
+ rc:equation a owl:DatatypeProperty ;
49
+ rdfs:comment "Relation 'equation' of the spec vocabulary." ;
50
+ rdfs:domain rc:Reaction ;
51
+ rdfs:range xsd:string .
52
+
53
+ rc:hasCompound a owl:FunctionalProperty,
54
+ owl:ObjectProperty ;
55
+ rdfs:comment "Relation 'hasCompound' of the spec vocabulary." ;
56
+ rdfs:domain rc:Participant ;
57
+ rdfs:range rc:Compound .
58
+
59
+ rc:isBalanced a owl:DatatypeProperty ;
60
+ rdfs:comment "Relation 'isBalanced' of the spec vocabulary." ;
61
+ rdfs:domain rc:Reaction ;
62
+ rdfs:range xsd:boolean .
63
+
64
+ rc:mapsToRef a owl:ObjectProperty ;
65
+ rdfs:comment "Present so the ontology carries an owl:ObjectProperty pair for the mapping layer; the mappings artifact itself is JSON (mappings/1.0)." ;
66
+ rdfs:domain rc:CrossReference ;
67
+ rdfs:range rc:ChebiEntity .
68
+
69
+ rc:sideKind a owl:DatatypeProperty ;
70
+ rdfs:comment "Relation 'sideKind' of the spec vocabulary." ;
71
+ rdfs:domain rc:Side ;
72
+ rdfs:range xsd:string .
73
+
74
+ rc:sideOf a owl:ObjectProperty ;
75
+ rdfs:comment "Relation 'sideOf' of the spec vocabulary." ;
76
+ rdfs:domain rc:Side ;
77
+ rdfs:range rc:Reaction ;
78
+ owl:inverseOf rc:hasSide .
79
+
80
+ rc:srcCompoundIri corr:mapsTo rc:Compound ;
81
+ rdfs:comment "Source field 'rhea_participant.compound' lifts to concept rc:Compound." .
82
+
83
+ rc:srcParticipantChebi corr:mapsTo rc:ChebiEntity ;
84
+ rdfs:comment "Source field 'rhea_participant.chebi' lifts to concept rc:ChebiEntity." .
85
+
86
+ rc:srcReactionAccession corr:mapsTo rc:Reaction ;
87
+ rdfs:comment "Source field 'rhea_reaction.rhea_id' lifts to concept rc:Reaction." .
88
+
89
+ rc:srcSideKind corr:mapsTo rc:Side ;
90
+ rdfs:comment "Source field 'rhea_participant.side' lifts to concept rc:Side." .
91
+
92
+ rc:status a owl:DatatypeProperty ;
93
+ rdfs:comment "Relation 'status' of the spec vocabulary." ;
94
+ rdfs:domain rc:Reaction ;
95
+ rdfs:range xsd:string .
96
+
97
+ rc:CrossReference a owl:Class ;
98
+ rdfs:label "CrossReference" ;
99
+ rdfs:comment "A cross-reference row from a master reaction to an external database (EC, GO, MetaCyc, ...)." .
100
+
101
+ rc:hasSide a owl:ObjectProperty ;
102
+ rdfs:comment "Relation 'hasSide' of the spec vocabulary." ;
103
+ rdfs:domain rc:Reaction ;
104
+ rdfs:range rc:Side .
105
+
106
+ rc:Participant a owl:Class ;
107
+ rdfs:label "Participant" ;
108
+ rdfs:comment "The occurrence of one compound on one side of one reaction." .
109
+
110
+ rc:Compound a owl:Class ;
111
+ rdfs:label "Compound" ;
112
+ rdfs:comment "A Rhea compound; its chemical identity is its chebiRef edge." .
113
+
114
+ rc:Side a owl:Class ;
115
+ rdfs:label "Side" ;
116
+ rdfs:comment "One side (L or R) of a master reaction; contains participants." .
117
+
118
+ rc:ChebiEntity a owl:Class ;
119
+ rdfs:label "ChebiEntity" ;
120
+ rdfs:comment "A ChEBI entity of the slice universe; carries chebiId and deprecated flag; hierarchy via rdfs:subClassOf." .
121
+
122
+ rc:Reaction a owl:Class ;
123
+ rdfs:label "Reaction" ;
124
+ rdfs:comment "A Rhea reaction record. Base class." ;
125
+ owl:disjointWith rc:ChebiEntity .
126
+
core_worlds/private/artifacts/world_L04/repaired/shapes.ttl ADDED
@@ -0,0 +1,79 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ @prefix rc: <http://example.org/rhea-chebi-core#> .
2
+ @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
3
+ @prefix sh: <http://www.w3.org/ns/shacl#> .
4
+ @prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
5
+
6
+ rc:ChebiEntityShape a sh:NodeShape ;
7
+ sh:property [ sh:datatype xsd:boolean ;
8
+ sh:maxCount 1 ;
9
+ sh:minCount 1 ;
10
+ sh:path rc:deprecated ],
11
+ [ sh:datatype xsd:string ;
12
+ sh:maxCount 1 ;
13
+ sh:minCount 1 ;
14
+ sh:path rc:chebiId ;
15
+ sh:pattern "^CHEBI:[0-9]+$" ] ;
16
+ sh:targetClass rc:ChebiEntity .
17
+
18
+ rc:CompoundShape a sh:NodeShape ;
19
+ sh:property [ sh:class rc:ChebiEntity ;
20
+ sh:maxCount 1 ;
21
+ sh:minCount 1 ;
22
+ sh:nodeKind sh:IRI ;
23
+ sh:path rc:chebiRef ] ;
24
+ sh:targetClass rc:Compound .
25
+
26
+ rc:MasterReactionShape a sh:NodeShape ;
27
+ sh:property [ sh:class rc:Side ;
28
+ sh:maxCount 2 ;
29
+ sh:minCount 2 ;
30
+ sh:nodeKind sh:IRI ;
31
+ sh:path rc:hasSide ] ;
32
+ sh:targetClass rc:MasterReaction .
33
+
34
+ rc:ParticipantShape a sh:NodeShape ;
35
+ sh:property [ sh:class rc:Compound ;
36
+ sh:maxCount 1 ;
37
+ sh:minCount 1 ;
38
+ sh:nodeKind sh:IRI ;
39
+ sh:path rc:hasCompound ] ;
40
+ sh:targetClass rc:Participant .
41
+
42
+ rc:ReactionShape a sh:NodeShape ;
43
+ sh:property [ sh:datatype xsd:string ;
44
+ sh:in ( "Approved" "Preliminary" ) ;
45
+ sh:maxCount 1 ;
46
+ sh:minCount 1 ;
47
+ sh:path rc:status ],
48
+ [ sh:datatype xsd:string ;
49
+ sh:maxCount 1 ;
50
+ sh:minCount 1 ;
51
+ sh:path rc:equation ],
52
+ [ sh:datatype xsd:boolean ;
53
+ sh:maxCount 1 ;
54
+ sh:minCount 1 ;
55
+ sh:path rc:isBalanced ],
56
+ [ sh:datatype xsd:string ;
57
+ sh:maxCount 1 ;
58
+ sh:minCount 1 ;
59
+ sh:path rc:accession ;
60
+ sh:pattern "^RHEA:[0-9]+$" ] ;
61
+ sh:targetClass rc:Reaction .
62
+
63
+ rc:SideShape a sh:NodeShape ;
64
+ sh:property [ sh:datatype xsd:string ;
65
+ sh:in ( "L" "R" ) ;
66
+ sh:maxCount 1 ;
67
+ sh:minCount 1 ;
68
+ sh:path rc:sideKind ],
69
+ [ sh:class rc:Participant ;
70
+ sh:minCount 1 ;
71
+ sh:nodeKind sh:IRI ;
72
+ sh:path rc:containsParticipant ],
73
+ [ sh:class rc:Reaction ;
74
+ sh:maxCount 1 ;
75
+ sh:minCount 1 ;
76
+ sh:nodeKind sh:IRI ;
77
+ sh:path rc:sideOf ] ;
78
+ sh:targetClass rc:Side .
79
+
core_worlds/private/artifacts/world_L04/variants.json ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "corrupt": {
3
+ "corruption_manifest": "pack/private/corruption_manifest.json",
4
+ "ontology_sha256": "8abd4b3b36f151a2d6d6685019643b82d889e9c873aa170ead8b512ddff9cbf5",
5
+ "shapes_sha256": "d73a98344fd6094fd17acaa2904030f81ebf7e4c0b428435b37134d7927c9f8d"
6
+ },
7
+ "gold": {
8
+ "ontology_sha256": "9bcc489f969eaf6eee138a10e135a1f8e9d02cd8413286a9d3e7bf73cb1c3b6d",
9
+ "shapes_sha256": "8156d1bdeaf25545a9f9f3ceff94a77f52d799c7c459fbafed49fc91e4890bfd"
10
+ },
11
+ "mappings_identical_across_variants": true,
12
+ "repaired": {
13
+ "note": "repaired reference == gold bytes; the corrupt -> gold delta is exactly the corruption manifest diff",
14
+ "ontology_sha256": "9bcc489f969eaf6eee138a10e135a1f8e9d02cd8413286a9d3e7bf73cb1c3b6d",
15
+ "shapes_sha256": "8156d1bdeaf25545a9f9f3ceff94a77f52d799c7c459fbafed49fc91e4890bfd"
16
+ },
17
+ "schema": "aob-world-l04-variants/1.0"
18
+ }
core_worlds/private/artifacts/world_L05/corrupt/corruption_manifest.json ADDED
@@ -0,0 +1,198 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "error_count": 8,
3
+ "errors": [
4
+ {
5
+ "added_statements": [
6
+ "<http://example.org/rdkit-molecules-core#AromaticSubgroup> <http://www.w3.org/2000/01/rdf-schema#subClassOf> <http://example.org/rdkit-molecules-core#Molecule> ."
7
+ ],
8
+ "artifact": "ontology",
9
+ "error_type": "wrong_subclassof",
10
+ "index": 0,
11
+ "params": {
12
+ "child": "http://example.org/rdkit-molecules-core#AromaticSubgroup",
13
+ "wrong_parent": "http://example.org/rdkit-molecules-core#Molecule"
14
+ },
15
+ "rationale": "Re-pointed http://example.org/rdkit-molecules-core#AromaticSubgroup from its gold superclass http://example.org/rdkit-molecules-core#Subgroup to http://example.org/rdkit-molecules-core#Molecule, inverting the intended class hierarchy.",
16
+ "removed_statements": [
17
+ "<http://example.org/rdkit-molecules-core#AromaticSubgroup> <http://www.w3.org/2000/01/rdf-schema#subClassOf> <http://example.org/rdkit-molecules-core#Subgroup> ."
18
+ ],
19
+ "requested_params": {
20
+ "child": "http://example.org/rdkit-molecules-core#AromaticSubgroup",
21
+ "wrong_parent": "http://example.org/rdkit-molecules-core#Molecule"
22
+ },
23
+ "seed": 20261118,
24
+ "target_statements": [
25
+ "<http://example.org/rdkit-molecules-core#AromaticSubgroup> <http://www.w3.org/2000/01/rdf-schema#subClassOf> <http://example.org/rdkit-molecules-core#Subgroup> ."
26
+ ]
27
+ },
28
+ {
29
+ "added_statements": [],
30
+ "artifact": "ontology",
31
+ "error_type": "concept_omission",
32
+ "index": 1,
33
+ "params": {
34
+ "target": "http://example.org/rdkit-molecules-core#FunctionalGroup"
35
+ },
36
+ "rationale": "Dropped the concept declaration http://www.w3.org/2002/07/owl#Class; downstream queries can no longer recognise http://example.org/rdkit-molecules-core#FunctionalGroup as a http://www.w3.org/2002/07/owl#Class.",
37
+ "removed_statements": [
38
+ "<http://example.org/rdkit-molecules-core#FunctionalGroup> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Class> ."
39
+ ],
40
+ "requested_params": {
41
+ "target": "http://example.org/rdkit-molecules-core#FunctionalGroup"
42
+ },
43
+ "seed": 20261118,
44
+ "target_statements": [
45
+ "<http://example.org/rdkit-molecules-core#FunctionalGroup> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Class> ."
46
+ ]
47
+ },
48
+ {
49
+ "added_statements": [
50
+ "<http://example.org/rdkit-molecules-core#hasFunctionalGroup> <http://www.w3.org/2002/07/owl#inverseOf> <http://example.org/rdkit-molecules-core#subgroupOf> ."
51
+ ],
52
+ "artifact": "ontology",
53
+ "error_type": "inverse_relation",
54
+ "index": 2,
55
+ "params": {
56
+ "property": "http://example.org/rdkit-molecules-core#hasFunctionalGroup",
57
+ "wrong_inverse_of": "http://example.org/rdkit-molecules-core#subgroupOf"
58
+ },
59
+ "rationale": "Replaced the correct inverse http://example.org/rdkit-molecules-core#hasFunctionalGroup owl:inverseOf http://example.org/rdkit-molecules-core#hasMember with http://example.org/rdkit-molecules-core#subgroupOf, so the relation now points the wrong way.",
60
+ "removed_statements": [
61
+ "<http://example.org/rdkit-molecules-core#hasFunctionalGroup> <http://www.w3.org/2002/07/owl#inverseOf> <http://example.org/rdkit-molecules-core#hasMember> ."
62
+ ],
63
+ "requested_params": {
64
+ "property": "http://example.org/rdkit-molecules-core#hasFunctionalGroup",
65
+ "wrong_inverse_of": "http://example.org/rdkit-molecules-core#subgroupOf"
66
+ },
67
+ "seed": 20261118,
68
+ "target_statements": [
69
+ "<http://example.org/rdkit-molecules-core#hasFunctionalGroup> <http://www.w3.org/2002/07/owl#inverseOf> <http://example.org/rdkit-molecules-core#hasMember> ."
70
+ ]
71
+ },
72
+ {
73
+ "added_statements": [
74
+ "<http://example.org/rdkit-molecules-core#hasFunctionalGroup> <http://www.w3.org/2000/01/rdf-schema#range> <http://example.org/rdkit-molecules-core#Molecule> ."
75
+ ],
76
+ "artifact": "ontology",
77
+ "error_type": "domain_range_mismatch",
78
+ "index": 3,
79
+ "params": {
80
+ "kind": "range",
81
+ "property": "http://example.org/rdkit-molecules-core#hasFunctionalGroup",
82
+ "wrong": "http://example.org/rdkit-molecules-core#Molecule"
83
+ },
84
+ "rationale": "Changed http://example.org/rdkit-molecules-core#hasFunctionalGroup range from http://example.org/rdkit-molecules-core#FunctionalGroup to http://example.org/rdkit-molecules-core#Molecule, making the domain/range declaration inconsistent with the relation's intended use.",
85
+ "removed_statements": [
86
+ "<http://example.org/rdkit-molecules-core#hasFunctionalGroup> <http://www.w3.org/2000/01/rdf-schema#range> <http://example.org/rdkit-molecules-core#FunctionalGroup> ."
87
+ ],
88
+ "requested_params": {
89
+ "kind": "range",
90
+ "property": "http://example.org/rdkit-molecules-core#hasFunctionalGroup",
91
+ "wrong": "http://example.org/rdkit-molecules-core#Molecule"
92
+ },
93
+ "seed": 20261118,
94
+ "target_statements": [
95
+ "<http://example.org/rdkit-molecules-core#hasFunctionalGroup> <http://www.w3.org/2000/01/rdf-schema#range> <http://example.org/rdkit-molecules-core#FunctionalGroup> ."
96
+ ]
97
+ },
98
+ {
99
+ "added_statements": [],
100
+ "artifact": "shapes",
101
+ "error_type": "missing_cardinality",
102
+ "index": 4,
103
+ "params": {
104
+ "constraint": "minCount",
105
+ "path": "http://example.org/rdkit-molecules-core#chebiId"
106
+ },
107
+ "rationale": "Removed minCount of the property shape on http://example.org/rdkit-molecules-core#chebiId; instances violating the cardinality now validate, hiding a required constraint.",
108
+ "removed_statements": [
109
+ "_:cb278b9ffcbc945e467cab2fcf377b1bc049bedaab749687ed017f4d60682561d8e <http://www.w3.org/ns/shacl#minCount> \"1\"^^<http://www.w3.org/2001/XMLSchema#integer> ."
110
+ ],
111
+ "requested_params": {
112
+ "constraint": "minCount",
113
+ "path": "http://example.org/rdkit-molecules-core#chebiId"
114
+ },
115
+ "seed": 20261118,
116
+ "target_statements": [
117
+ "<http://example.org/rdkit-molecules-core#MoleculeShape> <http://www.w3.org/ns/shacl#property> _:cb278b9ffcbc945e467cab2fcf377b1bc049bedaab749687ed017f4d60682561d8e .",
118
+ "_:cb278b9ffcbc945e467cab2fcf377b1bc049bedaab749687ed017f4d60682561d8e <http://www.w3.org/ns/shacl#minCount> \"1\"^^<http://www.w3.org/2001/XMLSchema#integer> .",
119
+ "_:cb278b9ffcbc945e467cab2fcf377b1bc049bedaab749687ed017f4d60682561d8e <http://www.w3.org/ns/shacl#path> <http://example.org/rdkit-molecules-core#chebiId> ."
120
+ ]
121
+ },
122
+ {
123
+ "added_statements": [
124
+ "<http://example.org/rdkit-molecules-core#MoleculeShape> <http://www.w3.org/ns/shacl#closed> \"true\"^^<http://www.w3.org/2001/XMLSchema#boolean> ."
125
+ ],
126
+ "artifact": "shapes",
127
+ "error_type": "incorrect_closed_world",
128
+ "index": 5,
129
+ "params": {
130
+ "shape": "http://example.org/rdkit-molecules-core#MoleculeShape"
131
+ },
132
+ "rationale": "Added sh:closed true to http://example.org/rdkit-molecules-core#MoleculeShape, imposing a closed-world assumption on a shape whose semantics are open-world.",
133
+ "removed_statements": [],
134
+ "requested_params": {
135
+ "shape": "http://example.org/rdkit-molecules-core#MoleculeShape"
136
+ },
137
+ "seed": 20261118,
138
+ "target_statements": [
139
+ "<http://example.org/rdkit-molecules-core#MoleculeShape> <http://www.w3.org/ns/shacl#targetClass> <http://example.org/rdkit-molecules-core#Molecule> ."
140
+ ]
141
+ },
142
+ {
143
+ "added_statements": [
144
+ "<http://example.org/rdkit-molecules-core#TopLevelGroupShape> <http://www.w3.org/ns/shacl#targetClass> <http://example.org/rdkit-molecules-core#FunctionalGroup> ."
145
+ ],
146
+ "artifact": "shapes",
147
+ "error_type": "overgeneralization",
148
+ "index": 6,
149
+ "params": {
150
+ "shape": "http://example.org/rdkit-molecules-core#TopLevelGroupShape",
151
+ "to_superclass": "http://example.org/rdkit-molecules-core#FunctionalGroup"
152
+ },
153
+ "rationale": "Moved http://example.org/rdkit-molecules-core#TopLevelGroupShape from targetClass http://example.org/rdkit-molecules-core#TopLevelGroup to the broader superclass http://example.org/rdkit-molecules-core#FunctionalGroup, so the constraint now applies to entities it was never meant to cover.",
154
+ "removed_statements": [
155
+ "<http://example.org/rdkit-molecules-core#TopLevelGroupShape> <http://www.w3.org/ns/shacl#targetClass> <http://example.org/rdkit-molecules-core#TopLevelGroup> ."
156
+ ],
157
+ "requested_params": {
158
+ "shape": "http://example.org/rdkit-molecules-core#TopLevelGroupShape",
159
+ "to_superclass": "http://example.org/rdkit-molecules-core#FunctionalGroup"
160
+ },
161
+ "seed": 20261118,
162
+ "target_statements": [
163
+ "<http://example.org/rdkit-molecules-core#TopLevelGroup> <http://www.w3.org/2000/01/rdf-schema#subClassOf> <http://example.org/rdkit-molecules-core#FunctionalGroup> .",
164
+ "<http://example.org/rdkit-molecules-core#TopLevelGroupShape> <http://www.w3.org/ns/shacl#targetClass> <http://example.org/rdkit-molecules-core#TopLevelGroup> ."
165
+ ]
166
+ },
167
+ {
168
+ "added_statements": [
169
+ "<http://example.org/rdkit-molecules-core#srcGroupLabel> <http://example.org/corr#mapsTo> <http://example.org/rdkit-molecules-core#Molecule> ."
170
+ ],
171
+ "artifact": "ontology",
172
+ "error_type": "wrong_data_to_concept_mapping",
173
+ "index": 7,
174
+ "params": {
175
+ "predicate": "http://example.org/corr#mapsTo",
176
+ "source": "http://example.org/rdkit-molecules-core#srcGroupLabel",
177
+ "wrong_concept": "http://example.org/rdkit-molecules-core#Molecule"
178
+ },
179
+ "rationale": "Redirected the mapping for http://example.org/rdkit-molecules-core#srcGroupLabel from http://example.org/rdkit-molecules-core#FunctionalGroup to http://example.org/rdkit-molecules-core#Molecule, so source data is lifted into the wrong concept.",
180
+ "removed_statements": [
181
+ "<http://example.org/rdkit-molecules-core#srcGroupLabel> <http://example.org/corr#mapsTo> <http://example.org/rdkit-molecules-core#FunctionalGroup> ."
182
+ ],
183
+ "requested_params": {
184
+ "source": "http://example.org/rdkit-molecules-core#srcGroupLabel",
185
+ "wrong_concept": "http://example.org/rdkit-molecules-core#Molecule"
186
+ },
187
+ "seed": 20261118,
188
+ "target_statements": [
189
+ "<http://example.org/rdkit-molecules-core#srcGroupLabel> <http://example.org/corr#mapsTo> <http://example.org/rdkit-molecules-core#FunctionalGroup> ."
190
+ ]
191
+ }
192
+ ],
193
+ "gold_ontology_sha256": "cf2e522db64c1e288a57b210db0b112ddd5a12b4041b3e958219578c94647b39",
194
+ "gold_shapes_sha256": "204e1460d51713f30e20a0be575ab604e293f0ab6663fafe939b717db8a412cc",
195
+ "ontology_sha256": "6c1630dc483f623a38c6faa49444fd54628998c676a1dd90c092d989e134c83b",
196
+ "seed": 20261118,
197
+ "shapes_sha256": "20936a62fd0e3d8e7522a591626cfdd000e0267f1f444b9a2d3be0884d781788"
198
+ }
core_worlds/private/artifacts/world_L05/corrupt/mappings.json ADDED
@@ -0,0 +1,365 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "entries": [
3
+ {
4
+ "concept": "Azide",
5
+ "field": "CHEBI:100242",
6
+ "source": "chebi_sdf",
7
+ "term": "CHEBI:100242"
8
+ },
9
+ {
10
+ "concept": "Azide",
11
+ "field": "CHEBI:100247",
12
+ "source": "chebi_sdf",
13
+ "term": "CHEBI:100247"
14
+ },
15
+ {
16
+ "concept": "Azide",
17
+ "field": "CHEBI:10110",
18
+ "source": "chebi_sdf",
19
+ "term": "CHEBI:10110"
20
+ },
21
+ {
22
+ "concept": "Aldehyde",
23
+ "field": "CHEBI:12834",
24
+ "source": "chebi_sdf",
25
+ "term": "CHEBI:12834"
26
+ },
27
+ {
28
+ "concept": "Azide",
29
+ "field": "CHEBI:131507",
30
+ "source": "chebi_sdf",
31
+ "term": "CHEBI:131507"
32
+ },
33
+ {
34
+ "concept": "Aldehyde",
35
+ "field": "CHEBI:131546",
36
+ "source": "chebi_sdf",
37
+ "term": "CHEBI:131546"
38
+ },
39
+ {
40
+ "concept": "Nitro",
41
+ "field": "CHEBI:133972",
42
+ "source": "chebi_sdf",
43
+ "term": "CHEBI:133972"
44
+ },
45
+ {
46
+ "concept": "Isocyanate",
47
+ "field": "CHEBI:136519",
48
+ "source": "chebi_sdf",
49
+ "term": "CHEBI:136519"
50
+ },
51
+ {
52
+ "concept": "Isocyanate",
53
+ "field": "CHEBI:136604",
54
+ "source": "chebi_sdf",
55
+ "term": "CHEBI:136604"
56
+ },
57
+ {
58
+ "concept": "Azide",
59
+ "field": "CHEBI:136726",
60
+ "source": "chebi_sdf",
61
+ "term": "CHEBI:136726"
62
+ },
63
+ {
64
+ "concept": "Azide",
65
+ "field": "CHEBI:136728",
66
+ "source": "chebi_sdf",
67
+ "term": "CHEBI:136728"
68
+ },
69
+ {
70
+ "concept": "Aldehyde",
71
+ "field": "CHEBI:13757",
72
+ "source": "chebi_sdf",
73
+ "term": "CHEBI:13757"
74
+ },
75
+ {
76
+ "concept": "Nitro",
77
+ "field": "CHEBI:139218",
78
+ "source": "chebi_sdf",
79
+ "term": "CHEBI:139218"
80
+ },
81
+ {
82
+ "concept": "BoronicAcid",
83
+ "field": "CHEBI:140472",
84
+ "source": "chebi_sdf",
85
+ "term": "CHEBI:140472"
86
+ },
87
+ {
88
+ "concept": "BoronicAcid",
89
+ "field": "CHEBI:140517",
90
+ "source": "chebi_sdf",
91
+ "term": "CHEBI:140517"
92
+ },
93
+ {
94
+ "concept": "BoronicAcid",
95
+ "field": "CHEBI:140518",
96
+ "source": "chebi_sdf",
97
+ "term": "CHEBI:140518"
98
+ },
99
+ {
100
+ "concept": "Nitro",
101
+ "field": "CHEBI:141155",
102
+ "source": "chebi_sdf",
103
+ "term": "CHEBI:141155"
104
+ },
105
+ {
106
+ "concept": "BoronicAcid",
107
+ "field": "CHEBI:141530",
108
+ "source": "chebi_sdf",
109
+ "term": "CHEBI:141530"
110
+ },
111
+ {
112
+ "concept": "Azide",
113
+ "field": "CHEBI:141764",
114
+ "source": "chebi_sdf",
115
+ "term": "CHEBI:141764"
116
+ },
117
+ {
118
+ "concept": "Azide",
119
+ "field": "CHEBI:141770",
120
+ "source": "chebi_sdf",
121
+ "term": "CHEBI:141770"
122
+ },
123
+ {
124
+ "concept": "Aldehyde",
125
+ "field": "CHEBI:14272",
126
+ "source": "chebi_sdf",
127
+ "term": "CHEBI:14272"
128
+ },
129
+ {
130
+ "concept": "Azide",
131
+ "field": "CHEBI:144360",
132
+ "source": "chebi_sdf",
133
+ "term": "CHEBI:144360"
134
+ },
135
+ {
136
+ "concept": "TerminalAlkyne",
137
+ "field": "CHEBI:1461",
138
+ "source": "chebi_sdf",
139
+ "term": "CHEBI:1461"
140
+ },
141
+ {
142
+ "concept": "Aldehyde",
143
+ "field": "CHEBI:15343",
144
+ "source": "chebi_sdf",
145
+ "term": "CHEBI:15343"
146
+ },
147
+ {
148
+ "concept": "TerminalAlkyne",
149
+ "field": "CHEBI:15364",
150
+ "source": "chebi_sdf",
151
+ "term": "CHEBI:15364"
152
+ },
153
+ {
154
+ "concept": "Aldehyde",
155
+ "field": "CHEBI:15368",
156
+ "source": "chebi_sdf",
157
+ "term": "CHEBI:15368"
158
+ },
159
+ {
160
+ "concept": "Aldehyde",
161
+ "field": "CHEBI:156102",
162
+ "source": "chebi_sdf",
163
+ "term": "CHEBI:156102"
164
+ },
165
+ {
166
+ "concept": "Isocyanate",
167
+ "field": "CHEBI:156221",
168
+ "source": "chebi_sdf",
169
+ "term": "CHEBI:156221"
170
+ },
171
+ {
172
+ "concept": "BoronicAcid",
173
+ "field": "CHEBI:156534",
174
+ "source": "chebi_sdf",
175
+ "term": "CHEBI:156534"
176
+ },
177
+ {
178
+ "concept": "Nitro",
179
+ "field": "CHEBI:156550",
180
+ "source": "chebi_sdf",
181
+ "term": "CHEBI:156550"
182
+ },
183
+ {
184
+ "concept": "Aldehyde",
185
+ "field": "CHEBI:15743",
186
+ "source": "chebi_sdf",
187
+ "term": "CHEBI:15743"
188
+ },
189
+ {
190
+ "concept": "Aldehyde",
191
+ "field": "CHEBI:16008",
192
+ "source": "chebi_sdf",
193
+ "term": "CHEBI:16008"
194
+ },
195
+ {
196
+ "concept": "Nitro",
197
+ "field": "CHEBI:16037",
198
+ "source": "chebi_sdf",
199
+ "term": "CHEBI:16037"
200
+ },
201
+ {
202
+ "concept": "Aldehyde",
203
+ "field": "CHEBI:16207",
204
+ "source": "chebi_sdf",
205
+ "term": "CHEBI:16207"
206
+ },
207
+ {
208
+ "concept": "Nitro",
209
+ "field": "CHEBI:16260",
210
+ "source": "chebi_sdf",
211
+ "term": "CHEBI:16260"
212
+ },
213
+ {
214
+ "concept": "Nitro",
215
+ "field": "CHEBI:16268",
216
+ "source": "chebi_sdf",
217
+ "term": "CHEBI:16268"
218
+ },
219
+ {
220
+ "concept": "Nitro",
221
+ "field": "CHEBI:16318",
222
+ "source": "chebi_sdf",
223
+ "term": "CHEBI:16318"
224
+ },
225
+ {
226
+ "concept": "Nitro",
227
+ "field": "CHEBI:16348",
228
+ "source": "chebi_sdf",
229
+ "term": "CHEBI:16348"
230
+ },
231
+ {
232
+ "concept": "Aldehyde",
233
+ "field": "CHEBI:16571",
234
+ "source": "chebi_sdf",
235
+ "term": "CHEBI:16571"
236
+ },
237
+ {
238
+ "concept": "TerminalAlkyne",
239
+ "field": "CHEBI:167062",
240
+ "source": "chebi_sdf",
241
+ "term": "CHEBI:167062"
242
+ },
243
+ {
244
+ "concept": "TerminalAlkyne",
245
+ "field": "CHEBI:167520",
246
+ "source": "chebi_sdf",
247
+ "term": "CHEBI:167520"
248
+ },
249
+ {
250
+ "concept": "TerminalAlkyne",
251
+ "field": "CHEBI:167521",
252
+ "source": "chebi_sdf",
253
+ "term": "CHEBI:167521"
254
+ },
255
+ {
256
+ "concept": "Nitro",
257
+ "field": "CHEBI:16836",
258
+ "source": "chebi_sdf",
259
+ "term": "CHEBI:16836"
260
+ },
261
+ {
262
+ "concept": "Aldehyde",
263
+ "field": "CHEBI:16891",
264
+ "source": "chebi_sdf",
265
+ "term": "CHEBI:16891"
266
+ },
267
+ {
268
+ "concept": "Nitro",
269
+ "field": "CHEBI:17064",
270
+ "source": "chebi_sdf",
271
+ "term": "CHEBI:17064"
272
+ },
273
+ {
274
+ "concept": "Aldehyde",
275
+ "field": "CHEBI:17071",
276
+ "source": "chebi_sdf",
277
+ "term": "CHEBI:17071"
278
+ },
279
+ {
280
+ "concept": "Aldehyde",
281
+ "field": "CHEBI:17153",
282
+ "source": "chebi_sdf",
283
+ "term": "CHEBI:17153"
284
+ },
285
+ {
286
+ "concept": "Aldehyde",
287
+ "field": "CHEBI:17158",
288
+ "source": "chebi_sdf",
289
+ "term": "CHEBI:17158"
290
+ },
291
+ {
292
+ "concept": "Aldehyde",
293
+ "field": "CHEBI:17169",
294
+ "source": "chebi_sdf",
295
+ "term": "CHEBI:17169"
296
+ },
297
+ {
298
+ "concept": "Aldehyde",
299
+ "field": "CHEBI:17597",
300
+ "source": "chebi_sdf",
301
+ "term": "CHEBI:17597"
302
+ },
303
+ {
304
+ "concept": "Nitro",
305
+ "field": "CHEBI:17610",
306
+ "source": "chebi_sdf",
307
+ "term": "CHEBI:17610"
308
+ },
309
+ {
310
+ "concept": "Aldehyde",
311
+ "field": "CHEBI:17628",
312
+ "source": "chebi_sdf",
313
+ "term": "CHEBI:17628"
314
+ },
315
+ {
316
+ "concept": "Azide",
317
+ "field": "CHEBI:177386",
318
+ "source": "chebi_sdf",
319
+ "term": "CHEBI:177386"
320
+ },
321
+ {
322
+ "concept": "Azide",
323
+ "field": "CHEBI:177883",
324
+ "source": "chebi_sdf",
325
+ "term": "CHEBI:177883"
326
+ },
327
+ {
328
+ "concept": "Azide",
329
+ "field": "CHEBI:177884",
330
+ "source": "chebi_sdf",
331
+ "term": "CHEBI:177884"
332
+ },
333
+ {
334
+ "concept": "Nitro",
335
+ "field": "CHEBI:180668",
336
+ "source": "chebi_sdf",
337
+ "term": "CHEBI:180668"
338
+ },
339
+ {
340
+ "concept": "Azide",
341
+ "field": "CHEBI:183051",
342
+ "source": "chebi_sdf",
343
+ "term": "CHEBI:183051"
344
+ },
345
+ {
346
+ "concept": "AcidChloride",
347
+ "field": "CHEBI:184302",
348
+ "source": "chebi_sdf",
349
+ "term": "CHEBI:184302"
350
+ },
351
+ {
352
+ "concept": "Nitro",
353
+ "field": "CHEBI:1911",
354
+ "source": "chebi_sdf",
355
+ "term": "CHEBI:1911"
356
+ },
357
+ {
358
+ "concept": "Azide",
359
+ "field": "CHEBI:194350",
360
+ "source": "chebi_sdf",
361
+ "term": "CHEBI:194350"
362
+ }
363
+ ],
364
+ "schema": "mappings/1.0"
365
+ }
core_worlds/private/artifacts/world_L05/corrupt/ontology.ttl ADDED
@@ -0,0 +1,101 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ @prefix corr: <http://example.org/corr#> .
2
+ @prefix owl: <http://www.w3.org/2002/07/owl#> .
3
+ @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
4
+ @prefix rmc: <http://example.org/rdkit-molecules-core#> .
5
+ @prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
6
+
7
+ rmc:AliphaticSubgroup a owl:Class ;
8
+ rdfs:label "AliphaticSubgroup" ;
9
+ rdfs:comment "rdfs:subClassOf Subgroup. A depth-1 group whose label ends in '.Aliphatic'." ;
10
+ rdfs:subClassOf rmc:Subgroup .
11
+
12
+ rmc:AromaticSubgroup a owl:Class ;
13
+ rdfs:label "AromaticSubgroup" ;
14
+ rdfs:comment "rdfs:subClassOf Subgroup. A depth-1 group whose label ends in '.Aromatic'." ;
15
+ rdfs:subClassOf rmc:Molecule .
16
+
17
+ rmc:Ontology a owl:Ontology ;
18
+ rdfs:label "RDKit functional groups / ChEBI molecules gold ontology" ;
19
+ rdfs:comment "RULE layer only: class hierarchy, typed relations and axioms derived from the frozen spec vocabulary (pilot_worlds/world_L05_scaleup/spec/rdkit_molecules.json). Instance facts live in the slice projection; task labels are never part of this artifact." ;
20
+ owl:versionInfo "rdkit_molecules/1.0.0" .
21
+
22
+ rmc:TopLevelGroup a owl:Class ;
23
+ rdfs:label "TopLevelGroup" ;
24
+ rdfs:comment "rdfs:subClassOf FunctionalGroup. A depth-0 group of the pinned hierarchy (the eight anchor roots of the slice)." ;
25
+ rdfs:subClassOf rmc:FunctionalGroup .
26
+
27
+ rmc:canonicalSmiles a owl:DatatypeProperty ;
28
+ rdfs:comment "Relation 'canonicalSmiles' of the spec vocabulary." ;
29
+ rdfs:domain rmc:Molecule ;
30
+ rdfs:range xsd:string .
31
+
32
+ rmc:chebiId a owl:DatatypeProperty ;
33
+ rdfs:comment "Relation 'chebiId' of the spec vocabulary." ;
34
+ rdfs:domain rmc:Molecule ;
35
+ rdfs:range xsd:string .
36
+
37
+ rmc:groupDepth a owl:DatatypeProperty ;
38
+ rdfs:comment "Relation 'groupDepth' of the spec vocabulary." ;
39
+ rdfs:domain rmc:FunctionalGroup ;
40
+ rdfs:range xsd:integer .
41
+
42
+ rmc:groupLabel a owl:DatatypeProperty ;
43
+ rdfs:comment "Relation 'groupLabel' of the spec vocabulary." ;
44
+ rdfs:domain rmc:FunctionalGroup ;
45
+ rdfs:range xsd:string .
46
+
47
+ rmc:hasFunctionalGroup a owl:ObjectProperty ;
48
+ rdfs:comment "Molecule -> functional group membership edge. Truth source: the pinned index membership (RDKit HasSubstructMatch of the group's SMARTS on the molecule, match_count >= 1)." ;
49
+ rdfs:domain rmc:Molecule ;
50
+ rdfs:range rmc:Molecule ;
51
+ owl:inverseOf rmc:subgroupOf .
52
+
53
+ rmc:hasMember a owl:ObjectProperty ;
54
+ rdfs:comment "Inverse of hasFunctionalGroup." ;
55
+ rdfs:domain rmc:FunctionalGroup ;
56
+ rdfs:range rmc:Molecule .
57
+
58
+ rmc:hasSubgroup a owl:ObjectProperty ;
59
+ rdfs:comment "Inverse of subgroupOf." ;
60
+ rdfs:domain rmc:FunctionalGroup ;
61
+ rdfs:range rmc:FunctionalGroup ;
62
+ owl:inverseOf rmc:subgroupOf .
63
+
64
+ rmc:heavyAtoms a owl:DatatypeProperty ;
65
+ rdfs:comment "Relation 'heavyAtoms' of the spec vocabulary." ;
66
+ rdfs:domain rmc:Molecule ;
67
+ rdfs:range xsd:integer .
68
+
69
+ rmc:smartsPattern a owl:DatatypeProperty ;
70
+ rdfs:comment "Relation 'smartsPattern' of the spec vocabulary." ;
71
+ rdfs:domain rmc:FunctionalGroup ;
72
+ rdfs:range xsd:string .
73
+
74
+ rmc:srcCanonicalSmiles corr:mapsTo rmc:Molecule ;
75
+ rdfs:comment "Source field 'chebi_sdf.canonical_smiles' lifts to concept rmc:Molecule." .
76
+
77
+ rmc:srcChebiId corr:mapsTo rmc:Molecule ;
78
+ rdfs:comment "Source field 'chebi_sdf.chebi_id' lifts to concept rmc:Molecule." .
79
+
80
+ rmc:srcGroupLabel corr:mapsTo rmc:Molecule ;
81
+ rdfs:comment "Source field 'rdkit_functional_group_hierarchy.label' lifts to concept rmc:FunctionalGroup." .
82
+
83
+ rmc:Subgroup a owl:Class ;
84
+ rdfs:label "Subgroup" ;
85
+ rdfs:comment "rdfs:subClassOf FunctionalGroup. A depth-1 group of the pinned hierarchy; the parent class of the aromatic/aliphatic subgroup classes." ;
86
+ rdfs:subClassOf rmc:FunctionalGroup .
87
+
88
+ rmc:subgroupOf a owl:ObjectProperty,
89
+ owl:TransitiveProperty ;
90
+ rdfs:comment "Direct child-to-parent edge of the RDKit functional-group hierarchy, between group nodes. Declared transitive (the hierarchy is a concept taxonomy); NOT a match-set inclusion claim." ;
91
+ rdfs:domain rmc:FunctionalGroup ;
92
+ rdfs:range rmc:FunctionalGroup .
93
+
94
+ rmc:Molecule a owl:Class ;
95
+ rdfs:label "Molecule" ;
96
+ rdfs:comment "A ChEBI 3-star curated small molecule of the slice universe. Carries chebiId/canonicalSmiles/heavyAtoms; group membership via rmc:hasFunctionalGroup edges." ;
97
+ owl:disjointWith rmc:FunctionalGroup .
98
+
99
+ rmc:FunctionalGroup rdfs:label "FunctionalGroup" ;
100
+ rdfs:comment "A functional-group concept of the RDKit pinned hierarchy. Carries groupLabel/smartsPattern/groupDepth; hierarchy via rmc:subgroupOf edges." .
101
+
core_worlds/private/artifacts/world_L05/corrupt/shapes.ttl ADDED
@@ -0,0 +1,57 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ @prefix rmc: <http://example.org/rdkit-molecules-core#> .
2
+ @prefix sh: <http://www.w3.org/ns/shacl#> .
3
+ @prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
4
+
5
+ rmc:AliphaticSubgroupShape a sh:NodeShape ;
6
+ sh:property [ sh:datatype xsd:string ;
7
+ sh:path rmc:groupLabel ;
8
+ sh:pattern "\\.Aliphatic$" ] ;
9
+ sh:targetClass rmc:AliphaticSubgroup .
10
+
11
+ rmc:AromaticSubgroupShape a sh:NodeShape ;
12
+ sh:property [ sh:datatype xsd:string ;
13
+ sh:path rmc:groupLabel ;
14
+ sh:pattern "\\.Aromatic$" ] ;
15
+ sh:targetClass rmc:AromaticSubgroup .
16
+
17
+ rmc:FunctionalGroupShape a sh:NodeShape ;
18
+ sh:property [ sh:datatype xsd:string ;
19
+ sh:maxCount 1 ;
20
+ sh:minCount 1 ;
21
+ sh:path rmc:smartsPattern ],
22
+ [ sh:datatype xsd:string ;
23
+ sh:maxCount 1 ;
24
+ sh:minCount 1 ;
25
+ sh:path rmc:groupLabel ;
26
+ sh:pattern "^[A-Za-z][A-Za-z0-9_.]*$" ],
27
+ [ sh:datatype xsd:integer ;
28
+ sh:maxCount 1 ;
29
+ sh:minCount 1 ;
30
+ sh:path rmc:groupDepth ] ;
31
+ sh:targetClass rmc:FunctionalGroup .
32
+
33
+ rmc:MoleculeShape a sh:NodeShape ;
34
+ sh:closed true ;
35
+ sh:property [ sh:class rmc:FunctionalGroup ;
36
+ sh:minCount 1 ;
37
+ sh:nodeKind sh:IRI ;
38
+ sh:path rmc:hasFunctionalGroup ],
39
+ [ sh:datatype xsd:integer ;
40
+ sh:maxCount 1 ;
41
+ sh:minCount 1 ;
42
+ sh:path rmc:heavyAtoms ],
43
+ [ sh:datatype xsd:string ;
44
+ sh:maxCount 1 ;
45
+ sh:path rmc:chebiId ;
46
+ sh:pattern "^CHEBI:[0-9]+$" ],
47
+ [ sh:datatype xsd:string ;
48
+ sh:maxCount 1 ;
49
+ sh:minCount 1 ;
50
+ sh:path rmc:canonicalSmiles ] ;
51
+ sh:targetClass rmc:Molecule .
52
+
53
+ rmc:TopLevelGroupShape a sh:NodeShape ;
54
+ sh:property [ sh:hasValue 0 ;
55
+ sh:path rmc:groupDepth ] ;
56
+ sh:targetClass rmc:FunctionalGroup .
57
+