Skip to content

Commit

Permalink
Regenerate Make-managed files
Browse files Browse the repository at this point in the history
References:
* casework/CASE#146

Signed-off-by: Alex Nelson <[email protected]>
  • Loading branch information
ajnelson-nist committed Jan 26, 2024
1 parent a7a0cc2 commit a937433
Show file tree
Hide file tree
Showing 4 changed files with 166 additions and 14 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
@prefix action: <https://ontology.unifiedcyberontology.org/uco/action/> .
@prefix core: <https://ontology.unifiedcyberontology.org/uco/core/> .
@prefix investigation: <https://ontology.caseontology.org/case/investigation/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
Expand All @@ -7,7 +9,7 @@

[]
a sh:ValidationReport ;
sh:conforms "true"^^xsd:boolean ;
sh:conforms "false"^^xsd:boolean ;
sh:result
[
a sh:ValidationResult ;
Expand Down Expand Up @@ -67,6 +69,24 @@
sh:sourceShape core:UcoThing-identifier-regex-shape ;
sh:value <http://example.org/kb/action-uuid-10> ;
] ,
[
a sh:ValidationResult ;
sh:focusNode <http://example.org/kb/action-uuid-11> ;
sh:resultMessage "An InvestigativeAction should have a ProvenanceRecord among its results. This will be a requirement in CASE 2.0.0."@en ;
sh:resultPath action:result ;
sh:resultSeverity sh:Warning ;
sh:sourceConstraintComponent sh:QualifiedMinCountConstraintComponent ;
sh:sourceShape [
sh:message "An InvestigativeAction should have a ProvenanceRecord among its results. This will be a requirement in CASE 2.0.0."@en ;
sh:path action:result ;
sh:qualifiedMinCount "1"^^xsd:integer ;
sh:qualifiedValueShape [
a sh:NodeShape ;
sh:class investigation:ProvenanceRecord ;
] ;
sh:severity sh:Warning ;
] ;
] ,
[
a sh:ValidationResult ;
sh:focusNode <http://example.org/kb/action-uuid-11> ;
Expand Down Expand Up @@ -241,6 +261,24 @@
sh:sourceShape core:UcoThing-identifier-regex-shape ;
sh:value <http://example.org/kb/action-uuid-4> ;
] ,
[
a sh:ValidationResult ;
sh:focusNode <http://example.org/kb/action-uuid-5> ;
sh:resultMessage "An InvestigativeAction should have a ProvenanceRecord among its results. This will be a requirement in CASE 2.0.0."@en ;
sh:resultPath action:result ;
sh:resultSeverity sh:Warning ;
sh:sourceConstraintComponent sh:QualifiedMinCountConstraintComponent ;
sh:sourceShape [
sh:message "An InvestigativeAction should have a ProvenanceRecord among its results. This will be a requirement in CASE 2.0.0."@en ;
sh:path action:result ;
sh:qualifiedMinCount "1"^^xsd:integer ;
sh:qualifiedValueShape [
a sh:NodeShape ;
sh:class investigation:ProvenanceRecord ;
] ;
sh:severity sh:Warning ;
] ;
] ,
[
a sh:ValidationResult ;
sh:focusNode <http://example.org/kb/action-uuid-5> ;
Expand Down Expand Up @@ -328,6 +366,24 @@
sh:sourceShape core:UcoThing-identifier-regex-shape ;
sh:value <http://example.org/kb/action-uuid-7> ;
] ,
[
a sh:ValidationResult ;
sh:focusNode <http://example.org/kb/action-uuid-8> ;
sh:resultMessage "An InvestigativeAction should have a ProvenanceRecord among its results. This will be a requirement in CASE 2.0.0."@en ;
sh:resultPath action:result ;
sh:resultSeverity sh:Warning ;
sh:sourceConstraintComponent sh:QualifiedMinCountConstraintComponent ;
sh:sourceShape [
sh:message "An InvestigativeAction should have a ProvenanceRecord among its results. This will be a requirement in CASE 2.0.0."@en ;
sh:path action:result ;
sh:qualifiedMinCount "1"^^xsd:integer ;
sh:qualifiedValueShape [
a sh:NodeShape ;
sh:class investigation:ProvenanceRecord ;
] ;
sh:severity sh:Warning ;
] ;
] ,
[
a sh:ValidationResult ;
sh:focusNode <http://example.org/kb/action-uuid-8> ;
Expand Down
58 changes: 57 additions & 1 deletion examples/urgent_evidence/urgent_evidence_validation-unstable.ttl
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
@prefix action: <https://ontology.unifiedcyberontology.org/uco/action/> .
@prefix core: <https://ontology.unifiedcyberontology.org/uco/core/> .
@prefix investigation: <https://ontology.caseontology.org/case/investigation/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
Expand All @@ -7,7 +9,7 @@

[]
a sh:ValidationReport ;
sh:conforms "true"^^xsd:boolean ;
sh:conforms "false"^^xsd:boolean ;
sh:result
[
a sh:ValidationResult ;
Expand Down Expand Up @@ -67,6 +69,24 @@
sh:sourceShape core:UcoThing-identifier-regex-shape ;
sh:value <http://example.org/kb/action-uuid-10> ;
] ,
[
a sh:ValidationResult ;
sh:focusNode <http://example.org/kb/action-uuid-11> ;
sh:resultMessage "An InvestigativeAction should have a ProvenanceRecord among its results. This will be a requirement in CASE 2.0.0."@en ;
sh:resultPath action:result ;
sh:resultSeverity sh:Warning ;
sh:sourceConstraintComponent sh:QualifiedMinCountConstraintComponent ;
sh:sourceShape [
sh:message "An InvestigativeAction should have a ProvenanceRecord among its results. This will be a requirement in CASE 2.0.0."@en ;
sh:path action:result ;
sh:qualifiedMinCount "1"^^xsd:integer ;
sh:qualifiedValueShape [
a sh:NodeShape ;
sh:class investigation:ProvenanceRecord ;
] ;
sh:severity sh:Warning ;
] ;
] ,
[
a sh:ValidationResult ;
sh:focusNode <http://example.org/kb/action-uuid-11> ;
Expand Down Expand Up @@ -241,6 +261,24 @@
sh:sourceShape core:UcoThing-identifier-regex-shape ;
sh:value <http://example.org/kb/action-uuid-4> ;
] ,
[
a sh:ValidationResult ;
sh:focusNode <http://example.org/kb/action-uuid-5> ;
sh:resultMessage "An InvestigativeAction should have a ProvenanceRecord among its results. This will be a requirement in CASE 2.0.0."@en ;
sh:resultPath action:result ;
sh:resultSeverity sh:Warning ;
sh:sourceConstraintComponent sh:QualifiedMinCountConstraintComponent ;
sh:sourceShape [
sh:message "An InvestigativeAction should have a ProvenanceRecord among its results. This will be a requirement in CASE 2.0.0."@en ;
sh:path action:result ;
sh:qualifiedMinCount "1"^^xsd:integer ;
sh:qualifiedValueShape [
a sh:NodeShape ;
sh:class investigation:ProvenanceRecord ;
] ;
sh:severity sh:Warning ;
] ;
] ,
[
a sh:ValidationResult ;
sh:focusNode <http://example.org/kb/action-uuid-5> ;
Expand Down Expand Up @@ -328,6 +366,24 @@
sh:sourceShape core:UcoThing-identifier-regex-shape ;
sh:value <http://example.org/kb/action-uuid-7> ;
] ,
[
a sh:ValidationResult ;
sh:focusNode <http://example.org/kb/action-uuid-8> ;
sh:resultMessage "An InvestigativeAction should have a ProvenanceRecord among its results. This will be a requirement in CASE 2.0.0."@en ;
sh:resultPath action:result ;
sh:resultSeverity sh:Warning ;
sh:sourceConstraintComponent sh:QualifiedMinCountConstraintComponent ;
sh:sourceShape [
sh:message "An InvestigativeAction should have a ProvenanceRecord among its results. This will be a requirement in CASE 2.0.0."@en ;
sh:path action:result ;
sh:qualifiedMinCount "1"^^xsd:integer ;
sh:qualifiedValueShape [
a sh:NodeShape ;
sh:class investigation:ProvenanceRecord ;
] ;
sh:severity sh:Warning ;
] ;
] ,
[
a sh:ValidationResult ;
sh:focusNode <http://example.org/kb/action-uuid-8> ;
Expand Down
32 changes: 26 additions & 6 deletions ontology/CASE-unstable-2.0.0.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -452,14 +452,34 @@ investigation:InvestigativeAction
owl:Class ,
sh:NodeShape
;
rdfs:subClassOf action:Action ;
rdfs:subClassOf
action:Action ,
[
a owl:Restriction ;
owl:onProperty action:result ;
owl:onClass investigation:ProvenanceRecord ;
owl:minQualifiedCardinality "1"^^xsd:nonNegativeInteger ;
]
;
rdfs:label "InvestigativeAction"@en ;
rdfs:comment "An investigative action is something that may be done or performed within the context of an investigation, typically to examine or analyze evidence or other data."@en ;
sh:property [
sh:class investigation:InvestigativeAction ;
sh:nodeKind sh:BlankNodeOrIRI ;
sh:path investigation:wasInformedBy ;
] ;
sh:property
[
sh:class investigation:InvestigativeAction ;
sh:nodeKind sh:BlankNodeOrIRI ;
sh:path investigation:wasInformedBy ;
] ,
[
sh:message "An InvestigativeAction should have a ProvenanceRecord among its results. This will be a requirement in CASE 2.0.0."@en ;
sh:path action:result ;
sh:qualifiedMinCount "1"^^xsd:integer ;
sh:qualifiedValueShape [
a sh:NodeShape ;
sh:class investigation:ProvenanceRecord ;
] ;
sh:severity sh:Warning ;
]
;
sh:targetClass investigation:InvestigativeAction ;
.

Expand Down
32 changes: 26 additions & 6 deletions ontology/CASE-unstable.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -452,14 +452,34 @@ investigation:InvestigativeAction
owl:Class ,
sh:NodeShape
;
rdfs:subClassOf action:Action ;
rdfs:subClassOf
action:Action ,
[
a owl:Restriction ;
owl:onProperty action:result ;
owl:onClass investigation:ProvenanceRecord ;
owl:minQualifiedCardinality "1"^^xsd:nonNegativeInteger ;
]
;
rdfs:label "InvestigativeAction"@en ;
rdfs:comment "An investigative action is something that may be done or performed within the context of an investigation, typically to examine or analyze evidence or other data."@en ;
sh:property [
sh:class investigation:InvestigativeAction ;
sh:nodeKind sh:BlankNodeOrIRI ;
sh:path investigation:wasInformedBy ;
] ;
sh:property
[
sh:class investigation:InvestigativeAction ;
sh:nodeKind sh:BlankNodeOrIRI ;
sh:path investigation:wasInformedBy ;
] ,
[
sh:message "An InvestigativeAction should have a ProvenanceRecord among its results. This will be a requirement in CASE 2.0.0."@en ;
sh:path action:result ;
sh:qualifiedMinCount "1"^^xsd:integer ;
sh:qualifiedValueShape [
a sh:NodeShape ;
sh:class investigation:ProvenanceRecord ;
] ;
sh:severity sh:Warning ;
]
;
sh:targetClass investigation:InvestigativeAction ;
.

Expand Down

0 comments on commit a937433

Please sign in to comment.