Skip to content

Commit

Permalink
deploy: 506ebc0
Browse files Browse the repository at this point in the history
  • Loading branch information
Demirrr committed Nov 15, 2024
1 parent a199ee3 commit dc985a8
Show file tree
Hide file tree
Showing 7 changed files with 34 additions and 4 deletions.
12 changes: 12 additions & 0 deletions _modules/owlapy/static_funcs.html
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,18 @@ <h1>Source code for owlapy.static_funcs</h1><div class="highlight"><pre>
<span class="n">jpype</span><span class="o">.</span><span class="n">detachThreadFromJVM</span><span class="p">()</span>
<span class="n">jpype</span><span class="o">.</span><span class="n">shutdownJVM</span><span class="p">()</span></div>


<div class="viewcode-block" id="create_ontology">
<a class="viewcode-back" href="../../autoapi/owlapy/static_funcs/index.html#owlapy.static_funcs.create_ontology">[docs]</a>
<span class="k">def</span> <span class="nf">create_ontology</span><span class="p">(</span><span class="n">iri</span><span class="p">,</span><span class="n">with_owlapi</span><span class="o">=</span><span class="kc">False</span><span class="p">):</span>
<span class="w"> </span><span class="sd">&quot;&quot;&quot; A convenient function&quot;&quot;&quot;</span>
<span class="k">if</span> <span class="n">with_owlapi</span><span class="p">:</span>
<span class="kn">from</span> <span class="nn">.owl_ontology_manager</span> <span class="kn">import</span> <span class="n">SyncOntologyManager</span>
<span class="k">return</span> <span class="n">SyncOntologyManager</span><span class="p">()</span><span class="o">.</span><span class="n">create_ontology</span><span class="p">(</span><span class="n">iri</span><span class="p">)</span>
<span class="k">else</span><span class="p">:</span>
<span class="kn">from</span> <span class="nn">.owl_ontology_manager</span> <span class="kn">import</span> <span class="n">OntologyManager</span>
<span class="k">return</span> <span class="n">OntologyManager</span><span class="p">()</span><span class="o">.</span><span class="n">create_ontology</span><span class="p">(</span><span class="n">iri</span><span class="p">)</span></div>

</pre></div>

</div>
Expand Down
6 changes: 6 additions & 0 deletions _sources/autoapi/owlapy/static_funcs/index.rst.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ Functions
owlapy.static_funcs.download_external_files
owlapy.static_funcs.startJVM
owlapy.static_funcs.stopJVM
owlapy.static_funcs.create_ontology


Module Contents
Expand Down Expand Up @@ -45,3 +46,8 @@ Module Contents
Detaches the thread from Java packages and shuts down the java virtual machine hosted by jpype.


.. py:function:: create_ontology(iri, with_owlapi=False)
A convenient function


10 changes: 10 additions & 0 deletions autoapi/owlapy/static_funcs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@
<li class="toctree-l5"><a class="reference internal" href="#owlapy.static_funcs.download_external_files"><code class="docutils literal notranslate"><span class="pre">download_external_files()</span></code></a></li>
<li class="toctree-l5"><a class="reference internal" href="#owlapy.static_funcs.startJVM"><code class="docutils literal notranslate"><span class="pre">startJVM()</span></code></a></li>
<li class="toctree-l5"><a class="reference internal" href="#owlapy.static_funcs.stopJVM"><code class="docutils literal notranslate"><span class="pre">stopJVM()</span></code></a></li>
<li class="toctree-l5"><a class="reference internal" href="#owlapy.static_funcs.create_ontology"><code class="docutils literal notranslate"><span class="pre">create_ontology()</span></code></a></li>
</ul>
</li>
</ul>
Expand Down Expand Up @@ -148,6 +149,9 @@ <h2>Functions<a class="headerlink" href="#functions" title="Link to this heading
<tr class="row-even"><td><p><a class="reference internal" href="#owlapy.static_funcs.stopJVM" title="owlapy.static_funcs.stopJVM"><code class="xref py py-obj docutils literal notranslate"><span class="pre">stopJVM</span></code></a>(→ None)</p></td>
<td><p>Detaches the thread from Java packages and shuts down the java virtual machine hosted by jpype.</p></td>
</tr>
<tr class="row-odd"><td><p><a class="reference internal" href="#owlapy.static_funcs.create_ontology" title="owlapy.static_funcs.create_ontology"><code class="xref py py-obj docutils literal notranslate"><span class="pre">create_ontology</span></code></a>(iri[, with_owlapi])</p></td>
<td><p>A convenient function</p></td>
</tr>
</tbody>
</table>
</section>
Expand Down Expand Up @@ -183,6 +187,12 @@ <h2>Module Contents<a class="headerlink" href="#module-contents" title="Link to
<dd><p>Detaches the thread from Java packages and shuts down the java virtual machine hosted by jpype.</p>
</dd></dl>

<dl class="py function">
<dt class="sig sig-object py" id="owlapy.static_funcs.create_ontology">
<span class="sig-prename descclassname"><span class="pre">owlapy.static_funcs.</span></span><span class="sig-name descname"><span class="pre">create_ontology</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">iri</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">with_owlapi</span></span><span class="o"><span class="pre">=</span></span><span class="default_value"><span class="pre">False</span></span></em><span class="sig-paren">)</span><a class="reference internal" href="../../../_modules/owlapy/static_funcs.html#create_ontology"><span class="viewcode-link"><span class="pre">[source]</span></span></a><a class="headerlink" href="#owlapy.static_funcs.create_ontology" title="Link to this definition"></a></dt>
<dd><p>A convenient function</p>
</dd></dl>

</section>
</section>

Expand Down
8 changes: 5 additions & 3 deletions genindex.html
Original file line number Diff line number Diff line change
Expand Up @@ -1053,10 +1053,10 @@ <h2 id="C">C</h2>
</li>
<li><a href="autoapi/owlapy/utils/index.html#owlapy.utils.EvaluatedDescriptionSet.clean">clean() (owlapy.utils.EvaluatedDescriptionSet method)</a>
</li>
</ul></td>
<td style="width: 33%; vertical-align: top;"><ul>
<li><a href="autoapi/owlapy/converter/index.html#owlapy.converter.Owl2SparqlConverter.cnt">cnt (owlapy.converter.Owl2SparqlConverter attribute)</a>
</li>
</ul></td>
<td style="width: 33%; vertical-align: top;"><ul>
<li><a href="autoapi/owlapy/utils/index.html#owlapy.utils.combine_nary_expressions">combine_nary_expressions() (in module owlapy.utils)</a>
</li>
<li><a href="autoapi/owlapy/utils/index.html#owlapy.utils.concept_reducer">concept_reducer() (in module owlapy.utils)</a>
Expand All @@ -1077,9 +1077,11 @@ <h2 id="C">C</h2>
</li>
<li><a href="autoapi/owlapy/iri/index.html#owlapy.iri.IRI.create">create() (owlapy.iri.IRI static method)</a>
</li>
<li><a href="autoapi/owlapy/abstracts/abstract_owl_ontology_manager/index.html#owlapy.abstracts.abstract_owl_ontology_manager.AbstractOWLOntologyManager.create_ontology">create_ontology() (owlapy.abstracts.abstract_owl_ontology_manager.AbstractOWLOntologyManager method)</a>
<li><a href="autoapi/owlapy/static_funcs/index.html#owlapy.static_funcs.create_ontology">create_ontology() (in module owlapy.static_funcs)</a>

<ul>
<li><a href="autoapi/owlapy/abstracts/abstract_owl_ontology_manager/index.html#owlapy.abstracts.abstract_owl_ontology_manager.AbstractOWLOntologyManager.create_ontology">(owlapy.abstracts.abstract_owl_ontology_manager.AbstractOWLOntologyManager method)</a>
</li>
<li><a href="autoapi/owlapy/abstracts/index.html#owlapy.abstracts.AbstractOWLOntologyManager.create_ontology">(owlapy.abstracts.AbstractOWLOntologyManager method)</a>
</li>
<li><a href="autoapi/owlapy/index.html#owlapy.OntologyManager.create_ontology">(owlapy.OntologyManager method)</a>
Expand Down
Binary file modified objects.inv
Binary file not shown.
Binary file modified owlapy.pdf
Binary file not shown.
2 changes: 1 addition & 1 deletion searchindex.js

Large diffs are not rendered by default.

0 comments on commit dc985a8

Please sign in to comment.