Skip to content

Commit

Permalink
deploy: 6390524
Browse files Browse the repository at this point in the history
  • Loading branch information
jsimonclark committed Jan 26, 2024
1 parent b6e6d36 commit 5f21ea4
Show file tree
Hide file tree
Showing 6 changed files with 132 additions and 22 deletions.
50 changes: 49 additions & 1 deletion _sources/examples.rst.txt
Original file line number Diff line number Diff line change
@@ -1,10 +1,58 @@
Examples
========

Electrode
---------

.. code-block:: json
:linenos:
{
"@context": "https://raw.githubusercontent.com/emmo-repo/domain-electrochemistry/master/context.json",
"@type": ["Electrode", "Foil"],
"hasActiveMaterial": {
"@type": "Zinc"
},
"hasProperty": [
{
"@type": ["SpecificCapacity", "MeasuredProperty"],
"hasNumericalPart": {
"@type": "Real",
"hasNumericalValue": 800
},
"hasMeasurementUnit": "emmo:MilliAmpereHourPerGram"
},
{
"@type": ["Thickness", "ConventionalProperty"],
"hasNumericalPart": {
"@type": "Real",
"hasNumericalValue": 250
},
"hasMeasurementUnit": "emmo:MicroMetre"
},
{
"@type": ["Diameter", "MeasuredProperty"],
"hasNumericalPart": {
"@type": "Real",
"hasNumericalValue": 2
},
"hasMeasurementUnit": "emmo:CentiMetre"
},
{
"@type": ["Mass", "MeasuredProperty"],
"hasNumericalPart": {
"@type": "Real",
"hasNumericalValue": 2.5
},
"hasMeasurementUnit": "emmo:Gram"
}
]
}
.. raw:: html

<div style="position: relative; padding-top: 56.25%; height: 0;">
<iframe src="https://json-ld.org/playground/" style="position: absolute; top: 0; left: 0; width: 100%; height: 100%;" frameborder="0" allowfullscreen></iframe>
<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>


22 changes: 11 additions & 11 deletions _sources/resources.rst.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,18 @@ Resources
=========

Best Practices
~~~~~~~~~~~~~~
`Data on the Web Best Practices <https://www.w3.org/TR/dwbp/>`_
`Best Practices for Publishing Linked Data <https://www.w3.org/TR/ld-bp/>`_
--------------
- `Data on the Web Best Practices <https://www.w3.org/TR/dwbp/>`_
- `Best Practices for Publishing Linked Data <https://www.w3.org/TR/ld-bp/>`_

Tabular Data
~~~~~~~~~~~~
`Model for Tabular Data and Metadata on the Web <https://www.w3.org/TR/2015/REC-tabular-data-model-20151217/>`_
`Metadata Vocabulary for Tabular Data <https://www.w3.org/TR/2015/REC-tabular-metadata-20151217/>`_
------------
- `Model for Tabular Data and Metadata on the Web <https://www.w3.org/TR/2015/REC-tabular-data-model-20151217/>`_
- `Metadata Vocabulary for Tabular Data <https://www.w3.org/TR/2015/REC-tabular-metadata-20151217/>`_

RDF Vocabularies
~~~~~~~~~~~~~~~~
`RDF Schema <https://www.w3.org/TR/rdf-schema/>`_
`Simple Knowledge Organization System (SKOS) <https://www.w3.org/2004/02/skos/>`_
`Dublin Core <https://www.dublincore.org/specifications/dublin-core/dcmi-terms/>`_
`Schema.org <https://schema.org/>`_
----------------
- `RDF Schema <https://www.w3.org/TR/rdf-schema/>`_
- `Simple Knowledge Organization System (SKOS) <https://www.w3.org/2004/02/skos/>`_
- `Dublin Core <https://www.dublincore.org/specifications/dublin-core/dcmi-terms/>`_
- `Schema.org <https://schema.org/>`_
58 changes: 57 additions & 1 deletion examples.html
Original file line number Diff line number Diff line change
Expand Up @@ -386,9 +386,55 @@

<section id="examples">
<h1>Examples<a class="headerlink" href="#examples" title="Permalink to this heading">#</a></h1>
<section id="electrode">
<h2>Electrode<a class="headerlink" href="#electrode" title="Permalink to this heading">#</a></h2>
<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>
<span class="linenos"> 4</span><span class="w"> </span><span class="nt">&quot;hasActiveMaterial&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="nt">&quot;@type&quot;</span><span class="p">:</span><span class="w"> </span><span class="s2">&quot;Zinc&quot;</span>
<span class="linenos"> 6</span><span class="w"> </span><span class="p">},</span>
<span class="linenos"> 7</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"> 8</span><span class="w"> </span><span class="p">{</span>
<span class="linenos"> 9</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;MeasuredProperty&quot;</span><span class="p">],</span>
<span class="linenos">10</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">11</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">12</span><span class="w"> </span><span class="nt">&quot;hasNumericalValue&quot;</span><span class="p">:</span><span class="w"> </span><span class="mi">800</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;hasMeasurementUnit&quot;</span><span class="p">:</span><span class="w"> </span><span class="s2">&quot;emmo:MilliAmpereHourPerGram&quot;</span>
<span class="linenos">15</span><span class="w"> </span><span class="p">},</span>
<span class="linenos">16</span><span class="w"> </span><span class="p">{</span>
<span class="linenos">17</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;Thickness&quot;</span><span class="p">,</span><span class="w"> </span><span class="s2">&quot;ConventionalProperty&quot;</span><span class="p">],</span>
<span class="linenos">18</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">19</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">20</span><span class="w"> </span><span class="nt">&quot;hasNumericalValue&quot;</span><span class="p">:</span><span class="w"> </span><span class="mi">250</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;hasMeasurementUnit&quot;</span><span class="p">:</span><span class="w"> </span><span class="s2">&quot;emmo:MicroMetre&quot;</span>
<span class="linenos">23</span><span class="w"> </span><span class="p">},</span>
<span class="linenos">24</span><span class="w"> </span><span class="p">{</span>
<span class="linenos">25</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;Diameter&quot;</span><span class="p">,</span><span class="w"> </span><span class="s2">&quot;MeasuredProperty&quot;</span><span class="p">],</span>
<span class="linenos">26</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">27</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">28</span><span class="w"> </span><span class="nt">&quot;hasNumericalValue&quot;</span><span class="p">:</span><span class="w"> </span><span class="mi">2</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;hasMeasurementUnit&quot;</span><span class="p">:</span><span class="w"> </span><span class="s2">&quot;emmo:CentiMetre&quot;</span>
<span class="linenos">31</span><span class="w"> </span><span class="p">},</span>
<span class="linenos">32</span><span class="w"> </span><span class="p">{</span>
<span class="linenos">33</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;Mass&quot;</span><span class="p">,</span><span class="w"> </span><span class="s2">&quot;MeasuredProperty&quot;</span><span class="p">],</span>
<span class="linenos">34</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">35</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">36</span><span class="w"> </span><span class="nt">&quot;hasNumericalValue&quot;</span><span class="p">:</span><span class="w"> </span><span class="mf">2.5</span>
<span class="linenos">37</span><span class="w"> </span><span class="p">},</span>
<span class="linenos">38</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:Gram&quot;</span>
<span class="linenos">39</span><span class="w"> </span><span class="p">}</span>
<span class="linenos">40</span><span class="w"> </span><span class="p">]</span>
<span class="linenos">41</span><span class="p">}</span>
</pre></div>
</div>
<div style="position: relative; padding-top: 56.25%; height: 0;">
<iframe src="https://json-ld.org/playground/" style="position: absolute; top: 0; left: 0; width: 100%; height: 100%;" frameborder="0" allowfullscreen></iframe>
<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>
</section>


</article>
Expand Down Expand Up @@ -431,6 +477,16 @@ <h1>Examples<a class="headerlink" href="#examples" title="Permalink to this head

<div class="bd-sidebar-secondary bd-toc"><div class="sidebar-secondary-items sidebar-secondary__inner">

<div class="sidebar-secondary-item">
<div class="page-toc tocsection onthispage">
<i class="fa-solid fa-list"></i> On this page
</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="#electrode">Electrode</a></li>
</ul>
</nav></div>

<div class="sidebar-secondary-item">
<div class="tocsection sourcelink">
<a href="_sources/examples.rst.txt">
Expand Down
Binary file modified objects.inv
Binary file not shown.
22 changes: 14 additions & 8 deletions resources.html
Original file line number Diff line number Diff line change
Expand Up @@ -388,20 +388,26 @@
<h1>Resources<a class="headerlink" href="#resources" title="Permalink to this heading">#</a></h1>
<section id="best-practices">
<h2>Best Practices<a class="headerlink" href="#best-practices" title="Permalink to this heading">#</a></h2>
<p><a class="reference external" href="https://www.w3.org/TR/dwbp/">Data on the Web Best Practices</a>
<a class="reference external" href="https://www.w3.org/TR/ld-bp/">Best Practices for Publishing Linked Data</a></p>
<ul class="simple">
<li><p><a class="reference external" href="https://www.w3.org/TR/dwbp/">Data on the Web Best Practices</a></p></li>
<li><p><a class="reference external" href="https://www.w3.org/TR/ld-bp/">Best Practices for Publishing Linked Data</a></p></li>
</ul>
</section>
<section id="tabular-data">
<h2>Tabular Data<a class="headerlink" href="#tabular-data" title="Permalink to this heading">#</a></h2>
<p><a class="reference external" href="https://www.w3.org/TR/2015/REC-tabular-data-model-20151217/">Model for Tabular Data and Metadata on the Web</a>
<a class="reference external" href="https://www.w3.org/TR/2015/REC-tabular-metadata-20151217/">Metadata Vocabulary for Tabular Data</a></p>
<ul class="simple">
<li><p><a class="reference external" href="https://www.w3.org/TR/2015/REC-tabular-data-model-20151217/">Model for Tabular Data and Metadata on the Web</a></p></li>
<li><p><a class="reference external" href="https://www.w3.org/TR/2015/REC-tabular-metadata-20151217/">Metadata Vocabulary for Tabular Data</a></p></li>
</ul>
</section>
<section id="rdf-vocabularies">
<h2>RDF Vocabularies<a class="headerlink" href="#rdf-vocabularies" title="Permalink to this heading">#</a></h2>
<p><a class="reference external" href="https://www.w3.org/TR/rdf-schema/">RDF Schema</a>
<a class="reference external" href="https://www.w3.org/2004/02/skos/">Simple Knowledge Organization System (SKOS)</a>
<a class="reference external" href="https://www.dublincore.org/specifications/dublin-core/dcmi-terms/">Dublin Core</a>
<a class="reference external" href="https://schema.org/">Schema.org</a></p>
<ul class="simple">
<li><p><a class="reference external" href="https://www.w3.org/TR/rdf-schema/">RDF Schema</a></p></li>
<li><p><a class="reference external" href="https://www.w3.org/2004/02/skos/">Simple Knowledge Organization System (SKOS)</a></p></li>
<li><p><a class="reference external" href="https://www.dublincore.org/specifications/dublin-core/dcmi-terms/">Dublin Core</a></p></li>
<li><p><a class="reference external" href="https://schema.org/">Schema.org</a></p></li>
</ul>
</section>
</section>

Expand Down
2 changes: 1 addition & 1 deletion searchindex.js

Large diffs are not rendered by default.

0 comments on commit 5f21ea4

Please sign in to comment.