Skip to content

Commit f4a2ae6

Browse files
committed
Regenerate Make-managed files
Signed-off-by: Alex Nelson <[email protected]>
1 parent 3abf509 commit f4a2ae6

13 files changed

+463
-212
lines changed

case_utils/ontology/ontology_and_version_iris.txt

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,121 +5,142 @@ https://ontology.caseontology.org/case/case/1.0.0
55
https://ontology.caseontology.org/case/case/1.1.0
66
https://ontology.caseontology.org/case/case/1.2.0
77
https://ontology.caseontology.org/case/case/1.3.0
8+
https://ontology.caseontology.org/case/case/1.4.0
89
https://ontology.caseontology.org/case/investigation
910
https://ontology.caseontology.org/case/investigation/0.7.1
1011
https://ontology.caseontology.org/case/investigation/1.0.0
1112
https://ontology.caseontology.org/case/investigation/1.1.0
1213
https://ontology.caseontology.org/case/investigation/1.2.0
1314
https://ontology.caseontology.org/case/investigation/1.3.0
15+
https://ontology.caseontology.org/case/investigation/1.4.0
1416
https://ontology.caseontology.org/case/vocabulary
1517
https://ontology.caseontology.org/case/vocabulary/0.7.1
1618
https://ontology.caseontology.org/case/vocabulary/1.0.0
1719
https://ontology.caseontology.org/case/vocabulary/1.1.0
1820
https://ontology.caseontology.org/case/vocabulary/1.2.0
1921
https://ontology.caseontology.org/case/vocabulary/1.3.0
22+
https://ontology.caseontology.org/case/vocabulary/1.4.0
2023
https://ontology.unifiedcyberontology.org/co
2124
https://ontology.unifiedcyberontology.org/co/1.0.0
2225
https://ontology.unifiedcyberontology.org/co/1.1.0
2326
https://ontology.unifiedcyberontology.org/co/1.2.0
2427
https://ontology.unifiedcyberontology.org/co/1.3.0
28+
https://ontology.unifiedcyberontology.org/co/1.4.0
2529
https://ontology.unifiedcyberontology.org/owl
2630
https://ontology.unifiedcyberontology.org/owl/1.0.0
2731
https://ontology.unifiedcyberontology.org/owl/1.1.0
2832
https://ontology.unifiedcyberontology.org/owl/1.2.0
2933
https://ontology.unifiedcyberontology.org/owl/1.3.0
34+
https://ontology.unifiedcyberontology.org/owl/1.4.0
3035
https://ontology.unifiedcyberontology.org/uco/action
3136
https://ontology.unifiedcyberontology.org/uco/action/0.9.1
3237
https://ontology.unifiedcyberontology.org/uco/action/1.0.0
3338
https://ontology.unifiedcyberontology.org/uco/action/1.1.0
3439
https://ontology.unifiedcyberontology.org/uco/action/1.2.0
3540
https://ontology.unifiedcyberontology.org/uco/action/1.3.0
41+
https://ontology.unifiedcyberontology.org/uco/action/1.4.0
3642
https://ontology.unifiedcyberontology.org/uco/analysis
3743
https://ontology.unifiedcyberontology.org/uco/analysis/1.1.0
3844
https://ontology.unifiedcyberontology.org/uco/analysis/1.2.0
3945
https://ontology.unifiedcyberontology.org/uco/analysis/1.3.0
46+
https://ontology.unifiedcyberontology.org/uco/analysis/1.4.0
4047
https://ontology.unifiedcyberontology.org/uco/configuration
4148
https://ontology.unifiedcyberontology.org/uco/configuration/1.0.0
4249
https://ontology.unifiedcyberontology.org/uco/configuration/1.1.0
4350
https://ontology.unifiedcyberontology.org/uco/configuration/1.2.0
4451
https://ontology.unifiedcyberontology.org/uco/configuration/1.3.0
52+
https://ontology.unifiedcyberontology.org/uco/configuration/1.4.0
4553
https://ontology.unifiedcyberontology.org/uco/core
4654
https://ontology.unifiedcyberontology.org/uco/core/0.9.1
4755
https://ontology.unifiedcyberontology.org/uco/core/1.0.0
4856
https://ontology.unifiedcyberontology.org/uco/core/1.1.0
4957
https://ontology.unifiedcyberontology.org/uco/core/1.2.0
5058
https://ontology.unifiedcyberontology.org/uco/core/1.3.0
59+
https://ontology.unifiedcyberontology.org/uco/core/1.4.0
5160
https://ontology.unifiedcyberontology.org/uco/identity
5261
https://ontology.unifiedcyberontology.org/uco/identity/0.9.1
5362
https://ontology.unifiedcyberontology.org/uco/identity/1.0.0
5463
https://ontology.unifiedcyberontology.org/uco/identity/1.1.0
5564
https://ontology.unifiedcyberontology.org/uco/identity/1.2.0
5665
https://ontology.unifiedcyberontology.org/uco/identity/1.3.0
66+
https://ontology.unifiedcyberontology.org/uco/identity/1.4.0
5767
https://ontology.unifiedcyberontology.org/uco/location
5868
https://ontology.unifiedcyberontology.org/uco/location/0.9.1
5969
https://ontology.unifiedcyberontology.org/uco/location/1.0.0
6070
https://ontology.unifiedcyberontology.org/uco/location/1.1.0
6171
https://ontology.unifiedcyberontology.org/uco/location/1.2.0
6272
https://ontology.unifiedcyberontology.org/uco/location/1.3.0
73+
https://ontology.unifiedcyberontology.org/uco/location/1.4.0
6374
https://ontology.unifiedcyberontology.org/uco/marking
6475
https://ontology.unifiedcyberontology.org/uco/marking/0.9.1
6576
https://ontology.unifiedcyberontology.org/uco/marking/1.0.0
6677
https://ontology.unifiedcyberontology.org/uco/marking/1.1.0
6778
https://ontology.unifiedcyberontology.org/uco/marking/1.2.0
6879
https://ontology.unifiedcyberontology.org/uco/marking/1.3.0
80+
https://ontology.unifiedcyberontology.org/uco/marking/1.4.0
6981
https://ontology.unifiedcyberontology.org/uco/observable
7082
https://ontology.unifiedcyberontology.org/uco/observable/0.9.1
7183
https://ontology.unifiedcyberontology.org/uco/observable/1.0.0
7284
https://ontology.unifiedcyberontology.org/uco/observable/1.1.0
7385
https://ontology.unifiedcyberontology.org/uco/observable/1.2.0
7486
https://ontology.unifiedcyberontology.org/uco/observable/1.3.0
87+
https://ontology.unifiedcyberontology.org/uco/observable/1.4.0
7588
https://ontology.unifiedcyberontology.org/uco/pattern
7689
https://ontology.unifiedcyberontology.org/uco/pattern/0.9.1
7790
https://ontology.unifiedcyberontology.org/uco/pattern/1.0.0
7891
https://ontology.unifiedcyberontology.org/uco/pattern/1.1.0
7992
https://ontology.unifiedcyberontology.org/uco/pattern/1.2.0
8093
https://ontology.unifiedcyberontology.org/uco/pattern/1.3.0
94+
https://ontology.unifiedcyberontology.org/uco/pattern/1.4.0
8195
https://ontology.unifiedcyberontology.org/uco/role
8296
https://ontology.unifiedcyberontology.org/uco/role/0.9.1
8397
https://ontology.unifiedcyberontology.org/uco/role/1.0.0
8498
https://ontology.unifiedcyberontology.org/uco/role/1.1.0
8599
https://ontology.unifiedcyberontology.org/uco/role/1.2.0
86100
https://ontology.unifiedcyberontology.org/uco/role/1.3.0
101+
https://ontology.unifiedcyberontology.org/uco/role/1.4.0
87102
https://ontology.unifiedcyberontology.org/uco/time
88103
https://ontology.unifiedcyberontology.org/uco/time/0.9.1
89104
https://ontology.unifiedcyberontology.org/uco/time/1.0.0
90105
https://ontology.unifiedcyberontology.org/uco/time/1.1.0
91106
https://ontology.unifiedcyberontology.org/uco/time/1.2.0
92107
https://ontology.unifiedcyberontology.org/uco/time/1.3.0
108+
https://ontology.unifiedcyberontology.org/uco/time/1.4.0
93109
https://ontology.unifiedcyberontology.org/uco/tool
94110
https://ontology.unifiedcyberontology.org/uco/tool/0.9.1
95111
https://ontology.unifiedcyberontology.org/uco/tool/1.0.0
96112
https://ontology.unifiedcyberontology.org/uco/tool/1.1.0
97113
https://ontology.unifiedcyberontology.org/uco/tool/1.2.0
98114
https://ontology.unifiedcyberontology.org/uco/tool/1.3.0
115+
https://ontology.unifiedcyberontology.org/uco/tool/1.4.0
99116
https://ontology.unifiedcyberontology.org/uco/types
100117
https://ontology.unifiedcyberontology.org/uco/types/0.9.1
101118
https://ontology.unifiedcyberontology.org/uco/types/1.0.0
102119
https://ontology.unifiedcyberontology.org/uco/types/1.1.0
103120
https://ontology.unifiedcyberontology.org/uco/types/1.2.0
104121
https://ontology.unifiedcyberontology.org/uco/types/1.3.0
122+
https://ontology.unifiedcyberontology.org/uco/types/1.4.0
105123
https://ontology.unifiedcyberontology.org/uco/uco
106124
https://ontology.unifiedcyberontology.org/uco/uco/0.9.1
107125
https://ontology.unifiedcyberontology.org/uco/uco/1.0.0
108126
https://ontology.unifiedcyberontology.org/uco/uco/1.1.0
109127
https://ontology.unifiedcyberontology.org/uco/uco/1.2.0
110128
https://ontology.unifiedcyberontology.org/uco/uco/1.3.0
129+
https://ontology.unifiedcyberontology.org/uco/uco/1.4.0
111130
https://ontology.unifiedcyberontology.org/uco/victim
112131
https://ontology.unifiedcyberontology.org/uco/victim/0.9.1
113132
https://ontology.unifiedcyberontology.org/uco/victim/1.0.0
114133
https://ontology.unifiedcyberontology.org/uco/victim/1.1.0
115134
https://ontology.unifiedcyberontology.org/uco/victim/1.2.0
116135
https://ontology.unifiedcyberontology.org/uco/victim/1.3.0
136+
https://ontology.unifiedcyberontology.org/uco/victim/1.4.0
117137
https://ontology.unifiedcyberontology.org/uco/vocabulary
118138
https://ontology.unifiedcyberontology.org/uco/vocabulary/0.9.1
119139
https://ontology.unifiedcyberontology.org/uco/vocabulary/1.0.0
120140
https://ontology.unifiedcyberontology.org/uco/vocabulary/1.1.0
121141
https://ontology.unifiedcyberontology.org/uco/vocabulary/1.2.0
122142
https://ontology.unifiedcyberontology.org/uco/vocabulary/1.3.0
143+
https://ontology.unifiedcyberontology.org/uco/vocabulary/1.4.0
123144
https://unifiedcyberontology.org/ontology/uco/action
124145
https://unifiedcyberontology.org/ontology/uco/core
125146
https://unifiedcyberontology.org/ontology/uco/identity

tests/case_utils/case_validate/cli/split_data_graph_XFAIL.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ Conforms: False
33
Results (1):
44
Constraint Violation in ClassConstraintComponent (http://www.w3.org/ns/shacl#ClassConstraintComponent):
55
Severity: sh:Violation
6-
Source Shape: [ sh:class core:UcoObject ; sh:minCount Literal("1", datatype=xsd:integer) ; sh:nodeKind sh:IRI ; sh:path core:object ]
6+
Source Shape: [ sh:class core:UcoObject ; sh:nodeKind sh:IRI ; sh:path core:object ]
77
Focus Node: kb:provenance-record-d6901cc2-1299-4c5f-a6f3-8cdba136169c
88
Value Node: kb:file-b31c8f5c-cdbf-466d-a88a-034531fc5933
99
Result Path: core:object

tests/case_utils/case_validate/uco_test_examples/action_inheritance_PASS_validation.ttl

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
44
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
55
@prefix sh: <http://www.w3.org/ns/shacl#> .
6-
@prefix vocabulary: <https://ontology.unifiedcyberontology.org/uco/vocabulary/> .
76
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
87

98
[]
@@ -12,16 +11,11 @@
1211
sh:result [
1312
a sh:ValidationResult ;
1413
sh:focusNode <http://example.org/kb/action-7acb25ab-0a51-4495-9133-baa69c3be54e> ;
15-
sh:resultMessage "Value is outside the default vocabulary ActionStatusTypeVocab." ;
14+
sh:resultMessage "Value is not member of the vocabulary ActionStatusTypeVocab." ;
1615
sh:resultPath action:actionStatus ;
1716
sh:resultSeverity sh:Info ;
18-
sh:sourceConstraintComponent sh:DatatypeConstraintComponent ;
19-
sh:sourceShape [
20-
sh:datatype vocabulary:ActionStatusTypeVocab ;
21-
sh:message "Value is outside the default vocabulary ActionStatusTypeVocab." ;
22-
sh:path action:actionStatus ;
23-
sh:severity sh:Info ;
24-
] ;
17+
sh:sourceConstraintComponent sh:InConstraintComponent ;
18+
sh:sourceShape action:Action-actionStatus-in-shape ;
2519
sh:value "CUSTOM Started" ;
2620
] ;
2721
.

tests/case_utils/case_validate/uco_test_examples/action_inheritance_XFAIL_validation.ttl

Lines changed: 0 additions & 61 deletions
Original file line numberDiff line numberDiff line change
@@ -3,58 +3,12 @@
33
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
44
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
55
@prefix sh: <http://www.w3.org/ns/shacl#> .
6-
@prefix vocabulary: <https://ontology.unifiedcyberontology.org/uco/vocabulary/> .
76
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
87

98
[]
109
a sh:ValidationReport ;
1110
sh:conforms "false"^^xsd:boolean ;
1211
sh:result
13-
[
14-
a sh:ValidationResult ;
15-
sh:focusNode <http://example.org/kb/action-35fada9e-c807-4fa0-87b8-582473115eeb> ;
16-
sh:resultMessage "Value is outside the default vocabulary ActionStatusTypeVocab." ;
17-
sh:resultPath action:actionStatus ;
18-
sh:resultSeverity sh:Info ;
19-
sh:sourceConstraintComponent sh:DatatypeConstraintComponent ;
20-
sh:sourceShape [
21-
sh:datatype vocabulary:ActionStatusTypeVocab ;
22-
sh:message "Value is outside the default vocabulary ActionStatusTypeVocab." ;
23-
sh:path action:actionStatus ;
24-
sh:severity sh:Info ;
25-
] ;
26-
sh:value "Pending" ;
27-
] ,
28-
[
29-
a sh:ValidationResult ;
30-
sh:focusNode <http://example.org/kb/action-dcb9c6a2-f7b9-454a-b185-44d63244ac1c> ;
31-
sh:resultMessage "Value is outside the default vocabulary ActionStatusTypeVocab." ;
32-
sh:resultPath action:actionStatus ;
33-
sh:resultSeverity sh:Info ;
34-
sh:sourceConstraintComponent sh:DatatypeConstraintComponent ;
35-
sh:sourceShape [
36-
sh:datatype vocabulary:ActionStatusTypeVocab ;
37-
sh:message "Value is outside the default vocabulary ActionStatusTypeVocab." ;
38-
sh:path action:actionStatus ;
39-
sh:severity sh:Info ;
40-
] ;
41-
sh:value "Pending" ;
42-
] ,
43-
[
44-
a sh:ValidationResult ;
45-
sh:focusNode <http://example.org/kb/action-e1bb7bac-5655-48e3-8c62-843ffb7cc17f> ;
46-
sh:resultMessage "Value is outside the default vocabulary ActionStatusTypeVocab." ;
47-
sh:resultPath action:actionStatus ;
48-
sh:resultSeverity sh:Info ;
49-
sh:sourceConstraintComponent sh:DatatypeConstraintComponent ;
50-
sh:sourceShape [
51-
sh:datatype vocabulary:ActionStatusTypeVocab ;
52-
sh:message "Value is outside the default vocabulary ActionStatusTypeVocab." ;
53-
sh:path action:actionStatus ;
54-
sh:severity sh:Info ;
55-
] ;
56-
sh:value "Pending" ;
57-
] ,
5812
[
5913
a sh:ValidationResult ;
6014
sh:focusNode <http://example.org/kb/action-lifecycle-098ebb7a-949e-4f05-9d7f-1c07260a8e14> ;
@@ -67,21 +21,6 @@
6721
sh:path action:actionStatus ;
6822
] ;
6923
] ,
70-
[
71-
a sh:ValidationResult ;
72-
sh:focusNode <http://example.org/kb/action-lifecycle-098ebb7a-949e-4f05-9d7f-1c07260a8e14> ;
73-
sh:resultMessage "Value is outside the default vocabulary ActionStatusTypeVocab." ;
74-
sh:resultPath action:actionStatus ;
75-
sh:resultSeverity sh:Info ;
76-
sh:sourceConstraintComponent sh:DatatypeConstraintComponent ;
77-
sh:sourceShape [
78-
sh:datatype vocabulary:ActionStatusTypeVocab ;
79-
sh:message "Value is outside the default vocabulary ActionStatusTypeVocab." ;
80-
sh:path action:actionStatus ;
81-
sh:severity sh:Info ;
82-
] ;
83-
sh:value "Pending" ;
84-
] ,
8524
[
8625
a sh:ValidationResult ;
8726
sh:focusNode <http://example.org/kb/array-of-action-6f91380f-703f-471e-9be6-cf7499bf44f2> ;
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
@prefix observable: <https://ontology.unifiedcyberontology.org/uco/observable/> .
2+
@prefix owl: <http://www.w3.org/2002/07/owl#> .
3+
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
4+
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
5+
@prefix sh: <http://www.w3.org/ns/shacl#> .
6+
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
7+
8+
[]
9+
a sh:ValidationReport ;
10+
sh:conforms "true"^^xsd:boolean ;
11+
sh:result [
12+
a sh:ValidationResult ;
13+
sh:focusNode <http://example.org/kb/AlternateDataStream-07b3c41a-080c-4916-8375-c18148763e13> ;
14+
sh:resultMessage "In UCO 2.0.0, uco-observable:AlternateDataStream will be a subclass of uco-observable:FileSystemObject. In preparation for UCO 2.0.0, the additional type uco-observable:FileSystemObject should be assigned to this node."@en ;
15+
sh:resultSeverity sh:Warning ;
16+
sh:sourceConstraintComponent sh:ClassConstraintComponent ;
17+
sh:sourceShape [
18+
a sh:NodeShape ;
19+
rdfs:comment "This anonymous shape is attached with rdfs:seeAlso in order to associate a warning-severity class constraint, that will only be necessary as an independent shape until UCO 2.0.0."@en ;
20+
sh:class observable:FileSystemObject ;
21+
sh:message "In UCO 2.0.0, uco-observable:AlternateDataStream will be a subclass of uco-observable:FileSystemObject. In preparation for UCO 2.0.0, the additional type uco-observable:FileSystemObject should be assigned to this node."@en ;
22+
sh:severity sh:Warning ;
23+
sh:targetClass observable:AlternateDataStream ;
24+
] ;
25+
sh:value <http://example.org/kb/AlternateDataStream-07b3c41a-080c-4916-8375-c18148763e13> ;
26+
] ;
27+
.
28+
Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
@prefix owl: <http://www.w3.org/2002/07/owl#> .
2+
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
3+
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
4+
@prefix sh: <http://www.w3.org/ns/shacl#> .
5+
@prefix types: <https://ontology.unifiedcyberontology.org/uco/types/> .
6+
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
7+
8+
[]
9+
a sh:ValidationReport ;
10+
sh:conforms "true"^^xsd:boolean ;
11+
sh:result [
12+
a sh:ValidationResult ;
13+
sh:focusNode <http://example.org/kb/Dictionary-e9adf6c1-0287-4290-95a9-c94a128d7ff6> ;
14+
sh:resultMessage "A key in a dictionary should appear no more than once. The value literal does. Please consider using the types:ImproperDictionary class and types:repeatsKey property." ;
15+
sh:resultSeverity sh:Warning ;
16+
sh:sourceConstraint [
17+
a sh:SPARQLConstraint ;
18+
sh:message "A key in a dictionary should appear no more than once. The value literal does. Please consider using the types:ImproperDictionary class and types:repeatsKey property."@en ;
19+
sh:select """
20+
PREFIX types: <https://ontology.unifiedcyberontology.org/uco/types/>
21+
SELECT $this ?value
22+
WHERE {
23+
$this
24+
types:entry/types:key ?value ;
25+
.
26+
FILTER NOT EXISTS {
27+
$this
28+
a types:ImproperDictionary ;
29+
.
30+
}
31+
FILTER NOT EXISTS {
32+
$this
33+
a types:ProperDictionary ;
34+
.
35+
}
36+
}
37+
GROUP BY ?value
38+
HAVING (COUNT(?value) > 1)
39+
""" ;
40+
] ;
41+
sh:sourceConstraintComponent sh:SPARQLConstraintComponent ;
42+
sh:sourceShape types:Dictionary-keyUniqueness-shape ;
43+
sh:value "x" ;
44+
] ;
45+
.
46+

0 commit comments

Comments
 (0)