Skip to content

Commit

Permalink
deploy: 54f5d50
Browse files Browse the repository at this point in the history
  • Loading branch information
Demirrr committed Apr 9, 2024
1 parent ec670fe commit 4914629
Show file tree
Hide file tree
Showing 58 changed files with 3,143 additions and 4,130 deletions.
3 changes: 1 addition & 2 deletions _modules/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -78,14 +78,13 @@ <h1>All modules for which code is available</h1>
<ul><li><a href="owlapy/_utils.html">owlapy._utils</a></li>
<li><a href="owlapy/has.html">owlapy.has</a></li>
<li><a href="owlapy/iri.html">owlapy.iri</a></li>
<li><a href="owlapy/meta_classes.html">owlapy.meta_classes</a></li>
<li><a href="owlapy/model.html">owlapy.model</a></li>
<ul><li><a href="owlapy/model/providers.html">owlapy.model.providers</a></li>
</ul><li><a href="owlapy/namespaces.html">owlapy.namespaces</a></li>
<li><a href="owlapy/owl2sparql/converter.html">owlapy.owl2sparql.converter</a></li>
<li><a href="owlapy/owl_annotation.html">owlapy.owl_annotation</a></li>
<li><a href="owlapy/owl_axiom.html">owlapy.owl_axiom</a></li>
<li><a href="owlapy/owl_class_expression.html">owlapy.owl_class_expression</a></li>
<li><a href="owlapy/owl_data.html">owlapy.owl_data</a></li>
<li><a href="owlapy/owl_individual.html">owlapy.owl_individual</a></li>
<li><a href="owlapy/owl_literal.html">owlapy.owl_literal</a></li>
<li><a href="owlapy/owl_property.html">owlapy.owl_property</a></li>
Expand Down
96 changes: 1 addition & 95 deletions _modules/owlapy/has.html
Original file line number Diff line number Diff line change
Expand Up @@ -76,10 +76,7 @@
<div itemprop="articleBody">

<h1>Source code for owlapy.has</h1><div class="highlight"><pre>
<span></span><span class="kn">from</span> <span class="nn">typing</span> <span class="kn">import</span> <span class="n">Protocol</span><span class="p">,</span> <span class="n">ClassVar</span><span class="p">,</span> <span class="n">TypeVar</span><span class="p">,</span> <span class="n">Generic</span><span class="p">,</span> <span class="n">Iterable</span>
<span class="kn">from</span> <span class="nn">abc</span> <span class="kn">import</span> <span class="n">ABCMeta</span><span class="p">,</span> <span class="n">abstractmethod</span>
<span class="n">_T</span> <span class="o">=</span> <span class="n">TypeVar</span><span class="p">(</span><span class="s1">&#39;_T&#39;</span><span class="p">)</span> <span class="c1">#:</span>

<span></span><span class="kn">from</span> <span class="nn">typing</span> <span class="kn">import</span> <span class="n">Protocol</span><span class="p">,</span> <span class="n">ClassVar</span>
<div class="viewcode-block" id="HasIndex">
<a class="viewcode-back" href="../../autoapi/owlapy/model/index.html#owlapy.has.HasIndex">[docs]</a>
<span class="k">class</span> <span class="nc">HasIndex</span><span class="p">(</span><span class="n">Protocol</span><span class="p">):</span>
Expand All @@ -92,97 +89,6 @@ <h1>Source code for owlapy.has</h1><div class="highlight"><pre>
</div>



<div class="viewcode-block" id="HasIRI">
<a class="viewcode-back" href="../../autoapi/owlapy/has/index.html#owlapy.has.HasIRI">[docs]</a>
<span class="k">class</span> <span class="nc">HasIRI</span><span class="p">(</span><span class="n">metaclass</span><span class="o">=</span><span class="n">ABCMeta</span><span class="p">):</span>
<span class="w"> </span><span class="sd">&quot;&quot;&quot;Simple class to access the IRI.&quot;&quot;&quot;</span>
<span class="vm">__slots__</span> <span class="o">=</span> <span class="p">()</span>

<div class="viewcode-block" id="HasIRI.get_iri">
<a class="viewcode-back" href="../../autoapi/owlapy/model/index.html#owlapy.has.HasIRI.get_iri">[docs]</a>
<span class="nd">@abstractmethod</span>
<span class="k">def</span> <span class="nf">get_iri</span><span class="p">(</span><span class="bp">self</span><span class="p">)</span> <span class="o">-&gt;</span> <span class="s1">&#39;IRI&#39;</span><span class="p">:</span>
<span class="w"> </span><span class="sd">&quot;&quot;&quot;Gets the IRI of this object.</span>

<span class="sd"> Returns:</span>
<span class="sd"> The IRI of this object.</span>
<span class="sd"> &quot;&quot;&quot;</span>
<span class="k">pass</span></div>
</div>



<div class="viewcode-block" id="HasOperands">
<a class="viewcode-back" href="../../autoapi/owlapy/model/index.html#owlapy.has.HasOperands">[docs]</a>
<span class="k">class</span> <span class="nc">HasOperands</span><span class="p">(</span><span class="n">Generic</span><span class="p">[</span><span class="n">_T</span><span class="p">],</span> <span class="n">metaclass</span><span class="o">=</span><span class="n">ABCMeta</span><span class="p">):</span>
<span class="w"> </span><span class="sd">&quot;&quot;&quot;An interface to objects that have a collection of operands.</span>

<span class="sd"> Args:</span>
<span class="sd"> _T: Operand type.</span>
<span class="sd"> &quot;&quot;&quot;</span>
<span class="vm">__slots__</span> <span class="o">=</span> <span class="p">()</span>

<div class="viewcode-block" id="HasOperands.operands">
<a class="viewcode-back" href="../../autoapi/owlapy/model/index.html#owlapy.has.HasOperands.operands">[docs]</a>
<span class="nd">@abstractmethod</span>
<span class="k">def</span> <span class="nf">operands</span><span class="p">(</span><span class="bp">self</span><span class="p">)</span> <span class="o">-&gt;</span> <span class="n">Iterable</span><span class="p">[</span><span class="n">_T</span><span class="p">]:</span>
<span class="w"> </span><span class="sd">&quot;&quot;&quot;Gets the operands - e.g., the individuals in a sameAs axiom, or the classes in an equivalent</span>
<span class="sd"> classes axiom.</span>

<span class="sd"> Returns:</span>
<span class="sd"> The operands.</span>
<span class="sd"> &quot;&quot;&quot;</span>
<span class="k">pass</span></div>
</div>




<div class="viewcode-block" id="HasFiller">
<a class="viewcode-back" href="../../autoapi/owlapy/model/index.html#owlapy.has.HasFiller">[docs]</a>
<span class="k">class</span> <span class="nc">HasFiller</span><span class="p">(</span><span class="n">Generic</span><span class="p">[</span><span class="n">_T</span><span class="p">],</span> <span class="n">metaclass</span><span class="o">=</span><span class="n">ABCMeta</span><span class="p">):</span>
<span class="w"> </span><span class="sd">&quot;&quot;&quot;An interface to objects that have a filler.</span>

<span class="sd"> Args:</span>
<span class="sd"> _T: Filler type.</span>
<span class="sd"> &quot;&quot;&quot;</span>
<span class="vm">__slots__</span> <span class="o">=</span> <span class="p">()</span>

<div class="viewcode-block" id="HasFiller.get_filler">
<a class="viewcode-back" href="../../autoapi/owlapy/model/index.html#owlapy.has.HasFiller.get_filler">[docs]</a>
<span class="nd">@abstractmethod</span>
<span class="k">def</span> <span class="nf">get_filler</span><span class="p">(</span><span class="bp">self</span><span class="p">)</span> <span class="o">-&gt;</span> <span class="n">_T</span><span class="p">:</span>
<span class="w"> </span><span class="sd">&quot;&quot;&quot;Gets the filler for this restriction. In the case of an object restriction this will be an individual, in</span>
<span class="sd"> the case of a data restriction this will be a constant (data value). For quantified restriction this will be</span>
<span class="sd"> a class expression or a data range.</span>

<span class="sd"> Returns:</span>
<span class="sd"> the value</span>
<span class="sd"> &quot;&quot;&quot;</span>
<span class="k">pass</span></div>
</div>



<div class="viewcode-block" id="HasCardinality">
<a class="viewcode-back" href="../../autoapi/owlapy/model/index.html#owlapy.has.HasCardinality">[docs]</a>
<span class="k">class</span> <span class="nc">HasCardinality</span><span class="p">(</span><span class="n">metaclass</span><span class="o">=</span><span class="n">ABCMeta</span><span class="p">):</span>
<span class="w"> </span><span class="sd">&quot;&quot;&quot;An interface to objects that have a cardinality.&quot;&quot;&quot;</span>
<span class="vm">__slots__</span> <span class="o">=</span> <span class="p">()</span>

<div class="viewcode-block" id="HasCardinality.get_cardinality">
<a class="viewcode-back" href="../../autoapi/owlapy/model/index.html#owlapy.has.HasCardinality.get_cardinality">[docs]</a>
<span class="nd">@abstractmethod</span>
<span class="k">def</span> <span class="nf">get_cardinality</span><span class="p">(</span><span class="bp">self</span><span class="p">)</span> <span class="o">-&gt;</span> <span class="nb">int</span><span class="p">:</span>
<span class="w"> </span><span class="sd">&quot;&quot;&quot;Gets the cardinality of a restriction.</span>

<span class="sd"> Returns:</span>
<span class="sd"> The cardinality. A non-negative integer.</span>
<span class="sd"> &quot;&quot;&quot;</span>
<span class="k">pass</span></div>
</div>

</pre></div>

</div>
Expand Down
204 changes: 204 additions & 0 deletions _modules/owlapy/meta_classes.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,204 @@
<!DOCTYPE html>
<html class="writer-html5" lang="en" data-content_root="../../">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>owlapy.meta_classes &mdash; OWLAPY 0.1.2 documentation</title>
<link rel="stylesheet" type="text/css" href="../../_static/pygments.css?v=8775fe07" />
<link rel="stylesheet" type="text/css" href="../../_static/css/theme.css?v=19f00094" />
<link rel="stylesheet" type="text/css" href="../../_static/graphviz.css?v=eafc0fe6" />
<link rel="stylesheet" type="text/css" href="../../_static/theme.css?v=ea877efc" />
<link rel="stylesheet" type="text/css" href="../../_static/theme_tweak.css?v=f0ad19f3" />
<link rel="stylesheet" type="text/css" href="../../_static/pygments.css?v=8775fe07" />


<!--[if lt IE 9]>
<script src="../../_static/js/html5shiv.min.js"></script>
<![endif]-->

<script src="../../_static/jquery.js?v=5d32c60e"></script>
<script src="../../_static/_sphinx_javascript_frameworks_compat.js?v=2cd50e6c"></script>
<script src="../../_static/documentation_options.js?v=92734c54"></script>
<script src="../../_static/doctools.js?v=888ff710"></script>
<script src="../../_static/sphinx_highlight.js?v=dc90522c"></script>
<script src="../../_static/js/theme.js"></script>
<link rel="index" title="Index" href="../../genindex.html" />
<link rel="search" title="Search" href="../../search.html" />
</head>

<body class="wy-body-for-nav">
<div class="wy-grid-for-nav">
<nav data-toggle="wy-nav-shift" class="wy-nav-side">
<div class="wy-side-scroll">
<div class="wy-side-nav-search" >



<a href="../../index.html" class="icon icon-home">
OWLAPY
</a>
<div role="search">
<form id="rtd-search-form" class="wy-form" action="../../search.html" method="get">
<input type="text" name="q" placeholder="Search docs" aria-label="Search docs" />
<input type="hidden" name="check_keywords" value="yes" />
<input type="hidden" name="area" value="default" />
</form>
</div>
</div><div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="Navigation menu">
<p class="caption" role="heading"><span class="caption-text">Contents:</span></p>
<ul>
<li class="toctree-l1"><a class="reference internal" href="../../usage/main.html">OWLAPY</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../autoapi/owlapy/index.html"><code class="xref py py-mod docutils literal notranslate"><span class="pre">owlapy</span></code></a></li>
</ul>

</div>
</div>
</nav>

<section data-toggle="wy-nav-shift" class="wy-nav-content-wrap"><nav class="wy-nav-top" aria-label="Mobile navigation menu" >
<i data-toggle="wy-nav-top" class="fa fa-bars"></i>
<a href="../../index.html">OWLAPY</a>
</nav>

<div class="wy-nav-content">
<div class="rst-content">
<div role="navigation" aria-label="Page navigation">
<ul class="wy-breadcrumbs">
<li><a href="../../index.html" class="icon icon-home" aria-label="Home"></a></li>
<li class="breadcrumb-item"><a href="../index.html">Module code</a></li>
<li class="breadcrumb-item active">owlapy.meta_classes</li>
<li class="wy-breadcrumbs-aside">
</li>
</ul>
<hr/>
</div>
<div role="main" class="document" itemscope="itemscope" itemtype="http://schema.org/Article">
<div itemprop="articleBody">

<h1>Source code for owlapy.meta_classes</h1><div class="highlight"><pre>
<span></span><span class="c1"># https://docs.python.org/3/reference/datamodel.html#metaclasses</span>
<span class="kn">from</span> <span class="nn">typing</span> <span class="kn">import</span> <span class="n">TypeVar</span><span class="p">,</span> <span class="n">Generic</span><span class="p">,</span> <span class="n">Iterable</span>
<span class="kn">from</span> <span class="nn">abc</span> <span class="kn">import</span> <span class="n">ABCMeta</span><span class="p">,</span> <span class="n">abstractmethod</span>

<span class="n">_T</span> <span class="o">=</span> <span class="n">TypeVar</span><span class="p">(</span><span class="s1">&#39;_T&#39;</span><span class="p">)</span> <span class="c1">#:</span>


<div class="viewcode-block" id="HasIRI">
<a class="viewcode-back" href="../../autoapi/owlapy/meta_classes/index.html#owlapy.meta_classes.HasIRI">[docs]</a>
<span class="k">class</span> <span class="nc">HasIRI</span><span class="p">(</span><span class="n">metaclass</span><span class="o">=</span><span class="n">ABCMeta</span><span class="p">):</span>
<span class="w"> </span><span class="sd">&quot;&quot;&quot;Simple class to access the IRI.&quot;&quot;&quot;</span>
<span class="vm">__slots__</span> <span class="o">=</span> <span class="p">()</span>

<div class="viewcode-block" id="HasIRI.get_iri">
<a class="viewcode-back" href="../../autoapi/owlapy/model/index.html#owlapy.meta_classes.HasIRI.get_iri">[docs]</a>
<span class="nd">@abstractmethod</span>
<span class="k">def</span> <span class="nf">get_iri</span><span class="p">(</span><span class="bp">self</span><span class="p">)</span> <span class="o">-&gt;</span> <span class="s1">&#39;IRI&#39;</span><span class="p">:</span>
<span class="w"> </span><span class="sd">&quot;&quot;&quot;Gets the IRI of this object.</span>

<span class="sd"> Returns:</span>
<span class="sd"> The IRI of this object.</span>
<span class="sd"> &quot;&quot;&quot;</span>
<span class="k">pass</span></div>
</div>



<div class="viewcode-block" id="HasOperands">
<a class="viewcode-back" href="../../autoapi/owlapy/model/index.html#owlapy.meta_classes.HasOperands">[docs]</a>
<span class="k">class</span> <span class="nc">HasOperands</span><span class="p">(</span><span class="n">Generic</span><span class="p">[</span><span class="n">_T</span><span class="p">],</span> <span class="n">metaclass</span><span class="o">=</span><span class="n">ABCMeta</span><span class="p">):</span>
<span class="w"> </span><span class="sd">&quot;&quot;&quot;An interface to objects that have a collection of operands.</span>

<span class="sd"> Args:</span>
<span class="sd"> _T: Operand type.</span>
<span class="sd"> &quot;&quot;&quot;</span>
<span class="vm">__slots__</span> <span class="o">=</span> <span class="p">()</span>

<div class="viewcode-block" id="HasOperands.operands">
<a class="viewcode-back" href="../../autoapi/owlapy/model/index.html#owlapy.meta_classes.HasOperands.operands">[docs]</a>
<span class="nd">@abstractmethod</span>
<span class="k">def</span> <span class="nf">operands</span><span class="p">(</span><span class="bp">self</span><span class="p">)</span> <span class="o">-&gt;</span> <span class="n">Iterable</span><span class="p">[</span><span class="n">_T</span><span class="p">]:</span>
<span class="w"> </span><span class="sd">&quot;&quot;&quot;Gets the operands - e.g., the individuals in a sameAs axiom, or the classes in an equivalent</span>
<span class="sd"> classes axiom.</span>

<span class="sd"> Returns:</span>
<span class="sd"> The operands.</span>
<span class="sd"> &quot;&quot;&quot;</span>
<span class="k">pass</span></div>
</div>



<div class="viewcode-block" id="HasFiller">
<a class="viewcode-back" href="../../autoapi/owlapy/model/index.html#owlapy.meta_classes.HasFiller">[docs]</a>
<span class="k">class</span> <span class="nc">HasFiller</span><span class="p">(</span><span class="n">Generic</span><span class="p">[</span><span class="n">_T</span><span class="p">],</span> <span class="n">metaclass</span><span class="o">=</span><span class="n">ABCMeta</span><span class="p">):</span>
<span class="w"> </span><span class="sd">&quot;&quot;&quot;An interface to objects that have a filler.</span>

<span class="sd"> Args:</span>
<span class="sd"> _T: Filler type.</span>
<span class="sd"> &quot;&quot;&quot;</span>
<span class="vm">__slots__</span> <span class="o">=</span> <span class="p">()</span>

<div class="viewcode-block" id="HasFiller.get_filler">
<a class="viewcode-back" href="../../autoapi/owlapy/model/index.html#owlapy.meta_classes.HasFiller.get_filler">[docs]</a>
<span class="nd">@abstractmethod</span>
<span class="k">def</span> <span class="nf">get_filler</span><span class="p">(</span><span class="bp">self</span><span class="p">)</span> <span class="o">-&gt;</span> <span class="n">_T</span><span class="p">:</span>
<span class="w"> </span><span class="sd">&quot;&quot;&quot;Gets the filler for this restriction. In the case of an object restriction this will be an individual, in</span>
<span class="sd"> the case of a data restriction this will be a constant (data value). For quantified restriction this will be</span>
<span class="sd"> a class expression or a data range.</span>

<span class="sd"> Returns:</span>
<span class="sd"> the value</span>
<span class="sd"> &quot;&quot;&quot;</span>
<span class="k">pass</span></div>
</div>



<div class="viewcode-block" id="HasCardinality">
<a class="viewcode-back" href="../../autoapi/owlapy/model/index.html#owlapy.meta_classes.HasCardinality">[docs]</a>
<span class="k">class</span> <span class="nc">HasCardinality</span><span class="p">(</span><span class="n">metaclass</span><span class="o">=</span><span class="n">ABCMeta</span><span class="p">):</span>
<span class="w"> </span><span class="sd">&quot;&quot;&quot;An interface to objects that have a cardinality.&quot;&quot;&quot;</span>
<span class="vm">__slots__</span> <span class="o">=</span> <span class="p">()</span>

<div class="viewcode-block" id="HasCardinality.get_cardinality">
<a class="viewcode-back" href="../../autoapi/owlapy/model/index.html#owlapy.meta_classes.HasCardinality.get_cardinality">[docs]</a>
<span class="nd">@abstractmethod</span>
<span class="k">def</span> <span class="nf">get_cardinality</span><span class="p">(</span><span class="bp">self</span><span class="p">)</span> <span class="o">-&gt;</span> <span class="nb">int</span><span class="p">:</span>
<span class="w"> </span><span class="sd">&quot;&quot;&quot;Gets the cardinality of a restriction.</span>

<span class="sd"> Returns:</span>
<span class="sd"> The cardinality. A non-negative integer.</span>
<span class="sd"> &quot;&quot;&quot;</span>
<span class="k">pass</span></div>
</div>

</pre></div>

</div>
</div>
<footer>

<hr/>

<div role="contentinfo">
<p>&#169; Copyright .</p>
</div>

Built with <a href="https://www.sphinx-doc.org/">Sphinx</a> using a
<a href="https://github.com/readthedocs/sphinx_rtd_theme">theme</a>
provided by <a href="https://readthedocs.org">Read the Docs</a>.


</footer>
</div>
</div>
</section>
</div>
<script>
jQuery(function () {
SphinxRtdTheme.Navigation.enable(true);
});
</script>

</body>
</html>
Loading

0 comments on commit 4914629

Please sign in to comment.