Skip to content

Commit

Permalink
Docs built for commit f005414
Browse files Browse the repository at this point in the history
  • Loading branch information
prohde committed Dec 1, 2023
1 parent 6dec613 commit 2a0473a
Show file tree
Hide file tree
Showing 13 changed files with 40 additions and 33 deletions.
2 changes: 1 addition & 1 deletion .buildinfo
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Sphinx build info version 1
# This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done.
config: c73703d7f3f36c3bdba4db08b4dcca94
config: 5755cdc98f344417c3ea7af0a124baad
tags: 645f666f9bcd5a90fca523b33c5a78b7
2 changes: 1 addition & 1 deletion _static/documentation_options.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
var DOCUMENTATION_OPTIONS = {
URL_ROOT: document.getElementById("documentation_options").getAttribute('data-url_root'),
VERSION: '0.14.0',
VERSION: '0.15.0',
LANGUAGE: 'en',
COLLAPSE_INDEX: false,
BUILDER: 'html',
Expand Down
17 changes: 15 additions & 2 deletions changelog.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<meta charset="utf-8" /><meta name="generator" content="Docutils 0.17.1: http://docutils.sourceforge.net/" />

<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Changelog &mdash; DeTrusty 0.14.0 documentation</title>
<title>Changelog &mdash; DeTrusty 0.15.0 documentation</title>
<link rel="stylesheet" href="_static/pygments.css" type="text/css" />
<link rel="stylesheet" href="_static/css/theme.css" type="text/css" />
<link rel="stylesheet" href="_static/css/custom.css" type="text/css" />
Expand Down Expand Up @@ -34,7 +34,7 @@
<img src="_static/logo.png" class="logo" alt="Logo"/>
</a>
<div class="version">
0.14.0
0.15.0
</div>
<div role="search">
<form id="rtd-search-form" class="wy-form" action="search.html" method="get">
Expand Down Expand Up @@ -84,6 +84,19 @@
<h1>Changelog<a class="headerlink" href="#changelog" title="Permalink to this heading"></a></h1>
<div class="toctree-wrapper compound">
</div>
<section id="v0-15-0-01-dec-2023">
<h2>v0.15.0 - 01 Dec 2023<a class="headerlink" href="#v0-15-0-01-dec-2023" title="Permalink to this heading"></a></h2>
<ul class="simple">
<li><p>Merge parsers</p>
<ul>
<li><p>DeTrusty uses only one parser now, hence,</p></li>
<li><p>Deprecate sparql_one_dot_one parameter or run_query()</p></li>
</ul>
</li>
<li><p>Add support for parsing SPARQL queries with comments</p></li>
<li><p>Fix issue with COUNT(*)</p></li>
</ul>
</section>
<section id="v0-14-0-28-nov-2023">
<h2>v0.14.0 - 28 Nov 2023<a class="headerlink" href="#v0-14-0-28-nov-2023" title="Permalink to this heading"></a></h2>
<ul class="simple">
Expand Down
4 changes: 2 additions & 2 deletions decomposition.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<meta charset="utf-8" /><meta name="generator" content="Docutils 0.17.1: http://docutils.sourceforge.net/" />

<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Decomposition Types &mdash; DeTrusty 0.14.0 documentation</title>
<title>Decomposition Types &mdash; DeTrusty 0.15.0 documentation</title>
<link rel="stylesheet" href="_static/pygments.css" type="text/css" />
<link rel="stylesheet" href="_static/css/theme.css" type="text/css" />
<link rel="stylesheet" href="_static/css/custom.css" type="text/css" />
Expand Down Expand Up @@ -34,7 +34,7 @@
<img src="_static/logo.png" class="logo" alt="Logo"/>
</a>
<div class="version">
0.14.0
0.15.0
</div>
<div role="search">
<form id="rtd-search-form" class="wy-form" action="search.html" method="get">
Expand Down
4 changes: 2 additions & 2 deletions genindex.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Index-Template &mdash; DeTrusty 0.14.0 documentation</title>
<title>Index-Template &mdash; DeTrusty 0.15.0 documentation</title>
<link rel="stylesheet" href="_static/pygments.css" type="text/css" />
<link rel="stylesheet" href="_static/css/theme.css" type="text/css" />
<link rel="stylesheet" href="_static/css/custom.css" type="text/css" />
Expand Down Expand Up @@ -31,7 +31,7 @@
<img src="_static/logo.png" class="logo" alt="Logo"/>
</a>
<div class="version">
0.14.0
0.15.0
</div>
<div role="search">
<form id="rtd-search-form" class="wy-form" action="search.html" method="get">
Expand Down
4 changes: 2 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<meta charset="utf-8" /><meta name="generator" content="Docutils 0.17.1: http://docutils.sourceforge.net/" />

<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>DeTrusty &mdash; DeTrusty 0.14.0 documentation</title>
<title>DeTrusty &mdash; DeTrusty 0.15.0 documentation</title>
<link rel="stylesheet" href="_static/pygments.css" type="text/css" />
<link rel="stylesheet" href="_static/css/theme.css" type="text/css" />
<link rel="stylesheet" href="_static/css/custom.css" type="text/css" />
Expand Down Expand Up @@ -33,7 +33,7 @@
<img src="_static/logo.png" class="logo" alt="Logo"/>
</a>
<div class="version">
0.14.0
0.15.0
</div>
<div role="search">
<form id="rtd-search-form" class="wy-form" action="search.html" method="get">
Expand Down
13 changes: 7 additions & 6 deletions library.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<meta charset="utf-8" /><meta name="generator" content="Docutils 0.17.1: http://docutils.sourceforge.net/" />

<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>DeTrusty as a Library &mdash; DeTrusty 0.14.0 documentation</title>
<title>DeTrusty as a Library &mdash; DeTrusty 0.15.0 documentation</title>
<link rel="stylesheet" href="_static/pygments.css" type="text/css" />
<link rel="stylesheet" href="_static/css/theme.css" type="text/css" />
<link rel="stylesheet" href="_static/css/custom.css" type="text/css" />
Expand Down Expand Up @@ -34,7 +34,7 @@
<img src="_static/logo.png" class="logo" alt="Logo"/>
</a>
<div class="version">
0.14.0
0.15.0
</div>
<div role="search">
<form id="rtd-search-form" class="wy-form" action="search.html" method="get">
Expand Down Expand Up @@ -158,7 +158,7 @@ <h2>Executing Queries<a class="headerlink" href="#executing-queries" title="Perm
<p>DeTrusty offers the function <code class="docutils literal notranslate"><span class="pre">run_query</span></code> for executing SPARQL queries.</p>
<dl class="py function">
<dt class="sig sig-object py">
<span class="sig-name descname"><span class="pre">run_query</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">query</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">decomposition_type</span></span><span class="o"><span class="pre">=</span></span><span class="default_value"><span class="pre">'STAR'</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">sparql_one_dot_one</span></span><span class="o"><span class="pre">=</span></span><span class="default_value"><span class="pre">False</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">config</span></span><span class="o"><span class="pre">=</span></span><span class="default_value"><span class="pre">None</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">join_stars_locally</span></span><span class="o"><span class="pre">=</span></span><span class="default_value"><span class="pre">True</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">print_result</span></span><span class="o"><span class="pre">=</span></span><span class="default_value"><span class="pre">True</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">yasqe</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></dt>
<span class="sig-name descname"><span class="pre">run_query</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">query</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">decomposition_type</span></span><span class="o"><span class="pre">=</span></span><span class="default_value"><span class="pre">'STAR'</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">sparql_one_dot_one</span></span><span class="o"><span class="pre">=</span></span><span class="default_value"><span class="pre">None</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">config</span></span><span class="o"><span class="pre">=</span></span><span class="default_value"><span class="pre">None</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">join_stars_locally</span></span><span class="o"><span class="pre">=</span></span><span class="default_value"><span class="pre">True</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">print_result</span></span><span class="o"><span class="pre">=</span></span><span class="default_value"><span class="pre">True</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">yasqe</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></dt>
<dd><p>Executes a SPARQL query over a federation of SPARQL endpoints.</p>
<p>The SPARQL query is decomposed based on the specified decomposition type.
DeTrusty identifies the possible sources for each sub-query using the
Expand All @@ -173,9 +173,10 @@ <h2>Executing Queries<a class="headerlink" href="#executing-queries" title="Perm
are ‘STAR’ for a star-shaped decomposition, ‘EG’ for exclusive groups decomposition,
and ‘TRIPLE’ for a triple-wise decomposition, i.e., each triple pattern of the query
produces a sub-query. Default is ‘STAR’.</p></li>
<li><p><strong>sparql_one_dot_one</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#bool" title="(in Python v3.12)"><em>bool</em></a><em>, </em><em>optional</em>) – Indicates whether the query includes the SERVICE clause.
‘True’ meaning the SERVICE clause is present in the query, ‘False’ otherwise.
Default is ‘False’.</p></li>
<li><p><strong>sparql_one_dot_one</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#bool" title="(in Python v3.12)"><em>bool</em></a><em>, </em><em>optional</em>) – <div class="deprecated">
<p><span class="versionmodified deprecated">Deprecated since version 0.15.0: </span>No longer needed. DeTrusty is using one parser now.</p>
</div>
</p></li>
<li><p><strong>config</strong> (<em>DeTrusty.Molecule.MTManager.Config</em><em>, </em><em>optional</em>) – The configuration holding the metadata about the federation over which the
SPARQL query should be executed. If no value is specified, DeTrusty will
attempt to load the configuration from <cite>./Config/rdfmts.json</cite>.</p></li>
Expand Down
2 changes: 1 addition & 1 deletion objects.inv
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Sphinx inventory version 2
# Project: DeTrusty
# Version: 0.14.0
# Version: 0.15.0
# The remainder of this file is compressed using zlib.
xڅRMk� ��+zN����ͥ���콸:5����R�}��[��ޜ�1�FF��*4Ny�N@����c� �KɄG�U�� �$��z�Y�~C��0�湏{�-�ᜭ0�V�++�(�4;�[Y'i���o��8#1�V[��m��&���d��<�R�x� ��r�ZV�s'��(69yb�]!�����`�S���.1�뾍��'z��oVI�`򽗒!�bl�$,I��_��U�t�8CG_0$�����΢i���s.��K�>
4 changes: 2 additions & 2 deletions reference.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<meta charset="utf-8" /><meta name="generator" content="Docutils 0.17.1: http://docutils.sourceforge.net/" />

<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>References &mdash; DeTrusty 0.14.0 documentation</title>
<title>References &mdash; DeTrusty 0.15.0 documentation</title>
<link rel="stylesheet" href="_static/pygments.css" type="text/css" />
<link rel="stylesheet" href="_static/css/theme.css" type="text/css" />
<link rel="stylesheet" href="_static/css/custom.css" type="text/css" />
Expand Down Expand Up @@ -33,7 +33,7 @@
<img src="_static/logo.png" class="logo" alt="Logo"/>
</a>
<div class="version">
0.14.0
0.15.0
</div>
<div role="search">
<form id="rtd-search-form" class="wy-form" action="search.html" method="get">
Expand Down
4 changes: 2 additions & 2 deletions search.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Search &mdash; DeTrusty 0.14.0 documentation</title>
<title>Search &mdash; DeTrusty 0.15.0 documentation</title>
<link rel="stylesheet" href="_static/pygments.css" type="text/css" />
<link rel="stylesheet" href="_static/css/theme.css" type="text/css" />
<link rel="stylesheet" href="_static/css/custom.css" type="text/css" />
Expand Down Expand Up @@ -34,7 +34,7 @@
<img src="_static/logo.png" class="logo" alt="Logo"/>
</a>
<div class="version">
0.14.0
0.15.0
</div>
<div role="search">
<form id="rtd-search-form" class="wy-form" action="#" method="get">
Expand Down
2 changes: 1 addition & 1 deletion searchindex.js

Large diffs are not rendered by default.

11 changes: 2 additions & 9 deletions service.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<meta charset="utf-8" /><meta name="generator" content="Docutils 0.17.1: http://docutils.sourceforge.net/" />

<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>DeTrusty as a Service &mdash; DeTrusty 0.14.0 documentation</title>
<title>DeTrusty as a Service &mdash; DeTrusty 0.15.0 documentation</title>
<link rel="stylesheet" href="_static/pygments.css" type="text/css" />
<link rel="stylesheet" href="_static/css/theme.css" type="text/css" />
<link rel="stylesheet" href="_static/css/custom.css" type="text/css" />
Expand Down Expand Up @@ -34,7 +34,7 @@
<img src="_static/logo.png" class="logo" alt="Logo"/>
</a>
<div class="version">
0.14.0
0.15.0
</div>
<div role="search">
<form id="rtd-search-form" class="wy-form" action="search.html" method="get">
Expand Down Expand Up @@ -266,13 +266,6 @@ <h3>API: Executing Queries<a class="headerlink" href="#api-executing-queries" ti
metadata about the result verification is included in the key <code class="docutils literal notranslate"><span class="pre">__meta__</span></code>.
The current version returns all results as verified as can be seen in the key <code class="docutils literal notranslate"><span class="pre">is_verified</span></code> of the metadata.</p></li>
</ul>
<div class="admonition note">
<p class="admonition-title">Note</p>
<p>When posting a SPARQL 1.1 query with the SERVICE clause, you need to set the <code class="docutils literal notranslate"><span class="pre">sparql1_1</span></code> flag as shown below.</p>
<div class="highlight-bash notranslate"><div class="highlight"><pre><span></span>curl<span class="w"> </span>-X<span class="w"> </span>POST<span class="w"> </span>-d<span class="w"> </span><span class="s2">&quot;sparql1_1=True&quot;</span><span class="w"> </span>-d<span class="w"> </span><span class="s2">&quot;query=SELECT DISTINCT ?covidDrug WHERE { SERVICE &lt;https://labs.tib.eu/sdm/covid19kg/sparql&gt; { ?treatment &lt;http://research.tib.eu/covid-19/vocab/hasCovidDrug&gt; ?covidDrug . }} LIMIT 3&quot;</span><span class="w"> </span>localhost:5000/sparql
</pre></div>
</div>
</div>
</section>
</section>
</section>
Expand Down
4 changes: 2 additions & 2 deletions source_description.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<meta charset="utf-8" /><meta name="generator" content="Docutils 0.17.1: http://docutils.sourceforge.net/" />

<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Source Descriptions &mdash; DeTrusty 0.14.0 documentation</title>
<title>Source Descriptions &mdash; DeTrusty 0.15.0 documentation</title>
<link rel="stylesheet" href="_static/pygments.css" type="text/css" />
<link rel="stylesheet" href="_static/css/theme.css" type="text/css" />
<link rel="stylesheet" href="_static/css/custom.css" type="text/css" />
Expand Down Expand Up @@ -34,7 +34,7 @@
<img src="_static/logo.png" class="logo" alt="Logo"/>
</a>
<div class="version">
0.14.0
0.15.0
</div>
<div role="search">
<form id="rtd-search-form" class="wy-form" action="search.html" method="get">
Expand Down

0 comments on commit 2a0473a

Please sign in to comment.