Skip to content

Commit

Permalink
deploy: 1faede5
Browse files Browse the repository at this point in the history
  • Loading branch information
jsimonclark committed Jan 31, 2024
1 parent 77d5e6f commit 6f8d7e7
Show file tree
Hide file tree
Showing 9 changed files with 23 additions and 32 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
{
"cell_type": "markdown",
"source": [
"\\# Example: Timeseries Battery Data\n",
"# Example: Timeseries Battery Data\n",
"\n",
"Let's describe a csv file containing some timeseries battery data and then anaylze it using the ontology!\n",
"\n",
Expand Down
4 changes: 1 addition & 3 deletions example_linked_data_battery_cell_metadata.html
Original file line number Diff line number Diff line change
Expand Up @@ -318,9 +318,7 @@
<div class="bd-toc-item navbar-nav"><ul class="current nav bd-sidenav">
<li class="toctree-l1 current active"><a class="current reference internal" href="#">Example: Simple Battery Cell Metadata</a></li>
<li class="toctree-l1"><a class="reference internal" href="example_linked_data_custom_battery_cell_metadata.html">Example: Custom Battery Cell Metadata</a></li>
<li class="toctree-l1"><a class="reference internal" href="example_linked_data_timeseries_battery_data.html">Describe the csv file using ontology terms in JSON-LD format</a></li>


<li class="toctree-l1"><a class="reference internal" href="example_linked_data_timeseries_battery_data.html">Example: Timeseries Battery Data</a></li>
<li class="toctree-l1"><a class="reference internal" href="example_linked_data_zinc_powder.html">Example: Zinc Powder from a Supplier</a></li>
</ul>
</div>
Expand Down
8 changes: 3 additions & 5 deletions example_linked_data_custom_battery_cell_metadata.html
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
<link rel="author" title="About these documents" href="about.html" />
<link rel="index" title="Index" href="genindex.html" />
<link rel="search" title="Search" href="search.html" />
<link rel="next" title="Describe the csv file using ontology terms in JSON-LD format" href="example_linked_data_timeseries_battery_data.html" />
<link rel="next" title="Example: Timeseries Battery Data" href="example_linked_data_timeseries_battery_data.html" />
<link rel="prev" title="Example: Simple Battery Cell Metadata" href="example_linked_data_battery_cell_metadata.html" />
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<meta name="docsearch:language" content="en"/>
Expand Down Expand Up @@ -318,9 +318,7 @@
<div class="bd-toc-item navbar-nav"><ul class="current nav bd-sidenav">
<li class="toctree-l1"><a class="reference internal" href="example_linked_data_battery_cell_metadata.html">Example: Simple Battery Cell Metadata</a></li>
<li class="toctree-l1 current active"><a class="current reference internal" href="#">Example: Custom Battery Cell Metadata</a></li>
<li class="toctree-l1"><a class="reference internal" href="example_linked_data_timeseries_battery_data.html">Describe the csv file using ontology terms in JSON-LD format</a></li>


<li class="toctree-l1"><a class="reference internal" href="example_linked_data_timeseries_battery_data.html">Example: Timeseries Battery Data</a></li>
<li class="toctree-l1"><a class="reference internal" href="example_linked_data_zinc_powder.html">Example: Zinc Powder from a Supplier</a></li>
</ul>
</div>
Expand Down Expand Up @@ -1144,7 +1142,7 @@ <h2>Fetch additional information from other sources [Advanced]<a class="headerli
title="next page">
<div class="prev-next-info">
<p class="prev-next-subtitle">next</p>
<p class="prev-next-title">Describe the csv file using ontology terms in JSON-LD format</p>
<p class="prev-next-title">Example: Timeseries Battery Data</p>
</div>
<i class="fa-solid fa-angle-right"></i>
</a>
Expand Down
25 changes: 12 additions & 13 deletions example_linked_data_timeseries_battery_data.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="generator" content="Docutils 0.19: https://docutils.sourceforge.io/" />

<title>Describe the csv file using ontology terms in JSON-LD format &#8212; BattInfo documentation</title>
<title>Example: Timeseries Battery Data &#8212; BattInfo documentation</title>



Expand Down Expand Up @@ -318,9 +318,7 @@
<div class="bd-toc-item navbar-nav"><ul class="current nav bd-sidenav">
<li class="toctree-l1"><a class="reference internal" href="example_linked_data_battery_cell_metadata.html">Example: Simple Battery Cell Metadata</a></li>
<li class="toctree-l1"><a class="reference internal" href="example_linked_data_custom_battery_cell_metadata.html">Example: Custom Battery Cell Metadata</a></li>
<li class="toctree-l1 current active"><a class="current reference internal" href="#">Describe the csv file using ontology terms in JSON-LD format</a></li>


<li class="toctree-l1 current active"><a class="current reference internal" href="#">Example: Timeseries Battery Data</a></li>
<li class="toctree-l1"><a class="reference internal" href="example_linked_data_zinc_powder.html">Example: Zinc Powder from a Supplier</a></li>
</ul>
</div>
Expand Down Expand Up @@ -362,7 +360,7 @@

<li class="breadcrumb-item"><a href="examples.html" class="nav-link">Examples</a></li>

<li class="breadcrumb-item active" aria-current="page">Describe the csv file using ontology terms in JSON-LD format</li>
<li class="breadcrumb-item active" aria-current="page">Example: Timeseries Battery Data</li>
</ul>
</nav>
</div>
Expand All @@ -379,7 +377,8 @@
<div id="searchbox"></div>
<article class="bd-article" role="main">

<p># Example: Timeseries Battery Data</p>
<section id="Example:-Timeseries-Battery-Data">
<h1>Example: Timeseries Battery Data<a class="headerlink" href="#Example:-Timeseries-Battery-Data" title="Permalink to this heading">#</a></h1>
<p>Let’s describe a csv file containing some timeseries battery data and then anaylze it using the ontology!</p>
<p>This example covers a few topics:</p>
<ul class="simple">
Expand All @@ -405,7 +404,7 @@
</div>
</div>
<section id="Describe-the-csv-file-using-ontology-terms-in-JSON-LD-format">
<h1>Describe the csv file using ontology terms in JSON-LD format<a class="headerlink" href="#Describe-the-csv-file-using-ontology-terms-in-JSON-LD-format" title="Permalink to this heading">#</a></h1>
<h2>Describe the csv file using ontology terms in JSON-LD format<a class="headerlink" href="#Describe-the-csv-file-using-ontology-terms-in-JSON-LD-format" title="Permalink to this heading">#</a></h2>
<p>The JSON-LD data that we will use is:</p>
<div class="nbinput nblast docutils container">
<div class="prompt highlight-none notranslate"><div class="highlight"><pre><span></span>[65]:
Expand Down Expand Up @@ -461,7 +460,7 @@ <h1>Describe the csv file using ontology terms in JSON-LD format<a class="header
</div>
</section>
<section id="Parse-this-description-into-a-graph">
<h1>Parse this description into a graph<a class="headerlink" href="#Parse-this-description-into-a-graph" title="Permalink to this heading">#</a></h1>
<h2>Parse this description into a graph<a class="headerlink" href="#Parse-this-description-into-a-graph" title="Permalink to this heading">#</a></h2>
<p>Now let’s see how a machine would process this data by reading it into a Graph!</p>
<p>We create the graph using a very handy python package called <a class="reference external" href="https://rdflib.readthedocs.io/en/stable/">rdflib</a>, which provides us a way to parse our json-ld data, run some queries using the language <a class="reference external" href="https://en.wikipedia.org/wiki/SPARQL">SPARQL</a>, and serialize the graph in any RDF compatible format (e.g. JSON-LD, Turtle, etc.).</p>
<div class="nbinput docutils container">
Expand Down Expand Up @@ -537,7 +536,7 @@ <h1>Parse this description into a graph<a class="headerlink" href="#Parse-this-d
<p>You can see that our human-readable JSON-LD file has been transformed into some nasty looking (but machine-readable!) triples.</p>
</section>
<section id="Query-the-Graph-to-select-instances-with-certain-properties-[Advanced]">
<h1>Query the Graph to select instances with certain properties [Advanced]<a class="headerlink" href="#Query-the-Graph-to-select-instances-with-certain-properties-[Advanced]" title="Permalink to this heading">#</a></h1>
<h2>Query the Graph to select instances with certain properties [Advanced]<a class="headerlink" href="#Query-the-Graph-to-select-instances-with-certain-properties-[Advanced]" title="Permalink to this heading">#</a></h2>
<p>Now, let’s write a SPARQL query to first get the location where the raw data is stored…</p>
<div class="nbinput docutils container">
<div class="prompt highlight-none notranslate"><div class="highlight"><pre><span></span>[67]:
Expand Down Expand Up @@ -681,6 +680,7 @@ <h1>Query the Graph to select instances with certain properties [Advanced]<a cla
<img alt="_images/example_linked_data_timeseries_battery_data_12_0.png" src="_images/example_linked_data_timeseries_battery_data_12_0.png" />
</div>
</div>
</section>
</section>


Expand Down Expand Up @@ -730,11 +730,10 @@ <h1>Query the Graph to select instances with certain properties [Advanced]<a cla
</div>
<nav class="bd-toc-nav page-toc">
<ul class="visible nav section-nav flex-column">
<li class="toc-h1 nav-item toc-entry"><a class="reference internal nav-link" href="#">Describe the csv file using ontology terms in JSON-LD format</a></li>
<li class="toc-h1 nav-item toc-entry"><a class="reference internal nav-link" href="#Parse-this-description-into-a-graph">Parse this description into a graph</a></li>
<li class="toc-h1 nav-item toc-entry"><a class="reference internal nav-link" href="#Query-the-Graph-to-select-instances-with-certain-properties-[Advanced]">Query the Graph to select instances with certain properties [Advanced]</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#Describe-the-csv-file-using-ontology-terms-in-JSON-LD-format">Describe the csv file using ontology terms in JSON-LD format</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#Parse-this-description-into-a-graph">Parse this description into a graph</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#Query-the-Graph-to-select-instances-with-certain-properties-[Advanced]">Query the Graph to select instances with certain properties [Advanced]</a></li>
</ul>

</nav></div>

<div class="sidebar-secondary-item">
Expand Down
2 changes: 1 addition & 1 deletion example_linked_data_timeseries_battery_data.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"id": "1wseTQGaB4x9"
},
"source": [
"\\# Example: Timeseries Battery Data\n",
"# Example: Timeseries Battery Data\n",
"\n",
"Let's describe a csv file containing some timeseries battery data and then anaylze it using the ontology!\n",
"\n",
Expand Down
8 changes: 3 additions & 5 deletions example_linked_data_zinc_powder.html
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
<link rel="index" title="Index" href="genindex.html" />
<link rel="search" title="Search" href="search.html" />
<link rel="next" title="Class Index" href="battinfo.html" />
<link rel="prev" title="Describe the csv file using ontology terms in JSON-LD format" href="example_linked_data_timeseries_battery_data.html" />
<link rel="prev" title="Example: Timeseries Battery Data" href="example_linked_data_timeseries_battery_data.html" />
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<meta name="docsearch:language" content="en"/>
</head>
Expand Down Expand Up @@ -318,9 +318,7 @@
<div class="bd-toc-item navbar-nav"><ul class="current nav bd-sidenav">
<li class="toctree-l1"><a class="reference internal" href="example_linked_data_battery_cell_metadata.html">Example: Simple Battery Cell Metadata</a></li>
<li class="toctree-l1"><a class="reference internal" href="example_linked_data_custom_battery_cell_metadata.html">Example: Custom Battery Cell Metadata</a></li>
<li class="toctree-l1"><a class="reference internal" href="example_linked_data_timeseries_battery_data.html">Describe the csv file using ontology terms in JSON-LD format</a></li>


<li class="toctree-l1"><a class="reference internal" href="example_linked_data_timeseries_battery_data.html">Example: Timeseries Battery Data</a></li>
<li class="toctree-l1 current active"><a class="current reference internal" href="#">Example: Zinc Powder from a Supplier</a></li>
</ul>
</div>
Expand Down Expand Up @@ -722,7 +720,7 @@ <h2>Fetch additional information from other sources [Advanced]<a class="headerli
<i class="fa-solid fa-angle-left"></i>
<div class="prev-next-info">
<p class="prev-next-subtitle">previous</p>
<p class="prev-next-title">Describe the csv file using ontology terms in JSON-LD format</p>
<p class="prev-next-title">Example: Timeseries Battery Data</p>
</div>
</a>
<a class="right-next"
Expand Down
4 changes: 1 addition & 3 deletions examples.html
Original file line number Diff line number Diff line change
Expand Up @@ -315,9 +315,7 @@
<div class="bd-toc-item navbar-nav"><ul class="nav bd-sidenav">
<li class="toctree-l1"><a class="reference internal" href="example_linked_data_battery_cell_metadata.html">Example: Simple Battery Cell Metadata</a></li>
<li class="toctree-l1"><a class="reference internal" href="example_linked_data_custom_battery_cell_metadata.html">Example: Custom Battery Cell Metadata</a></li>
<li class="toctree-l1"><a class="reference internal" href="example_linked_data_timeseries_battery_data.html">Describe the csv file using ontology terms in JSON-LD format</a></li>


<li class="toctree-l1"><a class="reference internal" href="example_linked_data_timeseries_battery_data.html">Example: Timeseries Battery Data</a></li>
<li class="toctree-l1"><a class="reference internal" href="example_linked_data_zinc_powder.html">Example: Zinc Powder from a Supplier</a></li>
</ul>
</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 6f8d7e7

Please sign in to comment.