Skip to content

Commit 4ec8086

Browse files
committed
Update demonstration output to show removed xsd:long
This was done manually after review of generated files, due to noisy and uninformative blank node renames being introduced for unknown reasons. References: * [AC-183] Apply minimal CASE-Utilities-Python updates to use CASE 0.4.0 and UCO 0.6.0 * [UCO OC-19] (CP-24) UCO might not need xsd:long Signed-off-by: Alex Nelson <alexander.nelson@nist.gov>
1 parent 0e875c9 commit 4ec8086

File tree

6 files changed

+15
-27
lines changed

6 files changed

+15
-27
lines changed

tests/case_file/kb.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
"@value": "2010-01-02T03:04:56+00:00"
2020
},
2121
"uco-observable:sizeInBytes": {
22-
"@type": "xsd:long",
22+
"@type": "xsd:integer",
2323
"@value": "4"
2424
}
2525
}
@@ -77,7 +77,7 @@
7777
}
7878
],
7979
"uco-observable:sizeInBytes": {
80-
"@type": "xsd:long",
80+
"@type": "xsd:integer",
8181
"@value": "4"
8282
}
8383
},
@@ -89,7 +89,7 @@
8989
"@value": "2010-01-02T03:04:56+00:00"
9090
},
9191
"uco-observable:sizeInBytes": {
92-
"@type": "xsd:long",
92+
"@type": "xsd:integer",
9393
"@value": "4"
9494
}
9595
}

tests/case_file/kb.ttl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ kb:file-16d49634-ba5d-5f46-ab4e-7a577a4e096d
1414
a uco-observable:FileFacet ;
1515
uco-observable:fileName "sample.txt" ;
1616
uco-observable:modifiedTime "2010-01-02T03:04:56+00:00"^^xsd:dateTime ;
17-
uco-observable:sizeInBytes "4"^^xsd:long ;
17+
uco-observable:sizeInBytes "4"^^xsd:integer ;
1818
] ;
1919
.
2020

@@ -45,13 +45,13 @@ kb:file-57400969-69d0-5d5d-95c4-9dd7de330d3d
4545
uco-types:hashValue "ee26b0dd4af7e749aa1a8ee3c10ae9923f618980772e473f8819a5d4940e0db27ac185f8a0e1d5f84f88bc887fd67b143732c304cc5fa9ad8e6f57f50028a8ff"^^xsd:hexBinary ;
4646
]
4747
;
48-
uco-observable:sizeInBytes "4"^^xsd:long ;
48+
uco-observable:sizeInBytes "4"^^xsd:integer ;
4949
] ,
5050
[
5151
a uco-observable:FileFacet ;
5252
uco-observable:fileName "sample.txt" ;
5353
uco-observable:modifiedTime "2010-01-02T03:04:56+00:00"^^xsd:dateTime ;
54-
uco-observable:sizeInBytes "4"^^xsd:long ;
54+
uco-observable:sizeInBytes "4"^^xsd:integer ;
5555
]
5656
;
5757
.

tests/case_file/sample.txt-disable_hashes.ttl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ kb:file-16d49634-ba5d-5f46-ab4e-7a577a4e096d
1212
a uco-observable:FileFacet ;
1313
uco-observable:fileName "sample.txt" ;
1414
uco-observable:modifiedTime "2010-01-02T03:04:56+00:00"^^xsd:dateTime ;
15-
uco-observable:sizeInBytes "4"^^xsd:long ;
15+
uco-observable:sizeInBytes "4"^^xsd:integer ;
1616
] ;
1717
.
1818

tests/case_file/sample.txt-nocompact.json

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,7 @@
4040
"@id": "_:Na99d1f2a83814ac491c9b02662ea8587"
4141
}
4242
],
43-
"https://unifiedcyberontology.org/ontology/uco/observable#sizeInBytes": {
44-
"@type": "http://www.w3.org/2001/XMLSchema#long",
45-
"@value": "4"
46-
}
43+
"https://unifiedcyberontology.org/ontology/uco/observable#sizeInBytes": 4
4744
},
4845
{
4946
"@id": "_:Nad6171b4933a4a84b83faa5d48fd4ddb",
@@ -101,10 +98,7 @@
10198
"@type": "http://www.w3.org/2001/XMLSchema#dateTime",
10299
"@value": "2010-01-02T03:04:56+00:00"
103100
},
104-
"https://unifiedcyberontology.org/ontology/uco/observable#sizeInBytes": {
105-
"@type": "http://www.w3.org/2001/XMLSchema#long",
106-
"@value": "4"
107-
}
101+
"https://unifiedcyberontology.org/ontology/uco/observable#sizeInBytes": 4
108102
}
109103
]
110-
}
104+
}

tests/case_file/sample.txt.json

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,7 @@
4040
"@id": "_:N77e79676ee5449ea9f6db813fb9dc095"
4141
}
4242
],
43-
"uco-observable:sizeInBytes": {
44-
"@type": "xsd:long",
45-
"@value": "4"
46-
}
43+
"uco-observable:sizeInBytes": 4
4744
},
4845
{
4946
"@id": "_:N839986b2d63a4963beafbb65016449da",
@@ -101,10 +98,7 @@
10198
"@type": "xsd:dateTime",
10299
"@value": "2010-01-02T03:04:56+00:00"
103100
},
104-
"uco-observable:sizeInBytes": {
105-
"@type": "xsd:long",
106-
"@value": "4"
107-
}
101+
"uco-observable:sizeInBytes": 4
108102
}
109103
]
110-
}
104+
}

tests/case_file/sample.txt.ttl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,13 +35,13 @@ kb:file-57400969-69d0-5d5d-95c4-9dd7de330d3d
3535
uco-types:hashValue "ee26b0dd4af7e749aa1a8ee3c10ae9923f618980772e473f8819a5d4940e0db27ac185f8a0e1d5f84f88bc887fd67b143732c304cc5fa9ad8e6f57f50028a8ff"^^xsd:hexBinary ;
3636
]
3737
;
38-
uco-observable:sizeInBytes "4"^^xsd:long ;
38+
uco-observable:sizeInBytes "4"^^xsd:integer ;
3939
] ,
4040
[
4141
a uco-observable:FileFacet ;
4242
uco-observable:fileName "sample.txt" ;
4343
uco-observable:modifiedTime "2010-01-02T03:04:56+00:00"^^xsd:dateTime ;
44-
uco-observable:sizeInBytes "4"^^xsd:long ;
44+
uco-observable:sizeInBytes "4"^^xsd:integer ;
4545
]
4646
;
4747
.

0 commit comments

Comments
 (0)