Skip to content

Commit 5cf10e6

Browse files
committed
Regenerate Make-managed files
References: * [AC-213] Release CASE-Utilities-Python 0.4.0 Signed-off-by: Alex Nelson <[email protected]>
1 parent 038443a commit 5cf10e6

File tree

6 files changed

+148
-102
lines changed

6 files changed

+148
-102
lines changed

tests/case_utils/case_file/kb.json

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -2,30 +2,14 @@
22
"@context": {
33
"kb": "http://example.org/kb/",
44
"rdf": "http://www.w3.org/1999/02/22-rdf-syntax-ns#",
5-
"uco-core": "https://unifiedcyberontology.org/ontology/uco/core#",
6-
"uco-observable": "https://unifiedcyberontology.org/ontology/uco/observable#",
7-
"uco-types": "https://unifiedcyberontology.org/ontology/uco/types#",
5+
"uco-core": "https://ontology.unifiedcyberontology.org/uco/core/",
6+
"uco-observable": "https://ontology.unifiedcyberontology.org/uco/observable/",
7+
"uco-types": "https://ontology.unifiedcyberontology.org/uco/types/",
88
"xsd": "http://www.w3.org/2001/XMLSchema#"
99
},
1010
"@graph": [
1111
{
12-
"@id": "kb:file-69751792-9d04-5f5f-8791-99ca3729cd3c",
13-
"@type": "uco-observable:File",
14-
"uco-core:hasFacet": {
15-
"@type": "uco-observable:FileFacet",
16-
"uco-observable:fileName": "sample.txt",
17-
"uco-observable:modifiedTime": {
18-
"@type": "xsd:dateTime",
19-
"@value": "2010-01-02T03:04:56+00:00"
20-
},
21-
"uco-observable:sizeInBytes": {
22-
"@type": "xsd:integer",
23-
"@value": "4"
24-
}
25-
}
26-
},
27-
{
28-
"@id": "kb:file-9477a6eb-3a94-590b-b51e-6ce6892f0941",
12+
"@id": "kb:file-1080c4cc-7886-5a52-bac1-f6a2b16c0ddb",
2913
"@type": "uco-observable:File",
3014
"uco-core:hasFacet": [
3115
{
@@ -94,6 +78,22 @@
9478
}
9579
}
9680
]
81+
},
82+
{
83+
"@id": "kb:file-b5e8a943-c556-5964-a618-8f0d000822af",
84+
"@type": "uco-observable:File",
85+
"uco-core:hasFacet": {
86+
"@type": "uco-observable:FileFacet",
87+
"uco-observable:fileName": "sample.txt",
88+
"uco-observable:modifiedTime": {
89+
"@type": "xsd:dateTime",
90+
"@value": "2010-01-02T03:04:56+00:00"
91+
},
92+
"uco-observable:sizeInBytes": {
93+
"@type": "xsd:integer",
94+
"@value": "4"
95+
}
96+
}
9797
}
9898
]
9999
}

tests/case_utils/case_file/kb.ttl

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -2,23 +2,13 @@
22
@prefix owl: <http://www.w3.org/2002/07/owl#> .
33
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
44
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
5-
@prefix uco-core: <https://unifiedcyberontology.org/ontology/uco/core#> .
6-
@prefix uco-observable: <https://unifiedcyberontology.org/ontology/uco/observable#> .
7-
@prefix uco-types: <https://unifiedcyberontology.org/ontology/uco/types#> .
8-
@prefix uco-vocabulary: <https://unifiedcyberontology.org/ontology/uco/vocabulary#> .
5+
@prefix uco-core: <https://ontology.unifiedcyberontology.org/uco/core/> .
6+
@prefix uco-observable: <https://ontology.unifiedcyberontology.org/uco/observable/> .
7+
@prefix uco-types: <https://ontology.unifiedcyberontology.org/uco/types/> .
8+
@prefix uco-vocabulary: <https://ontology.unifiedcyberontology.org/uco/vocabulary/> .
99
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
1010

11-
kb:file-69751792-9d04-5f5f-8791-99ca3729cd3c
12-
a uco-observable:File ;
13-
uco-core:hasFacet [
14-
a uco-observable:FileFacet ;
15-
uco-observable:fileName "sample.txt" ;
16-
uco-observable:modifiedTime "2010-01-02T03:04:56+00:00"^^xsd:dateTime ;
17-
uco-observable:sizeInBytes "4"^^xsd:integer ;
18-
] ;
19-
.
20-
21-
kb:file-9477a6eb-3a94-590b-b51e-6ce6892f0941
11+
kb:file-1080c4cc-7886-5a52-bac1-f6a2b16c0ddb
2212
a uco-observable:File ;
2313
uco-core:hasFacet
2414
[
@@ -56,3 +46,13 @@ kb:file-9477a6eb-3a94-590b-b51e-6ce6892f0941
5646
;
5747
.
5848

49+
kb:file-b5e8a943-c556-5964-a618-8f0d000822af
50+
a uco-observable:File ;
51+
uco-core:hasFacet [
52+
a uco-observable:FileFacet ;
53+
uco-observable:fileName "sample.txt" ;
54+
uco-observable:modifiedTime "2010-01-02T03:04:56+00:00"^^xsd:dateTime ;
55+
uco-observable:sizeInBytes "4"^^xsd:integer ;
56+
] ;
57+
.
58+

tests/case_utils/case_file/sample.txt-disable_hashes.ttl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22
@prefix owl: <http://www.w3.org/2002/07/owl#> .
33
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
44
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
5-
@prefix uco-core: <https://unifiedcyberontology.org/ontology/uco/core#> .
6-
@prefix uco-observable: <https://unifiedcyberontology.org/ontology/uco/observable#> .
5+
@prefix uco-core: <https://ontology.unifiedcyberontology.org/uco/core/> .
6+
@prefix uco-observable: <https://ontology.unifiedcyberontology.org/uco/observable/> .
77
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
88

9-
kb:file-69751792-9d04-5f5f-8791-99ca3729cd3c
9+
kb:file-b5e8a943-c556-5964-a618-8f0d000822af
1010
a uco-observable:File ;
1111
uco-core:hasFacet [
1212
a uco-observable:FileFacet ;

tests/case_utils/case_file/sample.txt-nocompact.json

Lines changed: 65 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -1,101 +1,124 @@
11
{
22
"@context": {
3+
"brick": "https://brickschema.org/schema/Brick#",
4+
"csvw": "http://www.w3.org/ns/csvw#",
5+
"dc": "http://purl.org/dc/elements/1.1/",
6+
"dcam": "http://purl.org/dc/dcam/",
7+
"dcat": "http://www.w3.org/ns/dcat#",
8+
"dcmitype": "http://purl.org/dc/dcmitype/",
9+
"dcterms": "http://purl.org/dc/terms/",
10+
"doap": "http://usefulinc.com/ns/doap#",
11+
"foaf": "http://xmlns.com/foaf/0.1/",
312
"kb": "http://example.org/kb/",
13+
"odrl": "http://www.w3.org/ns/odrl/2/",
14+
"org": "http://www.w3.org/ns/org#",
15+
"owl": "http://www.w3.org/2002/07/owl#",
16+
"prof": "http://www.w3.org/ns/dx/prof/",
17+
"prov": "http://www.w3.org/ns/prov#",
18+
"qb": "http://purl.org/linked-data/cube#",
419
"rdf": "http://www.w3.org/1999/02/22-rdf-syntax-ns#",
520
"rdfs": "http://www.w3.org/2000/01/rdf-schema#",
6-
"uco-core": "https://unifiedcyberontology.org/ontology/uco/core#",
7-
"uco-observable": "https://unifiedcyberontology.org/ontology/uco/observable#",
8-
"uco-types": "https://unifiedcyberontology.org/ontology/uco/types#",
9-
"uco-vocabulary": "https://unifiedcyberontology.org/ontology/uco/vocabulary#",
21+
"schema": "https://schema.org/",
22+
"sh": "http://www.w3.org/ns/shacl#",
23+
"skos": "http://www.w3.org/2004/02/skos/core#",
24+
"sosa": "http://www.w3.org/ns/sosa/",
25+
"ssn": "http://www.w3.org/ns/ssn/",
26+
"time": "http://www.w3.org/2006/time#",
27+
"uco-core": "https://ontology.unifiedcyberontology.org/uco/core/",
28+
"uco-observable": "https://ontology.unifiedcyberontology.org/uco/observable/",
29+
"uco-types": "https://ontology.unifiedcyberontology.org/uco/types/",
30+
"uco-vocabulary": "https://ontology.unifiedcyberontology.org/uco/vocabulary/",
31+
"vann": "http://purl.org/vocab/vann/",
32+
"void": "http://rdfs.org/ns/void#",
1033
"xml": "http://www.w3.org/XML/1998/namespace",
1134
"xsd": "http://www.w3.org/2001/XMLSchema#"
1235
},
1336
"@graph": [
1437
{
15-
"@id": "http://example.org/kb/file-4216a9f3-45fc-55aa-8e48-a9f828173625",
16-
"@type": "https://unifiedcyberontology.org/ontology/uco/observable#File",
17-
"https://unifiedcyberontology.org/ontology/uco/core#hasFacet": [
38+
"@id": "http://example.org/kb/file-2999db3b-5e66-53b2-8470-8bfd838c444e",
39+
"@type": "https://ontology.unifiedcyberontology.org/uco/observable/File",
40+
"https://ontology.unifiedcyberontology.org/uco/core/hasFacet": [
1841
{
19-
"@id": "_:N44ce7f76801a429d9aabefe1046da060"
42+
"@id": "_:Nf16b91a8337843bfa9e99cbcceca4fea"
2043
},
2144
{
22-
"@id": "_:Ndd6e8785860848aeb6823b493c6420a7"
45+
"@id": "_:Ne9cc5032d4804fa19a3fe75c4966febf"
2346
}
2447
]
2548
},
2649
{
27-
"@id": "_:N44ce7f76801a429d9aabefe1046da060",
28-
"@type": "https://unifiedcyberontology.org/ontology/uco/observable#FileFacet",
29-
"https://unifiedcyberontology.org/ontology/uco/observable#fileName": "sample.txt",
30-
"https://unifiedcyberontology.org/ontology/uco/observable#modifiedTime": {
50+
"@id": "_:Nf16b91a8337843bfa9e99cbcceca4fea",
51+
"@type": "https://ontology.unifiedcyberontology.org/uco/observable/FileFacet",
52+
"https://ontology.unifiedcyberontology.org/uco/observable/fileName": "sample.txt",
53+
"https://ontology.unifiedcyberontology.org/uco/observable/modifiedTime": {
3154
"@type": "http://www.w3.org/2001/XMLSchema#dateTime",
3255
"@value": "2010-01-02T03:04:56+00:00"
3356
},
34-
"https://unifiedcyberontology.org/ontology/uco/observable#sizeInBytes": 4
57+
"https://ontology.unifiedcyberontology.org/uco/observable/sizeInBytes": 4
3558
},
3659
{
37-
"@id": "_:Ndd6e8785860848aeb6823b493c6420a7",
38-
"@type": "https://unifiedcyberontology.org/ontology/uco/observable#ContentDataFacet",
39-
"https://unifiedcyberontology.org/ontology/uco/observable#hash": [
60+
"@id": "_:Ne9cc5032d4804fa19a3fe75c4966febf",
61+
"@type": "https://ontology.unifiedcyberontology.org/uco/observable/ContentDataFacet",
62+
"https://ontology.unifiedcyberontology.org/uco/observable/hash": [
4063
{
41-
"@id": "_:N334acc4a58624aa29968e0d155bd34c7"
64+
"@id": "_:N4074d88aa360403285b8cda26cfc74f2"
4265
},
4366
{
44-
"@id": "_:Na1176e4f42e442b2bd4167202aa93383"
67+
"@id": "_:N801158ea2716484791001371f60d5b60"
4568
},
4669
{
47-
"@id": "_:N400f582d54af4f8190253677f57de728"
70+
"@id": "_:N550b15454d234888abb56ef4a1eb62a6"
4871
},
4972
{
50-
"@id": "_:Nef2949777f2b4b34a46a7d99ea01f44e"
73+
"@id": "_:N4a33b783148c43bd9bda1c04c581ea7c"
5174
}
5275
],
53-
"https://unifiedcyberontology.org/ontology/uco/observable#sizeInBytes": 4
76+
"https://ontology.unifiedcyberontology.org/uco/observable/sizeInBytes": 4
5477
},
5578
{
56-
"@id": "_:N334acc4a58624aa29968e0d155bd34c7",
57-
"@type": "https://unifiedcyberontology.org/ontology/uco/types#Hash",
58-
"https://unifiedcyberontology.org/ontology/uco/types#hashMethod": {
59-
"@type": "https://unifiedcyberontology.org/ontology/uco/vocabulary#HashNameVocab",
79+
"@id": "_:N4074d88aa360403285b8cda26cfc74f2",
80+
"@type": "https://ontology.unifiedcyberontology.org/uco/types/Hash",
81+
"https://ontology.unifiedcyberontology.org/uco/types/hashMethod": {
82+
"@type": "https://ontology.unifiedcyberontology.org/uco/vocabulary/HashNameVocab",
6083
"@value": "MD5"
6184
},
62-
"https://unifiedcyberontology.org/ontology/uco/types#hashValue": {
85+
"https://ontology.unifiedcyberontology.org/uco/types/hashValue": {
6386
"@type": "http://www.w3.org/2001/XMLSchema#hexBinary",
6487
"@value": "098f6bcd4621d373cade4e832627b4f6"
6588
}
6689
},
6790
{
68-
"@id": "_:Na1176e4f42e442b2bd4167202aa93383",
69-
"@type": "https://unifiedcyberontology.org/ontology/uco/types#Hash",
70-
"https://unifiedcyberontology.org/ontology/uco/types#hashMethod": {
71-
"@type": "https://unifiedcyberontology.org/ontology/uco/vocabulary#HashNameVocab",
91+
"@id": "_:N801158ea2716484791001371f60d5b60",
92+
"@type": "https://ontology.unifiedcyberontology.org/uco/types/Hash",
93+
"https://ontology.unifiedcyberontology.org/uco/types/hashMethod": {
94+
"@type": "https://ontology.unifiedcyberontology.org/uco/vocabulary/HashNameVocab",
7295
"@value": "SHA1"
7396
},
74-
"https://unifiedcyberontology.org/ontology/uco/types#hashValue": {
97+
"https://ontology.unifiedcyberontology.org/uco/types/hashValue": {
7598
"@type": "http://www.w3.org/2001/XMLSchema#hexBinary",
7699
"@value": "a94a8fe5ccb19ba61c4c0873d391e987982fbbd3"
77100
}
78101
},
79102
{
80-
"@id": "_:N400f582d54af4f8190253677f57de728",
81-
"@type": "https://unifiedcyberontology.org/ontology/uco/types#Hash",
82-
"https://unifiedcyberontology.org/ontology/uco/types#hashMethod": {
83-
"@type": "https://unifiedcyberontology.org/ontology/uco/vocabulary#HashNameVocab",
103+
"@id": "_:N550b15454d234888abb56ef4a1eb62a6",
104+
"@type": "https://ontology.unifiedcyberontology.org/uco/types/Hash",
105+
"https://ontology.unifiedcyberontology.org/uco/types/hashMethod": {
106+
"@type": "https://ontology.unifiedcyberontology.org/uco/vocabulary/HashNameVocab",
84107
"@value": "SHA256"
85108
},
86-
"https://unifiedcyberontology.org/ontology/uco/types#hashValue": {
109+
"https://ontology.unifiedcyberontology.org/uco/types/hashValue": {
87110
"@type": "http://www.w3.org/2001/XMLSchema#hexBinary",
88111
"@value": "9f86d081884c7d659a2feaa0c55ad015a3bf4f1b2b0b822cd15d6c15b0f00a08"
89112
}
90113
},
91114
{
92-
"@id": "_:Nef2949777f2b4b34a46a7d99ea01f44e",
93-
"@type": "https://unifiedcyberontology.org/ontology/uco/types#Hash",
94-
"https://unifiedcyberontology.org/ontology/uco/types#hashMethod": {
95-
"@type": "https://unifiedcyberontology.org/ontology/uco/vocabulary#HashNameVocab",
115+
"@id": "_:N4a33b783148c43bd9bda1c04c581ea7c",
116+
"@type": "https://ontology.unifiedcyberontology.org/uco/types/Hash",
117+
"https://ontology.unifiedcyberontology.org/uco/types/hashMethod": {
118+
"@type": "https://ontology.unifiedcyberontology.org/uco/vocabulary/HashNameVocab",
96119
"@value": "SHA512"
97120
},
98-
"https://unifiedcyberontology.org/ontology/uco/types#hashValue": {
121+
"https://ontology.unifiedcyberontology.org/uco/types/hashValue": {
99122
"@type": "http://www.w3.org/2001/XMLSchema#hexBinary",
100123
"@value": "ee26b0dd4af7e749aa1a8ee3c10ae9923f618980772e473f8819a5d4940e0db27ac185f8a0e1d5f84f88bc887fd67b143732c304cc5fa9ad8e6f57f50028a8ff"
101124
}

0 commit comments

Comments
 (0)