diff --git a/RACK-Ontology/OwlModels/.gitignore b/RACK-Ontology/OwlModels/.gitignore new file mode 100644 index 00000000..e8512c1a --- /dev/null +++ b/RACK-Ontology/OwlModels/.gitignore @@ -0,0 +1,40 @@ +/AGENTS.owl +/ANALYSIS.owl +/ARP-4754A.owl +/CONFIDENCE.owl +/CPP.owl +/CounterApplication.owl +/CounterApplicationLLR.owl +/CounterApplicationRequirements.owl +/CounterApplicationTesting.owl +/CounterApplicationUnitTesting.owl +/DO-178C.owl +/DO-330.owl +/DOCUMENT.owl +/GenerateCSV.owl +/GeneratePropInfoCSV.owl +/HAZARD.owl +/HazardAssessment.owl +/InGateRequirements.owl +/MIL-STD-881D-AppxA.owl +/MIL-STD-881D-AppxB.owl +/MIL-STD-881D-AppxC.owl +/MIL-STD-881D-AppxD.owl +/MIL-STD-881D.owl +/PROCESS.owl +/PROV-S.owl +/REQUIREMENTS.owl +/REVIEW.owl +/SACM-S.owl +/SOFTWARE.owl +/SYSTEM.owl +/SadlBuiltinFunctions.owl +/SadlImplicitModel.owl +/TESTING.owl +/Turnstiles.owl +/RdfsSubset.owl +/GenerateCSVQueries.owl +/RunCSVQueries.owl +/FILE.owl +/BASELINE.owl +/MODEL.owl diff --git a/RACK-Ontology/OwlModels/CONFIDENCE.owl b/RACK-Ontology/OwlModels/CONFIDENCE.owl index f6d0a3bc..b3d230a6 100644 --- a/RACK-Ontology/OwlModels/CONFIDENCE.owl +++ b/RACK-Ontology/OwlModels/CONFIDENCE.owl @@ -19,9 +19,8 @@ - - 1 + 1 @@ -29,9 +28,8 @@ - - 1 + 1 @@ -39,9 +37,8 @@ - - 1 + 1 diff --git a/RACK-Ontology/OwlModels/FILE.owl b/RACK-Ontology/OwlModels/FILE.owl index 25597435..a30f9f54 100644 --- a/RACK-Ontology/OwlModels/FILE.owl +++ b/RACK-Ontology/OwlModels/FILE.owl @@ -23,9 +23,8 @@ - - 1 + 1 @@ -63,9 +62,8 @@ - - 1 + 1 @@ -73,9 +71,8 @@ - - 1 + 1 diff --git a/RACK-Ontology/OwlModels/HAZARD.owl b/RACK-Ontology/OwlModels/HAZARD.owl index 7f9aa9bd..0fdf0b3f 100644 --- a/RACK-Ontology/OwlModels/HAZARD.owl +++ b/RACK-Ontology/OwlModels/HAZARD.owl @@ -46,15 +46,6 @@ - - - 1 - - - - - HAZARD as identified by some HAZARD_IDENTIFICATION ACTIVITY, to be assessed for certification @@ -83,11 +74,6 @@ - - Description of the HAZARD - - - the severity of the HAZARD diff --git a/RACK-Ontology/OwlModels/MODEL.owl b/RACK-Ontology/OwlModels/MODEL.owl index c813ccce..35afc6d5 100644 --- a/RACK-Ontology/OwlModels/MODEL.owl +++ b/RACK-Ontology/OwlModels/MODEL.owl @@ -19,9 +19,8 @@ - - 1 + 1 diff --git a/RACK-Ontology/OwlModels/SOFTWARE.owl b/RACK-Ontology/OwlModels/SOFTWARE.owl index b1c0708f..56091619 100644 --- a/RACK-Ontology/OwlModels/SOFTWARE.owl +++ b/RACK-Ontology/OwlModels/SOFTWARE.owl @@ -39,9 +39,8 @@ - - 1 + 1 @@ -51,21 +50,6 @@ - - - - - - - - - - - - - - - ACTIVITY of running a PACKAGER to produce a package FILE @@ -129,7 +113,7 @@ - + AGENT(s) (e.g. PACKAGER) performing the packaging diff --git a/RACK-Ontology/OwlModels/SadlImplicitModel.owl b/RACK-Ontology/OwlModels/SadlImplicitModel.owl index 4d77e1ca..2ab19b10 100644 --- a/RACK-Ontology/OwlModels/SadlImplicitModel.owl +++ b/RACK-Ontology/OwlModels/SadlImplicitModel.owl @@ -27,9 +27,8 @@ - - 1 + 1 @@ -37,11 +36,8 @@ - - - - 1 + 1 @@ -49,11 +45,8 @@ - - - - 1 + 1 @@ -63,11 +56,8 @@ - - - - 1 + 1 @@ -75,11 +65,8 @@ - - - - 1 + 1 @@ -110,11 +97,8 @@ - - - - 1 + 1 @@ -122,9 +106,8 @@ - - 1 + 1 @@ -132,40 +115,19 @@ - - 1 + 1 - - - - - - - - - - - - - - - - - - + - - - - 1 + 1 @@ -173,11 +135,8 @@ - - - - 1 + 1 @@ -187,9 +146,8 @@ - - 1 + 1 @@ -198,45 +156,27 @@ - - - - - - - - - - - - - - - - - + - + - + - + + - - - - 1 + 1 @@ -259,27 +199,11 @@ - - - - - - - - - - - - - - - - - 1 + 1 @@ -287,9 +211,8 @@ - - 1 + 1 @@ -299,8 +222,20 @@ - - + + + + + + + + + + + + + + @@ -317,12 +252,29 @@ + + + + + + + + + + + + + + + + + + - - 1 + 1 @@ -330,15 +282,29 @@ + + + + + + + + + + + + + + + - - 1 + 1 @@ -347,45 +313,45 @@ used to identify necessary patterns in semantic domain terms - + + + + + - + - + - - - - - + the array of possible units - + - + - + @@ -396,15 +362,15 @@ - + - + - + values of arguments to the built-in diff --git a/RACK-Ontology/OwlModels/TESTING.owl b/RACK-Ontology/OwlModels/TESTING.owl index 856fc627..08734e1c 100644 --- a/RACK-Ontology/OwlModels/TESTING.owl +++ b/RACK-Ontology/OwlModels/TESTING.owl @@ -20,6 +20,18 @@ ACTIVITY of creating a TEST to participate in the evaluation of a requirement + + + + + + + + + + A TEST_PROCEDURE is the TEST_STEPs that perform TESTs. + + Description of a single test @@ -43,12 +55,30 @@ The high-level outcome of a TEST_RESULT + + + + 1 + + + + + + + + + + + + A TEST_STEP is a collection of TESTs that are performed in a single execution + + - - 1 + 1 @@ -57,22 +87,82 @@ Result corresponding to one execution of one TEST + + + + 1 + + + + + + + + 1 + + + + + + + + + + + + a TEST_RECORD is a collection of TEST_RESULTs associated with a TEST_STEP + + ACTIVITY of performing a TEST and record its corresponding TEST_RESULT + + + + + + + + A TEST_LOG is the TEST_RESULTs from executing a TEST_PROCEDURE + + ENTITY(s) (e.g. REQUIREMENT) that this test verifies + + + TEST_STEP for which the TEST_RECORD is captured + + + Parent test(s) of this test result + + The next TEST_STEP in a sequence + + + + + The next TEST_RECORD that is the next in a sequence + + + + + + TEST_PROCEDURE that was executed. + + + Pass/Failed/Indeterminate status resulting from a TEST_EXECUTION diff --git a/RACK-Ontology/ontology/HARDWARE.sadl b/RACK-Ontology/ontology/HARDWARE.sadl new file mode 100644 index 00000000..7c731a64 --- /dev/null +++ b/RACK-Ontology/ontology/HARDWARE.sadl @@ -0,0 +1,40 @@ +/* Copyright (c) 2021, General Electric Company, Galois, Inc. + * + * All Rights Reserved + * + * This material is based upon work supported by the Defense Advanced Research + * Projects Agency (DARPA) under Contract No. FA8750-20-C-0203. + * + * Any opinions, findings and conclusions or recommendations expressed in this + * material are those of the author(s) and do not necessarily reflect the views + * of the Defense Advanced Research Projects Agency (DARPA). + */ + +uri "http://arcos.rack/HARDWARE" alias hw. +import "http://arcos.rack/PROV-S". + +HWCOMPONENT is a type of ENTITY. + instantiates (note "What logical component (system) does this physical component instantiate or implement?") + describes HWCOMPONENT with values of type ENTITY. + componentType (note "Type of component") + describes HWCOMPONENT with a single value of type COMPONENT_TYPE. + partitions describes HWCOMPONENT with values of type PARTITION. + +PARTITION (note "a PARTIION divides a HWCOMPOENTS resources into protected, isolated execution space for software components.") is a type of ENTITY. + +COMPONENT_TYPE + (note "An open/extensible set of types of hardware components") + is a type of THING. +Sensor + (note "a hardware component that interacts with the physical world outside the system of interest") + is a COMPONENT_TYPE + has identifier "Sensor". +Bus + (note "a bus is a connection between hardware components that communicates data between the components") + is a COMPONENT_TYPE + has identifier "Bus". + +ComputePlatform + (note "a compute platform is a piece of hardware that executes software") + is a COMPONENT_TYPE + has identifier "ComputePlatform". \ No newline at end of file diff --git a/RACK-Ontology/ontology/TESTING.sadl b/RACK-Ontology/ontology/TESTING.sadl index 37cea177..9bf1c369 100644 --- a/RACK-Ontology/ontology/TESTING.sadl +++ b/RACK-Ontology/ontology/TESTING.sadl @@ -1,4 +1,4 @@ -/* Copyright (c) 2020, General Electric Company, Galois, Inc. +/* Copyright (c) 2020-2021, General Electric Company, Galois, Inc. * * All Rights Reserved * @@ -42,10 +42,34 @@ TEST_RESULT confirms (note "Parent test(s) of this test result") describes TEST_RESULT with values of type TEST. confirms is a type of wasImpactedBy. + +TEST_PROCEDURE (note "A TEST_PROCEDURE is the TEST_STEPs that perform TESTs. ") is a type of COLLECTION. + content of TEST_PROCEDURE only has values of type TEST_STEP. + + TEST_STEP (note "A TEST_STEP is a collection of TESTs that are performed in a single execution")is a type of COLLECTION. + content of TEST_STEP only has values of type TEST. + nextStep (note "The next TEST_STEP in a sequence" ) describes TEST_STEP with values of type TEST_STEP. + nextStep of TEST_STEP has at most 1 value. + +TEST_LOG (note "A TEST_LOG is the TEST_RESULTs from executing a TEST_PROCEDURE") is a type of COLLECTION. + content of TEST_LOG only has values of type TEST_RECORD. + + + TEST_RECORD (note "a TEST_RECORD is a collection of TEST_RESULTs associated with a TEST_STEP") is a type of COLLECTION. + content of TEST_RECORD only has values of type TEST_RESULT. + nextRecord (note "The next TEST_RECORD that is the next in a sequence " ) describes TEST_RECORD with values of type TEST_RECORD. + nextRecord of TEST_RECORD has at most 1 value. + logs (note "TEST_STEP for which the TEST_RECORD is captured" ) describes TEST_RECORD with a single value of type TEST_STEP. + logs is a type of wasImpactedBy. + + TEST_DEVELOPMENT (note "ACTIVITY of creating a TEST to participate in the evaluation of a requirement") is a type of ACTIVITY. - + TEST_EXECUTION (note "ACTIVITY of performing a TEST and record its corresponding TEST_RESULT") is a type of ACTIVITY. + + testProcedure (note "TEST_PROCEDURE that was executed.")describes TEST_EXECUTION with values of type TEST_PROCEDURE. + testProcedure is a type of used.