Skip to content

Commit

Permalink
Adds RISK concepts grouped by tech, org, etc.
Browse files Browse the repository at this point in the history
- in RISK, the taxonomy concepts are additionally structured by
  technical, organisational, legal, and societal
- in RISK, the taxonomy concepts have a base as potential risk source,
  potential risk, potential consequence, or potential impact
- in RISK HTML, there is a table showing each concept and the role it
  can take
- there are stubs in the HTML where description and examples are to be
  added
- relevant issue is #181
  • Loading branch information
coolharsh55 committed Oct 21, 2024
1 parent eef11e1 commit 5cd9744
Show file tree
Hide file tree
Showing 27 changed files with 98,355 additions and 59,814 deletions.
17,595 changes: 11,490 additions & 6,105 deletions 2.1-dev/risk/index-en.html

Large diffs are not rendered by default.

17,595 changes: 11,490 additions & 6,105 deletions 2.1-dev/risk/index.html

Large diffs are not rendered by default.

8,263 changes: 4,977 additions & 3,286 deletions 2.1-dev/risk/modules/risk_taxonomy-owl.jsonld

Large diffs are not rendered by default.

814 changes: 651 additions & 163 deletions 2.1-dev/risk/modules/risk_taxonomy-owl.n3

Large diffs are not rendered by default.

4,385 changes: 2,455 additions & 1,930 deletions 2.1-dev/risk/modules/risk_taxonomy-owl.rdf

Large diffs are not rendered by default.

814 changes: 651 additions & 163 deletions 2.1-dev/risk/modules/risk_taxonomy-owl.ttl

Large diffs are not rendered by default.

358 changes: 197 additions & 161 deletions 2.1-dev/risk/modules/risk_taxonomy.csv

Large diffs are not rendered by default.

8,064 changes: 4,970 additions & 3,094 deletions 2.1-dev/risk/modules/risk_taxonomy.jsonld

Large diffs are not rendered by default.

853 changes: 689 additions & 164 deletions 2.1-dev/risk/modules/risk_taxonomy.n3

Large diffs are not rendered by default.

3,476 changes: 2,019 additions & 1,457 deletions 2.1-dev/risk/modules/risk_taxonomy.rdf

Large diffs are not rendered by default.

853 changes: 689 additions & 164 deletions 2.1-dev/risk/modules/risk_taxonomy.ttl

Large diffs are not rendered by default.

17,595 changes: 11,490 additions & 6,105 deletions 2.1-dev/risk/risk-en.html

Large diffs are not rendered by default.

13,287 changes: 8,404 additions & 4,883 deletions 2.1-dev/risk/risk-owl.html

Large diffs are not rendered by default.

13,283 changes: 7,487 additions & 5,796 deletions 2.1-dev/risk/risk-owl.jsonld

Large diffs are not rendered by default.

814 changes: 651 additions & 163 deletions 2.1-dev/risk/risk-owl.n3

Large diffs are not rendered by default.

7,923 changes: 4,224 additions & 3,699 deletions 2.1-dev/risk/risk-owl.rdf

Large diffs are not rendered by default.

814 changes: 651 additions & 163 deletions 2.1-dev/risk/risk-owl.ttl

Large diffs are not rendered by default.

378 changes: 207 additions & 171 deletions 2.1-dev/risk/risk.csv

Large diffs are not rendered by default.

17,595 changes: 11,490 additions & 6,105 deletions 2.1-dev/risk/risk.html

Large diffs are not rendered by default.

14,216 changes: 8,046 additions & 6,170 deletions 2.1-dev/risk/risk.jsonld

Large diffs are not rendered by default.

853 changes: 689 additions & 164 deletions 2.1-dev/risk/risk.n3

Large diffs are not rendered by default.

7,096 changes: 3,829 additions & 3,267 deletions 2.1-dev/risk/risk.rdf

Large diffs are not rendered by default.

853 changes: 689 additions & 164 deletions 2.1-dev/risk/risk.ttl

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions 2.1-dev/search.html

Large diffs are not rendered by default.

86 changes: 61 additions & 25 deletions code/jinja2_resources/template_risk.jinja2
Original file line number Diff line number Diff line change
Expand Up @@ -211,34 +211,44 @@
{{ list_hierarchy(modules['core']['classes']) }}
{{ example_aside('dex:E0068') }}
{{ example_aside('dex:E0069') }}
</section>

<section id="vocab-risk-levels">
<h2>Likelihood, Severity, and Levels</h2>
<p>To express likelihoods, severities, and levels in a convenient manner, the RISK extension provides the following groups of concepts. Each concept is associated with a suggested value to represent the extent or degree of the concept between <code>0..1</code> using <code>rdf:value</code> e.g. [=ExtremelyLowRisk=] has a value of <code>0.01</code> and [=HighLikelihood=] has a value of <code>0.75</code>. Each group uses these values to express a range within a group e.g. in [=3LikelihoodLevels=] the [=LowLikelihood=] (0.25) covers the range 0 to 0.25, while in [=7LikelihoodLevels=] it covers the range from 0.1 ([=VeryLowLikelihood=]) to 0.25. Adopters can thus choose the appropriate ranges, and as the values are suggestions - they can be changed to match the requirements of the use-case.</p>
<ul>
<li>Likelihood:
<ul>
<li>[=3LikelihoodLevels=] which contains 3 likelihood levels of [=HighLikelihood=] (0.75), [=ModerateLikelihood=] (0.5), and [=LowLikelihood=] (0.25)</li>
<li>[=5LikelihoodLevels=] which contains the 3 likelihood levels from [=3LikelihoodLevels=] as well as [=VeryHighLikelihood=] (0.9) and [=VeryLowLikelihood=] (0.1) </li>
<li>[=7LikelihoodLevels=] which contains the 5 likelihood levels from [=5LikelihoodLevels=] as well as [=ExtremelyHighLikelihood=] (0.99) and [=ExtremelyLowLikelihood=] (0.01)</li>
</ul></li>
<li>Severity:
<ul>
<li>[=3SeverityLevels=] which contains 3 Severity levels of [=HighSeverity=] (0.75), [=ModerateSeverity=] (0.5), and [=LowSeverity=] (0.25)</li>
<li>[=5SeverityLevels=] which contains the 3 Severity levels from [=3SeverityLevels=] as well as [=VeryHighSeverity=] (0.9) and [=VeryLowSeverity=] (0.1) </li>
<li>[=7SeverityLevels=] which contains the 5 Severity levels from [=5SeverityLevels=] as well as [=ExtremelyHighSeverity=] (0.99) and [=ExtremelyLowSeverity=] (0.01)</li>
</ul></li>
<li>RiskLevel:
<ul>
<li>[=3RiskLevels=] which contains 3 RiskLevel levels of [=HighRisk=] (0.75), [=ModerateRisk=] (0.5), and [=LowRisk=] (0.25)</li>
<li>[=5RiskLevels=] which contains the 3 RiskLevel levels from [=3RiskLevels=] as well as [=VeryHighRisk=] (0.9) and [=VeryLowRisk=] (0.1) </li>
<li>[=7RiskLevels=] which contains the 5 RiskLevel levels from [=5RiskLevels=] as well as [=ExtremelyHighRisk=] (0.99) and [=ExtremelyLowRisk=] (0.01)</li>
</ul></li>
</ul>
<section id="risk-management">
<h3>Risk Management</h3>
<p>lorem ipsum</p>
</section>

<section id="risk-assessment">
<h3>Risk Assessment</h3>
<p>lorem ipsum</p>
</section>

<section id="vocab-risk-levels">
<h2>Likelihood, Severity, and Levels</h2>
<p>To express likelihoods, severities, and levels in a convenient manner, the RISK extension provides the following groups of concepts. Each concept is associated with a suggested value to represent the extent or degree of the concept between <code>0..1</code> using <code>rdf:value</code> e.g. [=ExtremelyLowRisk=] has a value of <code>0.01</code> and [=HighLikelihood=] has a value of <code>0.75</code>. Each group uses these values to express a range within a group e.g. in [=3LikelihoodLevels=] the [=LowLikelihood=] (0.25) covers the range 0 to 0.25, while in [=7LikelihoodLevels=] it covers the range from 0.1 ([=VeryLowLikelihood=]) to 0.25. Adopters can thus choose the appropriate ranges, and as the values are suggestions - they can be changed to match the requirements of the use-case.</p>
<ul>
<li>Likelihood:
<ul>
<li>[=3LikelihoodLevels=] which contains 3 likelihood levels of [=HighLikelihood=] (0.75), [=ModerateLikelihood=] (0.5), and [=LowLikelihood=] (0.25)</li>
<li>[=5LikelihoodLevels=] which contains the 3 likelihood levels from [=3LikelihoodLevels=] as well as [=VeryHighLikelihood=] (0.9) and [=VeryLowLikelihood=] (0.1) </li>
<li>[=7LikelihoodLevels=] which contains the 5 likelihood levels from [=5LikelihoodLevels=] as well as [=ExtremelyHighLikelihood=] (0.99) and [=ExtremelyLowLikelihood=] (0.01)</li>
</ul></li>
<li>Severity:
<ul>
<li>[=3SeverityLevels=] which contains 3 Severity levels of [=HighSeverity=] (0.75), [=ModerateSeverity=] (0.5), and [=LowSeverity=] (0.25)</li>
<li>[=5SeverityLevels=] which contains the 3 Severity levels from [=3SeverityLevels=] as well as [=VeryHighSeverity=] (0.9) and [=VeryLowSeverity=] (0.1) </li>
<li>[=7SeverityLevels=] which contains the 5 Severity levels from [=5SeverityLevels=] as well as [=ExtremelyHighSeverity=] (0.99) and [=ExtremelyLowSeverity=] (0.01)</li>
</ul></li>
<li>RiskLevel:
<ul>
<li>[=3RiskLevels=] which contains 3 RiskLevel levels of [=HighRisk=] (0.75), [=ModerateRisk=] (0.5), and [=LowRisk=] (0.25)</li>
<li>[=5RiskLevels=] which contains the 3 RiskLevel levels from [=3RiskLevels=] as well as [=VeryHighRisk=] (0.9) and [=VeryLowRisk=] (0.1) </li>
<li>[=7RiskLevels=] which contains the 5 RiskLevel levels from [=5RiskLevels=] as well as [=ExtremelyHighRisk=] (0.99) and [=ExtremelyLowRisk=] (0.01)</li>
</ul></li>
</ul>

{{ list_hierarchy(modules['risk_levels']['classes']) }}
{{ list_hierarchy(modules['risk_levels']['classes']) }}

</section>
</section>

<section id="vocab-incident">
Expand Down Expand Up @@ -313,12 +323,38 @@ ex:ProcessB a dpv:Process ;
{{ list_hierarchy(modules['risk_taxonomy']['classes']|filter_type_dict('risk:PotentialImpact')) }}
</section>

<section id="vocab-technical-risks">
<h3>Technical Risk Concepts</h3>
{{ list_hierarchy(modules['risk_taxonomy']['classes'], head='risk:TechnicalRiskConcept') }}
</section>

<section id="vocab-organisational-risks">
<h3>Organisational Risk Concepts</h3>
{{ list_hierarchy(modules['risk_taxonomy']['classes'], head='risk:OrganisationalRiskConcept') }}
</section>

<section id="vocab-societal-risks">
<h3>Societal Risk Concepts</h3>
{{ list_hierarchy(modules['risk_taxonomy']['classes'], head='risk:SocietalRiskConcept') }}
</section>

<section id="vocab-legal-risks">
<h3>Legal Risk Concepts</h3>
{{ list_hierarchy(modules['risk_taxonomy']['classes'], head='risk:LegalRiskConcept') }}
</section>

<section>
<h3>Overview of Concepts and Roles</h3>
{{ make_risk_table(modules['risk_taxonomy']['classes'], head='risk:RiskConcept') }}
</section>

</section>

<section id="risk-rights-impacts">
<h2>Rights Impacts</h2>
<p>lorem ipsum</p>
</section>

<section id="vocab-risk-matrix">
<h2>Risk Matrix</h2>
<p><a href="https://en.wikipedia.org/wiki/Risk_matrix">Risk Matrix</a> is a popularly used technique for qualitative risk analysis, through which a risk's likelihood and severity are used to obtain an overall risk level. To support its use, the RISK taxonomy provides concepts representing risk matrices of the format 3x3, 5x5, and 7x7. The concepts are expressed as combinations of Severity (<code>Sx</code>) and Likelihood (<code>Lx</code>) levels, and the resulting Risk Level (<code>Lx</code>) being used as its label. For example, the concept [=RM3x3S1L3=] represents a node in a 3x3 matrix with Severity and Likelihood level low (n=1) and Likelihood level high (n=3) with a resulting Risk Level of 'Moderate'. Similarly, [=RM7x7S4L7=] represents a node in a 7x7 risk matrix with Severity level moderate (n=4) and Likelihood level extremely high (n=7) with the resulting Risk Level of 'Very High Risk'.</p>
Expand Down
Loading

0 comments on commit 5cd9744

Please sign in to comment.