Skip to content

Commit

Permalink
deploy: bcceac3
Browse files Browse the repository at this point in the history
  • Loading branch information
jsimonclark committed Jan 26, 2024
1 parent 5f21ea4 commit deb735c
Show file tree
Hide file tree
Showing 4 changed files with 113 additions and 1 deletion.
61 changes: 61 additions & 0 deletions _sources/examples.rst.txt
Original file line number Diff line number Diff line change
@@ -1,9 +1,68 @@
Examples
========

Active Material
---------------

This example is an active material consisting of a zinc powder with a set of properties. In EMMO, a ConventionalProperty is a property whose value is assigned by convention (e.g. from a technical specification sheet, handbook, etc.)

The JSON-LD description of the material is given below:

.. code-block:: json
:linenos:
{
"@context": "https://raw.githubusercontent.com/emmo-repo/domain-electrochemistry/master/context.json",
"@type": ["ActiveMaterial", "Zinc", "Powder"],
"hasProperty": [
{
"@type": ["SpecificCapacity", "ConventionalProperty"],
"hasNumericalPart": {
"@type": "Real",
"hasNumericalValue": 819
},
"hasMeasurementUnit": "emmo:MilliAmpereHourPerGram"
},
{
"@type": ["D50ParticleSize", "ConventionalProperty"],
"hasNumericalPart": {
"@type": "Real",
"hasNumericalValue": 50
},
"hasMeasurementUnit": "emmo:MicroMetre"
},
{
"@type": ["Density", "ConventionalProperty"],
"hasNumericalPart": {
"@type": "Real",
"hasNumericalValue": 7.14
},
"hasMeasurementUnit": "emmo:GramPerCubicCentiMetre"
},
{
"@type": ["SpecificSurfaceArea", "ConventionalProperty"],
"hasNumericalPart": {
"@type": "Real",
"hasNumericalValue": 5
},
"hasMeasurementUnit": "emmo:SquareMetrePerGram"
}
]
}
This example can be explored using the JSON-LD playground:

.. raw:: html

<div style="position: relative; padding-top: 56.25%; height: 0;">
<iframe src="https://json-ld.org/playground/#startTab=tab-table&json-ld=%7B%22%40context%22%3A%22https%3A%2F%2Fraw.githubusercontent.com%2Femmo-repo%2Fdomain-electrochemistry%2Fmaster%2Fcontext.json%22%2C%22%40type%22%3A%5B%22ActiveMaterial%22%2C%22Zinc%22%2C%22Powder%22%5D%2C%22hasProperty%22%3A%5B%7B%22%40type%22%3A%5B%22SpecificCapacity%22%2C%22ConventionalProperty%22%5D%2C%22hasNumericalPart%22%3A%7B%22%40type%22%3A%22Real%22%2C%22hasNumericalValue%22%3A819%7D%2C%22hasMeasurementUnit%22%3A%22emmo%3AMilliAmpereHourPerGram%22%7D%2C%7B%22%40type%22%3A%5B%22D50ParticleSize%22%2C%22ConventionalProperty%22%5D%2C%22hasNumericalPart%22%3A%7B%22%40type%22%3A%22Real%22%2C%22hasNumericalValue%22%3A50%7D%2C%22hasMeasurementUnit%22%3A%22emmo%3AMicroMetre%22%7D%2C%7B%22%40type%22%3A%5B%22Density%22%2C%22ConventionalProperty%22%5D%2C%22hasNumericalPart%22%3A%7B%22%40type%22%3A%22Real%22%2C%22hasNumericalValue%22%3A7.14%7D%2C%22hasMeasurementUnit%22%3A%22emmo%3AGramPerCubicCentiMetre%22%7D%2C%7B%22%40type%22%3A%5B%22SpecificSurfaceArea%22%2C%22ConventionalProperty%22%5D%2C%22hasNumericalPart%22%3A%7B%22%40type%22%3A%22Real%22%2C%22hasNumericalValue%22%3A5%7D%2C%22hasMeasurementUnit%22%3A%22emmo%3ASquareMetrePerGram%22%7D%5D%7D" style="position: absolute; top: 0; left: 0; width: 100%; height: 100%;" frameborder="0" allowfullscreen></iframe>
</div>

Electrode
---------

This example is an active material consisting of a zinc powder with a set of properties. In EMMO, a MeasuredProperty is a property whose value is was determined by the Agent performing some Measurement.

.. code-block:: json
:linenos:
Expand Down Expand Up @@ -49,6 +108,8 @@ Electrode
]
}
This example can be explored using the JSON-LD playground:

.. raw:: html

<div style="position: relative; padding-top: 56.25%; height: 0;">
Expand Down
51 changes: 51 additions & 0 deletions examples.html
Original file line number Diff line number Diff line change
Expand Up @@ -386,8 +386,57 @@

<section id="examples">
<h1>Examples<a class="headerlink" href="#examples" title="Permalink to this heading">#</a></h1>
<section id="active-material">
<h2>Active Material<a class="headerlink" href="#active-material" title="Permalink to this heading">#</a></h2>
<p>This example is an active material consisting of a zinc powder with a set of properties. In EMMO, a ConventionalProperty is a property whose value is assigned by convention (e.g. from a technical specification sheet, handbook, etc.)</p>
<p>The JSON-LD description of the material is given below:</p>
<div class="highlight-json notranslate"><div class="highlight"><pre><span></span><span class="linenos"> 1</span><span class="p">{</span>
<span class="linenos"> 2</span><span class="w"> </span><span class="nt">&quot;@context&quot;</span><span class="p">:</span><span class="w"> </span><span class="s2">&quot;https://raw.githubusercontent.com/emmo-repo/domain-electrochemistry/master/context.json&quot;</span><span class="p">,</span>
<span class="linenos"> 3</span><span class="w"> </span><span class="nt">&quot;@type&quot;</span><span class="p">:</span><span class="w"> </span><span class="p">[</span><span class="s2">&quot;ActiveMaterial&quot;</span><span class="p">,</span><span class="w"> </span><span class="s2">&quot;Zinc&quot;</span><span class="p">,</span><span class="w"> </span><span class="s2">&quot;Powder&quot;</span><span class="p">],</span>
<span class="linenos"> 4</span><span class="w"> </span><span class="nt">&quot;hasProperty&quot;</span><span class="p">:</span><span class="w"> </span><span class="p">[</span>
<span class="linenos"> 5</span><span class="w"> </span><span class="p">{</span>
<span class="linenos"> 6</span><span class="w"> </span><span class="nt">&quot;@type&quot;</span><span class="p">:</span><span class="w"> </span><span class="p">[</span><span class="s2">&quot;SpecificCapacity&quot;</span><span class="p">,</span><span class="w"> </span><span class="s2">&quot;ConventionalProperty&quot;</span><span class="p">],</span>
<span class="linenos"> 7</span><span class="w"> </span><span class="nt">&quot;hasNumericalPart&quot;</span><span class="p">:</span><span class="w"> </span><span class="p">{</span>
<span class="linenos"> 8</span><span class="w"> </span><span class="nt">&quot;@type&quot;</span><span class="p">:</span><span class="w"> </span><span class="s2">&quot;Real&quot;</span><span class="p">,</span>
<span class="linenos"> 9</span><span class="w"> </span><span class="nt">&quot;hasNumericalValue&quot;</span><span class="p">:</span><span class="w"> </span><span class="mi">819</span>
<span class="linenos">10</span><span class="w"> </span><span class="p">},</span>
<span class="linenos">11</span><span class="w"> </span><span class="nt">&quot;hasMeasurementUnit&quot;</span><span class="p">:</span><span class="w"> </span><span class="s2">&quot;emmo:MilliAmpereHourPerGram&quot;</span>
<span class="linenos">12</span><span class="w"> </span><span class="p">},</span>
<span class="linenos">13</span><span class="w"> </span><span class="p">{</span>
<span class="linenos">14</span><span class="w"> </span><span class="nt">&quot;@type&quot;</span><span class="p">:</span><span class="w"> </span><span class="p">[</span><span class="s2">&quot;D50ParticleSize&quot;</span><span class="p">,</span><span class="w"> </span><span class="s2">&quot;ConventionalProperty&quot;</span><span class="p">],</span>
<span class="linenos">15</span><span class="w"> </span><span class="nt">&quot;hasNumericalPart&quot;</span><span class="p">:</span><span class="w"> </span><span class="p">{</span>
<span class="linenos">16</span><span class="w"> </span><span class="nt">&quot;@type&quot;</span><span class="p">:</span><span class="w"> </span><span class="s2">&quot;Real&quot;</span><span class="p">,</span>
<span class="linenos">17</span><span class="w"> </span><span class="nt">&quot;hasNumericalValue&quot;</span><span class="p">:</span><span class="w"> </span><span class="mi">50</span>
<span class="linenos">18</span><span class="w"> </span><span class="p">},</span>
<span class="linenos">19</span><span class="w"> </span><span class="nt">&quot;hasMeasurementUnit&quot;</span><span class="p">:</span><span class="w"> </span><span class="s2">&quot;emmo:MicroMetre&quot;</span>
<span class="linenos">20</span><span class="w"> </span><span class="p">},</span>
<span class="linenos">21</span><span class="w"> </span><span class="p">{</span>
<span class="linenos">22</span><span class="w"> </span><span class="nt">&quot;@type&quot;</span><span class="p">:</span><span class="w"> </span><span class="p">[</span><span class="s2">&quot;Density&quot;</span><span class="p">,</span><span class="w"> </span><span class="s2">&quot;ConventionalProperty&quot;</span><span class="p">],</span>
<span class="linenos">23</span><span class="w"> </span><span class="nt">&quot;hasNumericalPart&quot;</span><span class="p">:</span><span class="w"> </span><span class="p">{</span>
<span class="linenos">24</span><span class="w"> </span><span class="nt">&quot;@type&quot;</span><span class="p">:</span><span class="w"> </span><span class="s2">&quot;Real&quot;</span><span class="p">,</span>
<span class="linenos">25</span><span class="w"> </span><span class="nt">&quot;hasNumericalValue&quot;</span><span class="p">:</span><span class="w"> </span><span class="mf">7.14</span>
<span class="linenos">26</span><span class="w"> </span><span class="p">},</span>
<span class="linenos">27</span><span class="w"> </span><span class="nt">&quot;hasMeasurementUnit&quot;</span><span class="p">:</span><span class="w"> </span><span class="s2">&quot;emmo:GramPerCubicCentiMetre&quot;</span>
<span class="linenos">28</span><span class="w"> </span><span class="p">},</span>
<span class="linenos">29</span><span class="w"> </span><span class="p">{</span>
<span class="linenos">30</span><span class="w"> </span><span class="nt">&quot;@type&quot;</span><span class="p">:</span><span class="w"> </span><span class="p">[</span><span class="s2">&quot;SpecificSurfaceArea&quot;</span><span class="p">,</span><span class="w"> </span><span class="s2">&quot;ConventionalProperty&quot;</span><span class="p">],</span>
<span class="linenos">31</span><span class="w"> </span><span class="nt">&quot;hasNumericalPart&quot;</span><span class="p">:</span><span class="w"> </span><span class="p">{</span>
<span class="linenos">32</span><span class="w"> </span><span class="nt">&quot;@type&quot;</span><span class="p">:</span><span class="w"> </span><span class="s2">&quot;Real&quot;</span><span class="p">,</span>
<span class="linenos">33</span><span class="w"> </span><span class="nt">&quot;hasNumericalValue&quot;</span><span class="p">:</span><span class="w"> </span><span class="mi">5</span>
<span class="linenos">34</span><span class="w"> </span><span class="p">},</span>
<span class="linenos">35</span><span class="w"> </span><span class="nt">&quot;hasMeasurementUnit&quot;</span><span class="p">:</span><span class="w"> </span><span class="s2">&quot;emmo:SquareMetrePerGram&quot;</span>
<span class="linenos">36</span><span class="w"> </span><span class="p">}</span>
<span class="linenos">37</span><span class="w"> </span><span class="p">]</span>
<span class="linenos">38</span><span class="p">}</span>
</pre></div>
</div>
<p>This example can be explored using the JSON-LD playground:</p>
<div style="position: relative; padding-top: 56.25%; height: 0;">
<iframe src="https://json-ld.org/playground/#startTab=tab-table&json-ld=%7B%22%40context%22%3A%22https%3A%2F%2Fraw.githubusercontent.com%2Femmo-repo%2Fdomain-electrochemistry%2Fmaster%2Fcontext.json%22%2C%22%40type%22%3A%5B%22ActiveMaterial%22%2C%22Zinc%22%2C%22Powder%22%5D%2C%22hasProperty%22%3A%5B%7B%22%40type%22%3A%5B%22SpecificCapacity%22%2C%22ConventionalProperty%22%5D%2C%22hasNumericalPart%22%3A%7B%22%40type%22%3A%22Real%22%2C%22hasNumericalValue%22%3A819%7D%2C%22hasMeasurementUnit%22%3A%22emmo%3AMilliAmpereHourPerGram%22%7D%2C%7B%22%40type%22%3A%5B%22D50ParticleSize%22%2C%22ConventionalProperty%22%5D%2C%22hasNumericalPart%22%3A%7B%22%40type%22%3A%22Real%22%2C%22hasNumericalValue%22%3A50%7D%2C%22hasMeasurementUnit%22%3A%22emmo%3AMicroMetre%22%7D%2C%7B%22%40type%22%3A%5B%22Density%22%2C%22ConventionalProperty%22%5D%2C%22hasNumericalPart%22%3A%7B%22%40type%22%3A%22Real%22%2C%22hasNumericalValue%22%3A7.14%7D%2C%22hasMeasurementUnit%22%3A%22emmo%3AGramPerCubicCentiMetre%22%7D%2C%7B%22%40type%22%3A%5B%22SpecificSurfaceArea%22%2C%22ConventionalProperty%22%5D%2C%22hasNumericalPart%22%3A%7B%22%40type%22%3A%22Real%22%2C%22hasNumericalValue%22%3A5%7D%2C%22hasMeasurementUnit%22%3A%22emmo%3ASquareMetrePerGram%22%7D%5D%7D" style="position: absolute; top: 0; left: 0; width: 100%; height: 100%;" frameborder="0" allowfullscreen></iframe>
</div></section>
<section id="electrode">
<h2>Electrode<a class="headerlink" href="#electrode" title="Permalink to this heading">#</a></h2>
<p>This example is an active material consisting of a zinc powder with a set of properties. In EMMO, a MeasuredProperty is a property whose value is was determined by the Agent performing some Measurement.</p>
<div class="highlight-json notranslate"><div class="highlight"><pre><span></span><span class="linenos"> 1</span><span class="p">{</span>
<span class="linenos"> 2</span><span class="w"> </span><span class="nt">&quot;@context&quot;</span><span class="p">:</span><span class="w"> </span><span class="s2">&quot;https://raw.githubusercontent.com/emmo-repo/domain-electrochemistry/master/context.json&quot;</span><span class="p">,</span>
<span class="linenos"> 3</span><span class="w"> </span><span class="nt">&quot;@type&quot;</span><span class="p">:</span><span class="w"> </span><span class="p">[</span><span class="s2">&quot;Electrode&quot;</span><span class="p">,</span><span class="w"> </span><span class="s2">&quot;Foil&quot;</span><span class="p">],</span>
Expand Down Expand Up @@ -431,6 +480,7 @@ <h2>Electrode<a class="headerlink" href="#electrode" title="Permalink to this he
<span class="linenos">41</span><span class="p">}</span>
</pre></div>
</div>
<p>This example can be explored using the JSON-LD playground:</p>
<div style="position: relative; padding-top: 56.25%; height: 0;">
<iframe src="https://json-ld.org/playground/#startTab=tab-table&json-ld=%7B%22%40context%22%3A%22https%3A%2F%2Fraw.githubusercontent.com%2Femmo-repo%2Fdomain-electrochemistry%2Fmaster%2Fcontext.json%22%2C%22%40type%22%3A%5B%22Electrode%22%2C%22Foil%22%5D%2C%22hasActiveMaterial%22%3A%7B%22%40type%22%3A%22Zinc%22%7D%2C%22hasProperty%22%3A%5B%7B%22%40type%22%3A%5B%22SpecificCapacity%22%2C%22MeasuredProperty%22%5D%2C%22hasNumericalPart%22%3A%7B%22%40type%22%3A%22Real%22%2C%22hasNumericalValue%22%3A800%7D%2C%22hasMeasurementUnit%22%3A%22emmo%3AMilliAmpereHourPerGram%22%7D%2C%7B%22%40type%22%3A%5B%22Thickness%22%2C%22ConventionalProperty%22%5D%2C%22hasNumericalPart%22%3A%7B%22%40type%22%3A%22Real%22%2C%22hasNumericalValue%22%3A250%7D%2C%22hasMeasurementUnit%22%3A%22emmo%3AMicroMetre%22%7D%2C%7B%22%40type%22%3A%5B%22Diameter%22%2C%22MeasuredProperty%22%5D%2C%22hasNumericalPart%22%3A%7B%22%40type%22%3A%22Real%22%2C%22hasNumericalValue%22%3A2%7D%2C%22hasMeasurementUnit%22%3A%22emmo%3ACentiMetre%22%7D%2C%7B%22%40type%22%3A%5B%22Mass%22%2C%22MeasuredProperty%22%5D%2C%22hasNumericalPart%22%3A%7B%22%40type%22%3A%22Real%22%2C%22hasNumericalValue%22%3A2.5%7D%2C%22hasMeasurementUnit%22%3A%22emmo%3AGram%22%7D%5D%7D" style="position: absolute; top: 0; left: 0; width: 100%; height: 100%;" frameborder="0" allowfullscreen></iframe>
</div></section>
Expand Down Expand Up @@ -483,6 +533,7 @@ <h2>Electrode<a class="headerlink" href="#electrode" title="Permalink to this he
</div>
<nav class="bd-toc-nav page-toc">
<ul class="visible nav section-nav flex-column">
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#active-material">Active Material</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#electrode">Electrode</a></li>
</ul>
</nav></div>
Expand Down
Binary file modified objects.inv
Binary file not shown.
2 changes: 1 addition & 1 deletion searchindex.js

Large diffs are not rendered by default.

0 comments on commit deb735c

Please sign in to comment.