From 2047180c21aeb4b7116c5f12a05e3fd510cfeee5 Mon Sep 17 00:00:00 2001 From: kchason Date: Tue, 23 Aug 2022 10:29:14 -0400 Subject: [PATCH 1/2] Update example for call_log --- examples/illustrations/call_log/call_log.json | 4 + .../call_log/call_log_validation-develop.ttl | 81 +------------------ .../call_log/call_log_validation-unstable.ttl | 81 +------------------ .../call_log/call_log_validation.ttl | 81 +------------------ 4 files changed, 7 insertions(+), 240 deletions(-) diff --git a/examples/illustrations/call_log/call_log.json b/examples/illustrations/call_log/call_log.json index 6ef2d54e..459a0425 100644 --- a/examples/illustrations/call_log/call_log.json +++ b/examples/illustrations/call_log/call_log.json @@ -46,6 +46,7 @@ "uco-observable:accountIssuer": { "@id": "kb:ATT" }, + "uco-observable:accountIdentifier": "AT123456890", "uco-observable:isActive": true }, { @@ -63,6 +64,7 @@ "uco-observable:accountIssuer": { "@id": "kb:Sprint" }, + "uco-observable:accountIdentifier": "SP123456890", "uco-observable:isActive": true }, { @@ -80,6 +82,7 @@ "uco-observable:accountIssuer": { "@id": "kb:Verizon" }, + "uco-observable:accountIdentifier": "VZ123456890", "uco-observable:isActive": true }, { @@ -97,6 +100,7 @@ "uco-observable:accountIssuer": { "@id": "kb:Zoom" }, + "uco-observable:accountIdentifier": "user@example.org", "uco-observable:isActive": true }, { diff --git a/examples/illustrations/call_log/call_log_validation-develop.ttl b/examples/illustrations/call_log/call_log_validation-develop.ttl index 39bd5cfa..33496ff0 100644 --- a/examples/illustrations/call_log/call_log_validation-develop.ttl +++ b/examples/illustrations/call_log/call_log_validation-develop.ttl @@ -1,4 +1,3 @@ -@prefix observable: . @prefix owl: . @prefix rdf: . @prefix rdfs: . @@ -7,84 +6,6 @@ [] a sh:ValidationReport ; - sh:conforms "false"^^xsd:boolean ; - sh:result - [ - a sh:ValidationResult ; - sh:focusNode [ - a observable:AccountFacet ; - observable:accountIssuer ; - observable:isActive "true"^^xsd:boolean ; - ] ; - sh:resultMessage 'Less than 1 values on [ rdf:type uco-observable:AccountFacet ; uco-observable:accountIssuer kb:ATT ; uco-observable:isActive Literal("true" = True, datatype=xsd:boolean) ]->observable:accountIdentifier' ; - sh:resultPath observable:accountIdentifier ; - sh:resultSeverity sh:Violation ; - sh:sourceConstraintComponent sh:MinCountConstraintComponent ; - sh:sourceShape [ - sh:datatype xsd:string ; - sh:maxCount "1"^^xsd:integer ; - sh:minCount "1"^^xsd:integer ; - sh:nodeKind sh:Literal ; - sh:path observable:accountIdentifier ; - ] ; - ] , - [ - a sh:ValidationResult ; - sh:focusNode [ - a observable:AccountFacet ; - observable:accountIssuer ; - observable:isActive "true"^^xsd:boolean ; - ] ; - sh:resultMessage 'Less than 1 values on [ rdf:type uco-observable:AccountFacet ; uco-observable:accountIssuer kb:Sprint ; uco-observable:isActive Literal("true" = True, datatype=xsd:boolean) ]->observable:accountIdentifier' ; - sh:resultPath observable:accountIdentifier ; - sh:resultSeverity sh:Violation ; - sh:sourceConstraintComponent sh:MinCountConstraintComponent ; - sh:sourceShape [ - sh:datatype xsd:string ; - sh:maxCount "1"^^xsd:integer ; - sh:minCount "1"^^xsd:integer ; - sh:nodeKind sh:Literal ; - sh:path observable:accountIdentifier ; - ] ; - ] , - [ - a sh:ValidationResult ; - sh:focusNode [ - a observable:AccountFacet ; - observable:accountIssuer ; - observable:isActive "true"^^xsd:boolean ; - ] ; - sh:resultMessage 'Less than 1 values on [ rdf:type uco-observable:AccountFacet ; uco-observable:accountIssuer kb:Verizon ; uco-observable:isActive Literal("true" = True, datatype=xsd:boolean) ]->observable:accountIdentifier' ; - sh:resultPath observable:accountIdentifier ; - sh:resultSeverity sh:Violation ; - sh:sourceConstraintComponent sh:MinCountConstraintComponent ; - sh:sourceShape [ - sh:datatype xsd:string ; - sh:maxCount "1"^^xsd:integer ; - sh:minCount "1"^^xsd:integer ; - sh:nodeKind sh:Literal ; - sh:path observable:accountIdentifier ; - ] ; - ] , - [ - a sh:ValidationResult ; - sh:focusNode [ - a observable:AccountFacet ; - observable:accountIssuer ; - observable:isActive "true"^^xsd:boolean ; - ] ; - sh:resultMessage 'Less than 1 values on [ rdf:type uco-observable:AccountFacet ; uco-observable:accountIssuer kb:Zoom ; uco-observable:isActive Literal("true" = True, datatype=xsd:boolean) ]->observable:accountIdentifier' ; - sh:resultPath observable:accountIdentifier ; - sh:resultSeverity sh:Violation ; - sh:sourceConstraintComponent sh:MinCountConstraintComponent ; - sh:sourceShape [ - sh:datatype xsd:string ; - sh:maxCount "1"^^xsd:integer ; - sh:minCount "1"^^xsd:integer ; - sh:nodeKind sh:Literal ; - sh:path observable:accountIdentifier ; - ] ; - ] - ; + sh:conforms "true"^^xsd:boolean ; . diff --git a/examples/illustrations/call_log/call_log_validation-unstable.ttl b/examples/illustrations/call_log/call_log_validation-unstable.ttl index 39bd5cfa..33496ff0 100644 --- a/examples/illustrations/call_log/call_log_validation-unstable.ttl +++ b/examples/illustrations/call_log/call_log_validation-unstable.ttl @@ -1,4 +1,3 @@ -@prefix observable: . @prefix owl: . @prefix rdf: . @prefix rdfs: . @@ -7,84 +6,6 @@ [] a sh:ValidationReport ; - sh:conforms "false"^^xsd:boolean ; - sh:result - [ - a sh:ValidationResult ; - sh:focusNode [ - a observable:AccountFacet ; - observable:accountIssuer ; - observable:isActive "true"^^xsd:boolean ; - ] ; - sh:resultMessage 'Less than 1 values on [ rdf:type uco-observable:AccountFacet ; uco-observable:accountIssuer kb:ATT ; uco-observable:isActive Literal("true" = True, datatype=xsd:boolean) ]->observable:accountIdentifier' ; - sh:resultPath observable:accountIdentifier ; - sh:resultSeverity sh:Violation ; - sh:sourceConstraintComponent sh:MinCountConstraintComponent ; - sh:sourceShape [ - sh:datatype xsd:string ; - sh:maxCount "1"^^xsd:integer ; - sh:minCount "1"^^xsd:integer ; - sh:nodeKind sh:Literal ; - sh:path observable:accountIdentifier ; - ] ; - ] , - [ - a sh:ValidationResult ; - sh:focusNode [ - a observable:AccountFacet ; - observable:accountIssuer ; - observable:isActive "true"^^xsd:boolean ; - ] ; - sh:resultMessage 'Less than 1 values on [ rdf:type uco-observable:AccountFacet ; uco-observable:accountIssuer kb:Sprint ; uco-observable:isActive Literal("true" = True, datatype=xsd:boolean) ]->observable:accountIdentifier' ; - sh:resultPath observable:accountIdentifier ; - sh:resultSeverity sh:Violation ; - sh:sourceConstraintComponent sh:MinCountConstraintComponent ; - sh:sourceShape [ - sh:datatype xsd:string ; - sh:maxCount "1"^^xsd:integer ; - sh:minCount "1"^^xsd:integer ; - sh:nodeKind sh:Literal ; - sh:path observable:accountIdentifier ; - ] ; - ] , - [ - a sh:ValidationResult ; - sh:focusNode [ - a observable:AccountFacet ; - observable:accountIssuer ; - observable:isActive "true"^^xsd:boolean ; - ] ; - sh:resultMessage 'Less than 1 values on [ rdf:type uco-observable:AccountFacet ; uco-observable:accountIssuer kb:Verizon ; uco-observable:isActive Literal("true" = True, datatype=xsd:boolean) ]->observable:accountIdentifier' ; - sh:resultPath observable:accountIdentifier ; - sh:resultSeverity sh:Violation ; - sh:sourceConstraintComponent sh:MinCountConstraintComponent ; - sh:sourceShape [ - sh:datatype xsd:string ; - sh:maxCount "1"^^xsd:integer ; - sh:minCount "1"^^xsd:integer ; - sh:nodeKind sh:Literal ; - sh:path observable:accountIdentifier ; - ] ; - ] , - [ - a sh:ValidationResult ; - sh:focusNode [ - a observable:AccountFacet ; - observable:accountIssuer ; - observable:isActive "true"^^xsd:boolean ; - ] ; - sh:resultMessage 'Less than 1 values on [ rdf:type uco-observable:AccountFacet ; uco-observable:accountIssuer kb:Zoom ; uco-observable:isActive Literal("true" = True, datatype=xsd:boolean) ]->observable:accountIdentifier' ; - sh:resultPath observable:accountIdentifier ; - sh:resultSeverity sh:Violation ; - sh:sourceConstraintComponent sh:MinCountConstraintComponent ; - sh:sourceShape [ - sh:datatype xsd:string ; - sh:maxCount "1"^^xsd:integer ; - sh:minCount "1"^^xsd:integer ; - sh:nodeKind sh:Literal ; - sh:path observable:accountIdentifier ; - ] ; - ] - ; + sh:conforms "true"^^xsd:boolean ; . diff --git a/examples/illustrations/call_log/call_log_validation.ttl b/examples/illustrations/call_log/call_log_validation.ttl index 39bd5cfa..33496ff0 100644 --- a/examples/illustrations/call_log/call_log_validation.ttl +++ b/examples/illustrations/call_log/call_log_validation.ttl @@ -1,4 +1,3 @@ -@prefix observable: . @prefix owl: . @prefix rdf: . @prefix rdfs: . @@ -7,84 +6,6 @@ [] a sh:ValidationReport ; - sh:conforms "false"^^xsd:boolean ; - sh:result - [ - a sh:ValidationResult ; - sh:focusNode [ - a observable:AccountFacet ; - observable:accountIssuer ; - observable:isActive "true"^^xsd:boolean ; - ] ; - sh:resultMessage 'Less than 1 values on [ rdf:type uco-observable:AccountFacet ; uco-observable:accountIssuer kb:ATT ; uco-observable:isActive Literal("true" = True, datatype=xsd:boolean) ]->observable:accountIdentifier' ; - sh:resultPath observable:accountIdentifier ; - sh:resultSeverity sh:Violation ; - sh:sourceConstraintComponent sh:MinCountConstraintComponent ; - sh:sourceShape [ - sh:datatype xsd:string ; - sh:maxCount "1"^^xsd:integer ; - sh:minCount "1"^^xsd:integer ; - sh:nodeKind sh:Literal ; - sh:path observable:accountIdentifier ; - ] ; - ] , - [ - a sh:ValidationResult ; - sh:focusNode [ - a observable:AccountFacet ; - observable:accountIssuer ; - observable:isActive "true"^^xsd:boolean ; - ] ; - sh:resultMessage 'Less than 1 values on [ rdf:type uco-observable:AccountFacet ; uco-observable:accountIssuer kb:Sprint ; uco-observable:isActive Literal("true" = True, datatype=xsd:boolean) ]->observable:accountIdentifier' ; - sh:resultPath observable:accountIdentifier ; - sh:resultSeverity sh:Violation ; - sh:sourceConstraintComponent sh:MinCountConstraintComponent ; - sh:sourceShape [ - sh:datatype xsd:string ; - sh:maxCount "1"^^xsd:integer ; - sh:minCount "1"^^xsd:integer ; - sh:nodeKind sh:Literal ; - sh:path observable:accountIdentifier ; - ] ; - ] , - [ - a sh:ValidationResult ; - sh:focusNode [ - a observable:AccountFacet ; - observable:accountIssuer ; - observable:isActive "true"^^xsd:boolean ; - ] ; - sh:resultMessage 'Less than 1 values on [ rdf:type uco-observable:AccountFacet ; uco-observable:accountIssuer kb:Verizon ; uco-observable:isActive Literal("true" = True, datatype=xsd:boolean) ]->observable:accountIdentifier' ; - sh:resultPath observable:accountIdentifier ; - sh:resultSeverity sh:Violation ; - sh:sourceConstraintComponent sh:MinCountConstraintComponent ; - sh:sourceShape [ - sh:datatype xsd:string ; - sh:maxCount "1"^^xsd:integer ; - sh:minCount "1"^^xsd:integer ; - sh:nodeKind sh:Literal ; - sh:path observable:accountIdentifier ; - ] ; - ] , - [ - a sh:ValidationResult ; - sh:focusNode [ - a observable:AccountFacet ; - observable:accountIssuer ; - observable:isActive "true"^^xsd:boolean ; - ] ; - sh:resultMessage 'Less than 1 values on [ rdf:type uco-observable:AccountFacet ; uco-observable:accountIssuer kb:Zoom ; uco-observable:isActive Literal("true" = True, datatype=xsd:boolean) ]->observable:accountIdentifier' ; - sh:resultPath observable:accountIdentifier ; - sh:resultSeverity sh:Violation ; - sh:sourceConstraintComponent sh:MinCountConstraintComponent ; - sh:sourceShape [ - sh:datatype xsd:string ; - sh:maxCount "1"^^xsd:integer ; - sh:minCount "1"^^xsd:integer ; - sh:nodeKind sh:Literal ; - sh:path observable:accountIdentifier ; - ] ; - ] - ; + sh:conforms "true"^^xsd:boolean ; . From f483435f1131fbe540021d2b937df09b13708d5b Mon Sep 17 00:00:00 2001 From: kchason Date: Fri, 26 Aug 2022 13:16:07 -0400 Subject: [PATCH 2/2] Re-run generated files --- Makefile | 7 +++ examples/illustrations/accounts/accounts.json | 58 +++++++++---------- .../bulk_extractor_forensic_path.json | 50 ++++++++-------- examples/illustrations/call_log/call_log.json | 54 ++++++++--------- examples/illustrations/device/device.json | 4 +- .../illustrations/exif_data/exif_data.json | 46 +++++++-------- .../exif_data/query-select-files.md | 6 +- examples/illustrations/location/location.json | 4 +- .../mobile_device_and_sim_card.json | 22 +++---- ...evice_and_sim_card_validation-unstable.ttl | 22 +------ examples/illustrations/raw_data/raw_data.json | 10 ++-- .../illustrations/recoverability/README.md | 10 ++-- .../recoverability/recoverability.json | 10 ++-- .../src/recoverability-badquinn_ost_tmp.json | 2 +- ...coverability-crossover_thebatplan_lnk.json | 2 +- .../recoverability-diana_sent_location.json | 2 +- .../recoverability-nist_dfr_01_fat_xbied.json | 2 +- .../src/recoverability-sqlite_whatsapp.json | 2 +- .../illustrations/src/illustration-nosrc.mk | 4 ++ 19 files changed, 155 insertions(+), 162 deletions(-) diff --git a/Makefile b/Makefile index 7eded786..77ac81eb 100644 --- a/Makefile +++ b/Makefile @@ -21,6 +21,9 @@ all: \ $(MAKE) \ --directory examples/illustrations +.PHONY: \ + download + .dependencies.done.log: \ .venv.done.log $(MAKE) \ @@ -119,3 +122,7 @@ clean: .venv.done.log @rm -rf \ venv + +download: \ + .venv-pre-commit/var/.pre-commit-built.log \ + .venv.done.log diff --git a/examples/illustrations/accounts/accounts.json b/examples/illustrations/accounts/accounts.json index d926d5e2..1eec3780 100644 --- a/examples/illustrations/accounts/accounts.json +++ b/examples/illustrations/accounts/accounts.json @@ -10,7 +10,7 @@ }, "@graph": [ { - "@id": "kb:actor1", + "@id": "kb:actor-0058fc60-4b1b-4ad4-ba7e-231d00d40973", "@type": "uco-identity:Person", "uco-core:hasFacet": [ { @@ -28,74 +28,74 @@ ] }, { - "@id": "kb:application1", + "@id": "kb:application-ed4caa32-84c8-4813-b21d-f350e47cba7c", "@type": "uco-observable:Application" }, { - "@id": "kb:application2", + "@id": "kb:application-db5e8cbe-70e7-4dff-b981-2c5751b7923c", "@type": "uco-observable:Application" }, { - "@id": "kb:facebook_org", + "@id": "kb:facebook_org-84a47032-567a-4580-9b88-f0141abdc7bf", "@type": "uco-identity:Organization", "uco-core:name": "Google" }, { - "@id": "kb:google_org", + "@id": "kb:google_org-e2ec4537-c2d4-46c5-b159-6f90e84c2e71", "@type": "uco-identity:Organization", "uco-core:name": "Google" }, { - "@id": "kb:associated-account1", + "@id": "kb:associated-account-40d3bfa5-b808-4cf3-8f3e-4c8ea2d79686", "@type": "uco-core:Relationship", "uco-core:source": { - "@id": "kb:actor1" + "@id": "kb:actor-0058fc60-4b1b-4ad4-ba7e-231d00d40973" }, "uco-core:target": [ { - "@id": "kb:facebook_account1" + "@id": "kb:facebook_account-c188af2d-9651-44a8-8d4c-07a1f5f1aa20" } ], "uco-core:kindOfRelationship": "Has_Account", "uco-core:isDirectional": true }, { - "@id": "kb:associated-account2", + "@id": "kb:associated-account-6620a818-7584-4760-a2cf-ff91aa742205", "@type": "uco-core:Relationship", "uco-core:source": { - "@id": "kb:actor1" + "@id": "kb:actor-0058fc60-4b1b-4ad4-ba7e-231d00d40973" }, "uco-core:target": [ { - "@id": "kb:google_account1" + "@id": "kb:google_account-f514a133-bca6-488c-a0a3-44c40f9ac766" } ], "uco-core:kindOfRelationship": "Has_Account", "uco-core:isDirectional": true }, { - "@id": "kb:associated-account3", + "@id": "kb:associated-account-db2cb91c-c31d-496e-9802-bb15f24aa8c5", "@type": "uco-core:Relationship", "uco-core:source": { - "@id": "kb:actor1" + "@id": "kb:actor-0058fc60-4b1b-4ad4-ba7e-231d00d40973" }, "uco-core:target": [ { - "@id": "kb:email_account1" + "@id": "kb:email_account-e798e18c-0bef-4883-83df-e2710c4bc7e4" } ], "uco-core:kindOfRelationship": "Has_Account", "uco-core:isDirectional": true }, { - "@id": "kb:facebook_account1", + "@id": "kb:facebook_account-c188af2d-9651-44a8-8d4c-07a1f5f1aa20", "@type": "uco-observable:DigitalAccount", "uco-core:hasFacet": [ { "@type": "uco-observable:AccountFacet", "uco-observable:accountIdentifier": "1235556677@facebook.net", "uco-observable:accountIssuer": { - "@id": "kb:facebook_org" + "@id": "kb:facebook_org-84a47032-567a-4580-9b88-f0141abdc7bf" } }, { @@ -122,7 +122,7 @@ { "@type": "uco-observable:ApplicationAccountFacet", "uco-observable:application": { - "@id": "kb:application1" + "@id": "kb:application-ed4caa32-84c8-4813-b21d-f350e47cba7c" } }, { @@ -140,29 +140,29 @@ ] }, { - "@id": "kb:associated-account4", + "@id": "kb:associated-account-419252da-6d0b-4f93-b070-75b9a5bc1cc2", "@type": "uco-core:Relationship", "rdfs:comment": "It is possible isDirectional should be false. This is being tracked in UCO OC-135.", "uco-core:source": { - "@id": "kb:facebook_account1" + "@id": "kb:facebook_account-c188af2d-9651-44a8-8d4c-07a1f5f1aa20" }, "uco-core:target": [ { - "@id": "kb:email_account1" + "@id": "kb:email_account-e798e18c-0bef-4883-83df-e2710c4bc7e4" } ], "uco-core:kindOfRelationship": "Associated_Account", "uco-core:isDirectional": true }, { - "@id": "kb:google_account1", + "@id": "kb:google_account-f514a133-bca6-488c-a0a3-44c40f9ac766", "@type": "uco-observable:DigitalAccount", "uco-core:hasFacet": [ { "@type": "uco-observable:AccountFacet", "uco-observable:accountIdentifier": "willyROX@gmail.com", "uco-observable:accountIssuer": { - "@id": "kb:google_org" + "@id": "kb:google_org-e2ec4537-c2d4-46c5-b159-6f90e84c2e71" }, "uco-observable:observableCreatedTime": { "@type": "xsd:dateTime", @@ -196,7 +196,7 @@ { "@type": "uco-observable:ApplicationAccountFacet", "uco-observable:application": { - "@id": "kb:application2" + "@id": "kb:application-db5e8cbe-70e7-4dff-b981-2c5751b7923c" } }, { @@ -214,34 +214,34 @@ ] }, { - "@id": "kb:associated-account4", + "@id": "kb:associated-account-8222be1c-1e4a-4c1d-a631-bb3aa9743971", "@type": "uco-observable:ObservableRelationship", "rdfs:comment": "It is possible isDirectional should be false. This is being tracked in UCO OC-135.", "uco-core:source": { - "@id": "kb:google_account1" + "@id": "kb:google_account-f514a133-bca6-488c-a0a3-44c40f9ac766" }, "uco-core:target": [ { - "@id": "kb:email_account1" + "@id": "kb:email_account-e798e18c-0bef-4883-83df-e2710c4bc7e4" } ], "uco-core:kindOfRelationship": "Associated_Account", "uco-core:isDirectional": true }, { - "@id": "kb:email_account1", + "@id": "kb:email_account-e798e18c-0bef-4883-83df-e2710c4bc7e4", "@type": "uco-observable:EmailAccount", "uco-core:hasFacet": [ { "@type": "uco-observable:EmailAccountFacet", "uco-observable:emailAddress": { - "@id": "kb:email-address1" + "@id": "kb:email-address-eeb346b0-470d-402b-b9ce-17134b1c572e" } } ] }, { - "@id": "kb:email-address1", + "@id": "kb:email-address-eeb346b0-470d-402b-b9ce-17134b1c572e", "@type": "uco-observable:EmailAddress", "uco-core:hasFacet": [ { diff --git a/examples/illustrations/bulk_extractor_forensic_path/bulk_extractor_forensic_path.json b/examples/illustrations/bulk_extractor_forensic_path/bulk_extractor_forensic_path.json index 2151df9c..8a1c0232 100644 --- a/examples/illustrations/bulk_extractor_forensic_path/bulk_extractor_forensic_path.json +++ b/examples/illustrations/bulk_extractor_forensic_path/bulk_extractor_forensic_path.json @@ -11,7 +11,7 @@ }, "@graph": [ { - "@id": "kb:extracted_email_address0", + "@id": "kb:extracted_email_address-8a042a47-e34b-46e3-b5a2-0fac4fd66aa7", "@type": "uco-observable:EmailAddress", "uco-core:hasFacet": [ { @@ -39,13 +39,13 @@ ] }, { - "@id": "kb:relationship0", + "@id": "kb:relationship-c8007a4a-46b3-4fbb-8b67-7a14b9e65694", "@type": "uco-observable:ObservableRelationship", "uco-core:source": { - "@id": "kb:extracted_email_address0" + "@id": "kb:extracted_email_address-8a042a47-e34b-46e3-b5a2-0fac4fd66aa7" }, "uco-core:target": { - "@id": "kb:decompressed_gzip0" + "@id": "kb:decompressed_gzip-95bfe9c0-1473-41e0-a2b4-22dd2d28bd8b" }, "uco-core:kindOfRelationship": "Contained_Within", "uco-core:isDirectional": true, @@ -58,7 +58,7 @@ ] }, { - "@id": "kb:extracted_email_address1", + "@id": "kb:extracted_email_address-416ecb32-ecb1-4e23-a5b4-836c07a1de4e", "@type": "uco-observable:EmailAddress", "uco-core:hasFacet": [ { @@ -86,13 +86,13 @@ ] }, { - "@id": "kb:relationship1", + "@id": "kb:relationship-21bf5cd2-2365-420d-8175-a87fd722e790", "@type": "uco-observable:ObservableRelationship", "uco-core:source": { - "@id": "kb:extracted_email_address1" + "@id": "kb:extracted_email_address-416ecb32-ecb1-4e23-a5b4-836c07a1de4e" }, "uco-core:target": { - "@id": "kb:decompressed_gzip0" + "@id": "kb:decompressed_gzip-95bfe9c0-1473-41e0-a2b4-22dd2d28bd8b" }, "uco-core:kindOfRelationship": "Contained_Within", "uco-core:isDirectional": true, @@ -105,7 +105,7 @@ ] }, { - "@id": "kb:decompressed_gzip0", + "@id": "kb:decompressed_gzip-95bfe9c0-1473-41e0-a2b4-22dd2d28bd8b", "@type": "uco-observable:ContentData", "uco-core:hasFacet": [ { @@ -134,13 +134,13 @@ ] }, { - "@id": "kb:relationship3", + "@id": "kb:relationship-a99e82ff-3908-41ea-b5db-71858d651476", "@type": "uco-observable:ObservableRelationship", "uco-core:source": { - "@id": "kb:decompressed_gzip0" + "@id": "kb:decompressed_gzip-95bfe9c0-1473-41e0-a2b4-22dd2d28bd8b" }, "uco-core:target": { - "@id": "kb:compressed_gzip0" + "@id": "kb:compressed_gzip-56ce1a82-7965-4a50-8feb-7524e03fba04" }, "uco-core:kindOfRelationship": "Decompressed_From", "uco-core:isDirectional": true, @@ -152,7 +152,7 @@ ] }, { - "@id": "kb:compressed_gzip0", + "@id": "kb:compressed_gzip-56ce1a82-7965-4a50-8feb-7524e03fba04", "@type": "uco-observable:ContentData", "uco-core:hasFacet": [ { @@ -176,13 +176,13 @@ ] }, { - "@id": "kb:relationship4", + "@id": "kb:relationship-58b547f5-65a5-4275-84d7-32a234f4aba0", "@type": "uco-observable:ObservableRelationship", "uco-core:source": { - "@id": "kb:compressed_gzip0" + "@id": "kb:compressed_gzip-56ce1a82-7965-4a50-8feb-7524e03fba04" }, "uco-core:target": { - "@id": "kb:decompressed_gzip1" + "@id": "kb:decompressed_gzip-93aef5ce-40a5-4bd4-8a4f-56f885d27695" }, "uco-core:kindOfRelationship": "Contained_Within", "uco-core:isDirectional": true, @@ -195,7 +195,7 @@ ] }, { - "@id": "kb:decompressed_gzip1", + "@id": "kb:decompressed_gzip-93aef5ce-40a5-4bd4-8a4f-56f885d27695", "@type": "uco-observable:ContentData", "uco-core:hasFacet": [ { @@ -219,13 +219,13 @@ ] }, { - "@id": "kb:relationship5", + "@id": "kb:relationship-c128681a-49ab-4b98-8535-e338132a795d", "@type": "uco-observable:ObservableRelationship", "uco-core:source": { - "@id": "kb:decompressed_gzip1" + "@id": "kb:decompressed_gzip-93aef5ce-40a5-4bd4-8a4f-56f885d27695" }, "uco-core:target": { - "@id": "kb:compressed_gzip1" + "@id": "kb:compressed_gzip-e17babc0-dabb-45d1-8202-0f02518c2a89" }, "uco-core:kindOfRelationship": "Decompressed_From", "uco-core:isDirectional": true, @@ -237,7 +237,7 @@ ] }, { - "@id": "kb:compressed_gzip1", + "@id": "kb:compressed_gzip-e17babc0-dabb-45d1-8202-0f02518c2a89", "@type": "uco-observable:ContentData", "uco-core:hasFacet": [ { @@ -261,13 +261,13 @@ ] }, { - "@id": "kb:relationship6", + "@id": "kb:relationship-4b3f030f-c214-48a8-9832-c302994d1874", "@type": "uco-observable:ObservableRelationship", "uco-core:source": { - "@id": "kb:compressed_gzip1" + "@id": "kb:compressed_gzip-e17babc0-dabb-45d1-8202-0f02518c2a89" }, "uco-core:target": { - "@id": "kb:disk_image" + "@id": "kb:disk_image-f654431a-ee73-4c9f-8ebb-e689df534f6c" }, "uco-core:kindOfRelationship": "Contained_Within", "uco-core:isDirectional": true, @@ -280,7 +280,7 @@ ] }, { - "@id": "kb:disk_image", + "@id": "kb:disk_image-f654431a-ee73-4c9f-8ebb-e689df534f6c", "@type": [ "uco-observable:File", "uco-observable:Image" diff --git a/examples/illustrations/call_log/call_log.json b/examples/illustrations/call_log/call_log.json index 459a0425..95a1df9f 100644 --- a/examples/illustrations/call_log/call_log.json +++ b/examples/illustrations/call_log/call_log.json @@ -10,19 +10,19 @@ }, "@graph": [ { - "@id": "kb:ATT", + "@id": "kb:att-466a0ea8-b22f-4175-8119-846bec8f7831", "@type": "uco-identity:Organization" }, { - "@id": "kb:Sprint", + "@id": "kb:sprint-68503a2e-6ec3-422a-8ef4-9f57f2aad202", "@type": "uco-identity:Organization" }, { - "@id": "kb:Verizon", + "@id": "kb:verizon-47a7bc5c-f4a7-4fe3-a700-82bcfaf07a12", "@type": "uco-identity:Organization" }, { - "@id": "kb:Zoom", + "@id": "kb:zoom-b5a12ff2-91ac-42d1-9741-7db20e50bc0b", "@type": "uco-identity:Organization" }, { @@ -38,13 +38,13 @@ "@type": "uco-observable:Application" }, { - "@id": "kb:phone_account1", + "@id": "kb:phone_account-4e172ed5-7b58-4903-96fe-4558f46820ba", "@type": "uco-observable:PhoneAccount", "uco-core:hasFacet": [ { "@type": "uco-observable:AccountFacet", "uco-observable:accountIssuer": { - "@id": "kb:ATT" + "@id": "kb:att-466a0ea8-b22f-4175-8119-846bec8f7831" }, "uco-observable:accountIdentifier": "AT123456890", "uco-observable:isActive": true @@ -56,13 +56,13 @@ ] }, { - "@id": "kb:phone_account2", + "@id": "kb:phone_account-86bdc508-1f64-4df3-bc8f-0136976c2e93", "@type": "uco-observable:PhoneAccount", "uco-core:hasFacet": [ { "@type": "uco-observable:AccountFacet", "uco-observable:accountIssuer": { - "@id": "kb:Sprint" + "@id": "kb:sprint-68503a2e-6ec3-422a-8ef4-9f57f2aad202" }, "uco-observable:accountIdentifier": "SP123456890", "uco-observable:isActive": true @@ -74,13 +74,13 @@ ] }, { - "@id": "kb:phone_account3", + "@id": "kb:phone_account-19db8820-3d40-4b38-84cf-abbb26c95128", "@type": "uco-observable:PhoneAccount", "uco-core:hasFacet": [ { "@type": "uco-observable:AccountFacet", "uco-observable:accountIssuer": { - "@id": "kb:Verizon" + "@id": "kb:verizon-47a7bc5c-f4a7-4fe3-a700-82bcfaf07a12" }, "uco-observable:accountIdentifier": "VZ123456890", "uco-observable:isActive": true @@ -92,13 +92,13 @@ ] }, { - "@id": "kb:bridge_account1", + "@id": "kb:bridge_account-2ee6c2f5-11dd-42f4-9345-cdefc1e24889", "@type": "uco-observable:PhoneAccount", "uco-core:hasFacet": [ { "@type": "uco-observable:AccountFacet", "uco-observable:accountIssuer": { - "@id": "kb:Zoom" + "@id": "kb:zoom-b5a12ff2-91ac-42d1-9741-7db20e50bc0b" }, "uco-observable:accountIdentifier": "user@example.org", "uco-observable:isActive": true @@ -110,7 +110,7 @@ ] }, { - "@id": "kb:phone_call1", + "@id": "kb:phone_call-edacc7ec-4e8e-4de4-ad83-10a892cd3855", "@type": "uco-observable:Call", "uco-core:description": "An example of a two-party, one-way phone call that has clear directionality between a caller (from) and receiver (to).", "uco-core:hasFacet": [ @@ -129,17 +129,17 @@ "@value": "2010-01-15T18:30:41.25Z" }, "uco-observable:from": { - "@id": "kb:phone_account1" + "@id": "kb:phone_account-4e172ed5-7b58-4903-96fe-4558f46820ba" }, "uco-observable:to": { - "@id": "kb:phone_account2" + "@id": "kb:phone_account-86bdc508-1f64-4df3-bc8f-0136976c2e93" }, "uco-observable:duration": 1862 } ] }, { - "@id": "kb:non-directional-phone-call-1", + "@id": "kb:non-directional-phone-call-d3d321f3-0c47-4ca6-90f7-18697160dcd2", "@type": "uco-observable:Call", "uco-core:description": "An example of a two-party, one-way phone call that has does not have clear directionality between a caller (from) and receiver (to).", "uco-core:hasFacet": [ @@ -159,10 +159,10 @@ }, "uco-observable:to": [ { - "@id": "kb:phone_account1" + "@id": "kb:phone_account-4e172ed5-7b58-4903-96fe-4558f46820ba" }, { - "@id": "kb:phone_account2" + "@id": "kb:phone_account-86bdc508-1f64-4df3-bc8f-0136976c2e93" } ], "uco-observable:duration": 1862 @@ -170,7 +170,7 @@ ] }, { - "@id": "kb:multi-participant-phone-call-1", + "@id": "kb:multi-participant-phone-call-ce14cf4d-2530-4f8f-9cb6-06f851d1691b", "@type": "uco-observable:Call", "uco-core:description": "An example of a three-way call phone call that has clear directionality between a caller (from) and two receivers (to).", "uco-core:hasFacet": [ @@ -189,14 +189,14 @@ "@value": "2010-01-15T18:30:41.25Z" }, "uco-observable:from": { - "@id": "kb:phone_account1" + "@id": "kb:phone_account-4e172ed5-7b58-4903-96fe-4558f46820ba" }, "uco-observable:to": [ { - "@id": "kb:phone_account2" + "@id": "kb:phone_account-86bdc508-1f64-4df3-bc8f-0136976c2e93" }, { - "@id": "kb:phone_account3" + "@id": "kb:phone_account-19db8820-3d40-4b38-84cf-abbb26c95128" } ], "uco-observable:duration": 1862 @@ -204,7 +204,7 @@ ] }, { - "@id": "kb:conference-bridge-phone-call-1", + "@id": "kb:conference-bridge-phone-call-b3030d8b-ec64-4d88-b136-d4705f657e37", "@type": "uco-observable:Call", "uco-core:description": "An example of a conference bridge phone call that does not have clear directionality between a caller (from) and receivers (to).", "uco-core:hasFacet": [ @@ -224,16 +224,16 @@ }, "uco-observable:to": [ { - "@id": "kb:phone_account1" + "@id": "kb:phone_account-4e172ed5-7b58-4903-96fe-4558f46820ba" }, { - "@id": "kb:phone_account2" + "@id": "kb:phone_account-86bdc508-1f64-4df3-bc8f-0136976c2e93" }, { - "@id": "kb:phone_account3" + "@id": "kb:phone_account-19db8820-3d40-4b38-84cf-abbb26c95128" }, { - "@id": "kb:bridge_account1" + "@id": "kb:bridge_account-2ee6c2f5-11dd-42f4-9345-cdefc1e24889" } ], "uco-observable:duration": 1862 diff --git a/examples/illustrations/device/device.json b/examples/illustrations/device/device.json index 23aa9faa..57a834a3 100644 --- a/examples/illustrations/device/device.json +++ b/examples/illustrations/device/device.json @@ -22,10 +22,10 @@ "uco-core:name": "Microsoft" }, { - "@id": "kb:forensic_lab_computer1-uuid", + "@id": "kb:forensic_lab_computer-a730c324-49e6-4b12-869e-6addd946545d", "@type": "uco-observable:Device", "location": { - "@id": "kb:forensic_lab1-uuid" + "@id": "kb:forensic_lab-2514fffb-affc-43be-a3bb-be1dd606eff0" }, "uco-core:hasFacet": [ { diff --git a/examples/illustrations/exif_data/exif_data.json b/examples/illustrations/exif_data/exif_data.json index 9ab5531a..1c427134 100644 --- a/examples/illustrations/exif_data/exif_data.json +++ b/examples/illustrations/exif_data/exif_data.json @@ -21,7 +21,7 @@ "uco-core:name": "Canon" }, { - "@id": "kb:camera1", + "@id": "kb:camera-a59ca7f2-cf15-4800-9dd3-1a2df40c6f6e", "@type": "uco-observable:Device", "uco-core:hasFacet": [ { @@ -36,13 +36,13 @@ ] }, { - "@id": "kb:relationship1", + "@id": "kb:relationship-03f0f4a6-661a-46f8-a602-15d9d1b67f32", "@type": "uco-observable:ObservableRelationship", "uco-core:source": { - "@id": "kb:digital_photograph1" + "@id": "kb:digital_photograph-3a9be7ba-c2b6-4511-b9c4-fabb729bbcae" }, "uco-core:target": { - "@id": "kb:device_partition3" + "@id": "kb:device_partition-f1a14892-8179-48aa-a74b-e3e434a9c0c1" }, "uco-core:isDirectional": true, "uco-core:kindOfRelationship": "Contained_Within", @@ -54,7 +54,7 @@ ] }, { - "@id": "kb:digital_photograph1", + "@id": "kb:digital_photograph-3a9be7ba-c2b6-4511-b9c4-fabb729bbcae", "@type": "uco-observable:File", "uco-core:hasFacet": [ { @@ -147,7 +147,7 @@ ] }, { - "@id": "kb:camera_action1", + "@id": "kb:camera_action-7995f522-6388-463f-855e-e08130477744", "@type": "uco-action:Action", "uco-core:name": "photo_taken", "uco-action:startTime": { @@ -155,43 +155,43 @@ "@value": "2010-01-15T17:59:43.25Z" }, "uco-action:instrument": { - "@id": "kb:camera1" + "@id": "kb:camera-a59ca7f2-cf15-4800-9dd3-1a2df40c6f6e" }, "uco-action:result": [ { - "@id": "kb:digital_photograph1" + "@id": "kb:digital_photograph-3a9be7ba-c2b6-4511-b9c4-fabb729bbcae" } ], "uco-action:location": { - "@id": "kb:location1" + "@id": "kb:location-a81948a1-e395-416a-9322-5742866f7020" } }, { - "@id": "kb:annotator_tool1", + "@id": "kb:annotator_tool-ca41faa8-a59c-4321-b047-4d916f75b1e8", "@type": "uco-tool:AnalyticTool" }, { - "@id": "kb:examiner1", + "@id": "kb:examiner-88a08acc-dad2-4964-be3b-8b70e11a4f4d", "@type": "uco-identity:Person" }, { - "@id": "kb:forensic_lab_computer1", + "@id": "kb:forensic_lab_computer-4e95a8d3-066a-4600-8ad0-8b4d0241ce5c", "@type": "uco-observable:Device" }, { - "@id": "kb:location1", + "@id": "kb:location-a81948a1-e395-416a-9322-5742866f7020", "@type": "uco-location:Location" }, { - "@id": "kb:device_partition3", + "@id": "kb:device_partition-f1a14892-8179-48aa-a74b-e3e434a9c0c1", "@type": "uco-observable:DiskPartition" }, { - "@id": "kb:forensic_lab1", + "@id": "kb:forensic_lab-fae4ff1e-7d06-49da-9c89-da37ef612b25", "@type": "uco-location:Location" }, { - "@id": "kb:annotation1", + "@id": "kb:annotation-b8258799-b465-4182-904b-c0aa73a35b0b", "@type": "uco-core:Annotation", "uco-core:description": "Photo was taken by a Canon digital camera.", "uco-core:tag": [ @@ -200,11 +200,11 @@ "extracted" ], "uco-core:object": { - "@id": "kb:camera_action1" + "@id": "kb:camera_action-7995f522-6388-463f-855e-e08130477744" } }, { - "@id": "kb:forensic_action7", + "@id": "kb:forensic_action-306e44f8-446d-4cff-a2fd-9e54affb1fa3", "@type": "case-investigation:InvestigativeAction", "uco-core:name": "annotated", "uco-action:startTime": { @@ -216,21 +216,21 @@ "@value": "2010-01-15T18:59:43.25Z" }, "uco-action:performer": { - "@id": "kb:examiner1" + "@id": "kb:examiner-88a08acc-dad2-4964-be3b-8b70e11a4f4d" }, "uco-action:instrument": { - "@id": "kb:annotator_tool1" + "@id": "kb:annotator_tool-ca41faa8-a59c-4321-b047-4d916f75b1e8" }, "uco-action:result": [ { - "@id": "kb:annotation1" + "@id": "kb:annotation-b8258799-b465-4182-904b-c0aa73a35b0b" } ], "uco-action:location": { - "@id": "kb:forensic_lab1" + "@id": "kb:forensic_lab-fae4ff1e-7d06-49da-9c89-da37ef612b25" }, "uco-action:environment": { - "@id": "kb:forensic_lab_computer1" + "@id": "kb:forensic_lab_computer-4e95a8d3-066a-4600-8ad0-8b4d0241ce5c" } } ] diff --git a/examples/illustrations/exif_data/query-select-files.md b/examples/illustrations/exif_data/query-select-files.md index 402e7778..8a411f92 100644 --- a/examples/illustrations/exif_data/query-select-files.md +++ b/examples/illustrations/exif_data/query-select-files.md @@ -1,3 +1,3 @@ -| | ?nFile | ?lFileName | -|----|-------------------------------------------|--------------| -| 0 | http://example.org/kb/digital_photograph1 | IMG_0123.jpg | \ No newline at end of file +| | ?nFile | ?lFileName | +|----|-------------------------------------------------------------------------------|--------------| +| 0 | http://example.org/kb/digital_photograph-3a9be7ba-c2b6-4511-b9c4-fabb729bbcae | IMG_0123.jpg | \ No newline at end of file diff --git a/examples/illustrations/location/location.json b/examples/illustrations/location/location.json index ad3c0562..a3820f5b 100644 --- a/examples/illustrations/location/location.json +++ b/examples/illustrations/location/location.json @@ -11,7 +11,7 @@ }, "@graph": [ { - "@id": "kb:location1", + "@id": "kb:location-4511219e-a924-4ba5-aee7-dfad5a2c9c05", "@type": "uco-location:Location", "uco-core:hasFacet": [ { @@ -32,7 +32,7 @@ ] }, { - "@id": "kb:location2", + "@id": "kb:location-b579264d-6e30-4055-bf9b-72390364f224", "@type": "uco-location:Location", "uco-core:hasFacet": [ { diff --git a/examples/illustrations/mobile_device_and_sim_card/mobile_device_and_sim_card.json b/examples/illustrations/mobile_device_and_sim_card/mobile_device_and_sim_card.json index 3eee6e64..12b0ab95 100644 --- a/examples/illustrations/mobile_device_and_sim_card/mobile_device_and_sim_card.json +++ b/examples/illustrations/mobile_device_and_sim_card/mobile_device_and_sim_card.json @@ -13,7 +13,7 @@ }, "@graph": [ { - "@id": "kb:mobile-device-uuid", + "@id": "kb:mobile-device-d5143a67-8b61-491b-a5e9-863b606e296a", "@type": "uco-observable:MobileDevice", "uco-core:hasFacet": [ { @@ -63,21 +63,21 @@ "uco-core:name": "Apple" }, { - "@id": "kb:trace-relationship1-uuid", + "@id": "kb:trace-relationship-44bc4b9d-680d-499f-9db1-80af07e11bdc", "@type": "uco-observable:ObservableRelationship", "uco-core:source": { - "@id": "kb:sim-card-uuid" + "@id": "kb:sim-card-8b2024b5-1e73-405c-b89f-6e4be86692ef" }, "uco-core:target": [ { - "@id": "kb:mobile-device-uuid" + "@id": "kb:mobile-device-d5143a67-8b61-491b-a5e9-863b606e296a" } ], "uco-core:kindOfRelationship": "Contained_Within", "uco-core:isDirectional": true }, { - "@id": "kb:sim-card-uuid", + "@id": "kb:sim-card-8b2024b5-1e73-405c-b89f-6e4be86692ef", "@type": "uco-observable:SIMCard", "uco-core:hasFacet": [ { @@ -85,7 +85,7 @@ "uco-observable:ICCID": "456673345673436xxx", "IMSI": [ { - "@id": "kb:mobile-account2-uuid" + "@id": "kb:mobile-account-05328472-66de-4290-8c95-0984504e7279" } ], "uco-observable:SIMType": "USIM", @@ -102,19 +102,19 @@ "uco-core:name": "Vodafone" }, { - "@id": "kb:device-account-relationship1", + "@id": "kb:device-account-relationship-25eeee57-4d61-49ba-95bf-919277cf9749", "@type": "uco-core:Relationship", "uco-core:source": { - "@id": "kb:mobile-device-uuid" + "@id": "kb:mobile-device-d5143a67-8b61-491b-a5e9-863b606e296a" }, "uco-core:target": { - "@id": "kb:mobile-account1-uuid" + "@id": "kb:mobile-account-09da8ec2-8d6c-41e3-8bd9-bfd06a550141" }, "uco-core:kindOfRelationship": "Has_Account", "uco-core:isDirectional": true }, { - "@id": "kb:mobile-account1-uuid", + "@id": "kb:mobile-account-09da8ec2-8d6c-41e3-8bd9-bfd06a550141", "@type": "uco-observable:MobileAccount", "uco-core:hasFacet": [ { @@ -132,7 +132,7 @@ ] }, { - "@id": "kb:mobile-account2-uuid", + "@id": "kb:mobile-account-05328472-66de-4290-8c95-0984504e7279", "@type": "uco-observable:MobileAccount", "uco-core:hasFacet": [ { diff --git a/examples/illustrations/mobile_device_and_sim_card/mobile_device_and_sim_card_validation-unstable.ttl b/examples/illustrations/mobile_device_and_sim_card/mobile_device_and_sim_card_validation-unstable.ttl index cad8eff6..87508b3a 100644 --- a/examples/illustrations/mobile_device_and_sim_card/mobile_device_and_sim_card_validation-unstable.ttl +++ b/examples/illustrations/mobile_device_and_sim_card/mobile_device_and_sim_card_validation-unstable.ttl @@ -45,16 +45,7 @@ sh:or ( [ sh:datatype vocabulary:AccountTypeVocab ; - sh:in ( - "ldap"^^vocabulary:AccountTypeVocab - "nis"^^vocabulary:AccountTypeVocab - "openid"^^vocabulary:AccountTypeVocab - "radius"^^vocabulary:AccountTypeVocab - "tacacs"^^vocabulary:AccountTypeVocab - "unix"^^vocabulary:AccountTypeVocab - "windows_domain"^^vocabulary:AccountTypeVocab - "windows_local"^^vocabulary:AccountTypeVocab - ) ; + sh:in vocabulary:AccountTypeVocab-members ; ] [ sh:datatype xsd:string ; @@ -99,16 +90,7 @@ sh:or ( [ sh:datatype vocabulary:AccountTypeVocab ; - sh:in ( - "ldap"^^vocabulary:AccountTypeVocab - "nis"^^vocabulary:AccountTypeVocab - "openid"^^vocabulary:AccountTypeVocab - "radius"^^vocabulary:AccountTypeVocab - "tacacs"^^vocabulary:AccountTypeVocab - "unix"^^vocabulary:AccountTypeVocab - "windows_domain"^^vocabulary:AccountTypeVocab - "windows_local"^^vocabulary:AccountTypeVocab - ) ; + sh:in vocabulary:AccountTypeVocab-members ; ] [ sh:datatype xsd:string ; diff --git a/examples/illustrations/raw_data/raw_data.json b/examples/illustrations/raw_data/raw_data.json index 2f11cd3e..8683abbe 100644 --- a/examples/illustrations/raw_data/raw_data.json +++ b/examples/illustrations/raw_data/raw_data.json @@ -11,7 +11,7 @@ }, "@graph": [ { - "@id": "kb:digital_photograph_thumbnail1", + "@id": "kb:digital_photograph_thumbnail-a4e05bbf-f533-43a5-abaf-e8907afdc7a0", "rdfs:seeAlso": { "@id": "https://unifiedcyberontology.atlassian.net/browse/OC-222" }, @@ -43,13 +43,13 @@ ] }, { - "@id": "kb:relationship0", + "@id": "kb:relationship-e463912d-2ebb-4558-9990-3391eef56c4d", "@type": "uco-observable:ObservableRelationship", "uco-core:source": { - "@id": "kb:digital_photograph_thumbnail1" + "@id": "kb:digital_photograph_thumbnail-a4e05bbf-f533-43a5-abaf-e8907afdc7a0" }, "uco-core:target": { - "@id": "kb:digital_photograph1" + "@id": "kb:digital_photograph-fb36765f-2bd6-4763-9a3a-be32731162ce" }, "uco-core:kindOfRelationship": "Contained_Within", "uco-core:isDirectional": true, @@ -62,7 +62,7 @@ ] }, { - "@id": "kb:digital_photograph1", + "@id": "kb:digital_photograph-fb36765f-2bd6-4763-9a3a-be32731162ce", "@type": "uco-observable:RasterPicture", "uco-core:hasFacet": [ { diff --git a/examples/illustrations/recoverability/README.md b/examples/illustrations/recoverability/README.md index a4cc8290..3ab085bd 100644 --- a/examples/illustrations/recoverability/README.md +++ b/examples/illustrations/recoverability/README.md @@ -34,7 +34,7 @@ Using the NIST image `dfr-01-fat.dd` of a FAT 12 file system with unallocated fi ```json [ { - "@id": "kb:CB0354F5-2DBD-4C02-8A6C-011B77125EE2", + "@id": "kb:cb0354f5-2dbd-4c02-8a6c-011b77125ee2", "@type": [ "drafting:RecoveredObject", "uco-observable:File" @@ -90,7 +90,7 @@ This recovered file system entry can be represented using the `observable:Recove ```json [ { - "@id": "kb:BD64BDD9-3DCD-4828-A25B-A72C06E472CD", + "@id": "kb:bd64bdd9-3dcd-4828-a25b-a72c06e472cd", "@type": [ "drafting:RecoveredObject", "uco-observable:File" @@ -132,7 +132,7 @@ Again using the [Crossover](https://caseontology.org/examples/crossover/) shared ```json [ { - "@id": "kb:665D63BE-93E6-4D3E-8E75-3112BE091E93", + "@id": "kb:665d63be-93e6-4d3e-8e75-3112be091e93", "@type": [ "drafting:RecoveredObject", "uco-observable:File" @@ -183,7 +183,7 @@ Similar to a LNK file on Windows, entries in the external.db entry on the Samsun ```json [ { - "@id": "kb:4026FABD-924D-4138-A6BA-73DF2EB37BCB", + "@id": "kb:4026fabd-924d-4138-a6ba-73df2eb37bcb", "@type": [ "drafting:RecoveredObject", "uco-observable:File" @@ -233,7 +233,7 @@ This recovered chat message can be represented using the `observable:RecoveredOb ```json [ { - "@id": "kb:C01E67F9-ADB5-48BD-B09D-E7326FA8D592", + "@id": "kb:c01e67f9-adb5-48bd-b09d-e7326fa8d592", "@type": [ "drafting:RecoveredObject", "uco-observable:Message" diff --git a/examples/illustrations/recoverability/recoverability.json b/examples/illustrations/recoverability/recoverability.json index a065d26e..28a24cb3 100644 --- a/examples/illustrations/recoverability/recoverability.json +++ b/examples/illustrations/recoverability/recoverability.json @@ -8,7 +8,7 @@ }, "@graph": [ { - "@id": "kb:4026FABD-924D-4138-A6BA-73DF2EB37BCB", + "@id": "kb:4026fabd-924d-4138-a6ba-73df2eb37bcb", "@type": [ "drafting:RecoveredObject", "uco-observable:File" @@ -44,7 +44,7 @@ ] }, { - "@id": "kb:665D63BE-93E6-4D3E-8E75-3112BE091E93", + "@id": "kb:665d63be-93e6-4d3e-8e75-3112be091e93", "@type": [ "drafting:RecoveredObject", "uco-observable:File" @@ -88,7 +88,7 @@ ] }, { - "@id": "kb:BD64BDD9-3DCD-4828-A25B-A72C06E472CD", + "@id": "kb:bd64bdd9-3dcd-4828-a25b-a72c06e472cd", "@type": [ "drafting:RecoveredObject", "uco-observable:File" @@ -123,7 +123,7 @@ ] }, { - "@id": "kb:C01E67F9-ADB5-48BD-B09D-E7326FA8D592", + "@id": "kb:c01e67f9-adb5-48bd-b09d-e7326fa8d592", "@type": [ "drafting:RecoveredObject", "uco-observable:Message" @@ -163,7 +163,7 @@ ] }, { - "@id": "kb:CB0354F5-2DBD-4C02-8A6C-011B77125EE2", + "@id": "kb:cb0354f5-2dbd-4c02-8a6c-011b77125ee2", "@type": [ "drafting:RecoveredObject", "uco-observable:File" diff --git a/examples/illustrations/recoverability/src/recoverability-badquinn_ost_tmp.json b/examples/illustrations/recoverability/src/recoverability-badquinn_ost_tmp.json index e4f0a63a..68a5713d 100644 --- a/examples/illustrations/recoverability/src/recoverability-badquinn_ost_tmp.json +++ b/examples/illustrations/recoverability/src/recoverability-badquinn_ost_tmp.json @@ -1,6 +1,6 @@ [ { - "@id": "kb:BD64BDD9-3DCD-4828-A25B-A72C06E472CD", + "@id": "kb:bd64bdd9-3dcd-4828-a25b-a72c06e472cd", "@type": [ "drafting:RecoveredObject", "uco-observable:File" diff --git a/examples/illustrations/recoverability/src/recoverability-crossover_thebatplan_lnk.json b/examples/illustrations/recoverability/src/recoverability-crossover_thebatplan_lnk.json index 5c52d68d..7e7890a8 100644 --- a/examples/illustrations/recoverability/src/recoverability-crossover_thebatplan_lnk.json +++ b/examples/illustrations/recoverability/src/recoverability-crossover_thebatplan_lnk.json @@ -1,6 +1,6 @@ [ { - "@id": "kb:665D63BE-93E6-4D3E-8E75-3112BE091E93", + "@id": "kb:665d63be-93e6-4d3e-8e75-3112be091e93", "@type": [ "drafting:RecoveredObject", "uco-observable:File" diff --git a/examples/illustrations/recoverability/src/recoverability-diana_sent_location.json b/examples/illustrations/recoverability/src/recoverability-diana_sent_location.json index c2c0f79f..0da3d75d 100644 --- a/examples/illustrations/recoverability/src/recoverability-diana_sent_location.json +++ b/examples/illustrations/recoverability/src/recoverability-diana_sent_location.json @@ -1,6 +1,6 @@ [ { - "@id": "kb:C01E67F9-ADB5-48BD-B09D-E7326FA8D592", + "@id": "kb:c01e67f9-adb5-48bd-b09d-e7326fa8d592", "@type": [ "drafting:RecoveredObject", "uco-observable:Message" diff --git a/examples/illustrations/recoverability/src/recoverability-nist_dfr_01_fat_xbied.json b/examples/illustrations/recoverability/src/recoverability-nist_dfr_01_fat_xbied.json index f5ca8cf0..c3931ee8 100644 --- a/examples/illustrations/recoverability/src/recoverability-nist_dfr_01_fat_xbied.json +++ b/examples/illustrations/recoverability/src/recoverability-nist_dfr_01_fat_xbied.json @@ -1,6 +1,6 @@ [ { - "@id": "kb:CB0354F5-2DBD-4C02-8A6C-011B77125EE2", + "@id": "kb:cb0354f5-2dbd-4c02-8a6c-011b77125ee2", "@type": [ "drafting:RecoveredObject", "uco-observable:File" diff --git a/examples/illustrations/recoverability/src/recoverability-sqlite_whatsapp.json b/examples/illustrations/recoverability/src/recoverability-sqlite_whatsapp.json index 921bc73c..13b71923 100644 --- a/examples/illustrations/recoverability/src/recoverability-sqlite_whatsapp.json +++ b/examples/illustrations/recoverability/src/recoverability-sqlite_whatsapp.json @@ -1,6 +1,6 @@ [ { - "@id": "kb:4026FABD-924D-4138-A6BA-73DF2EB37BCB", + "@id": "kb:4026fabd-924d-4138-a6ba-73df2eb37bcb", "@type": [ "drafting:RecoveredObject", "uco-observable:File" diff --git a/examples/illustrations/src/illustration-nosrc.mk b/examples/illustrations/src/illustration-nosrc.mk index ba671e33..c1c9983c 100644 --- a/examples/illustrations/src/illustration-nosrc.mk +++ b/examples/illustrations/src/illustration-nosrc.mk @@ -40,6 +40,10 @@ all: \ $(example_name)_validation-develop.ttl \ $(example_name)_validation-unstable.ttl +$(RDF_TOOLKIT_JAR): + @echo "ERROR:illustration-nosrc.mk:Could not find rdf-toolkit.jar. Did you run 'make' or 'make download' from the top source directory ($(top_srcdir))?" >&2 + @test -r $@ + $(example_name)_validation.ttl: \ $(example_name).json \ $(RDF_TOOLKIT_JAR) \