You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jena.apache.org by gi...@apache.org on 2021/09/27 15:56:58 UTC
[jena-site] branch asf-site updated: Updated site from main
(5ae8d21026fe59955433ae478080c95728370918)
This is an automated email from the ASF dual-hosted git repository.
git-site-role pushed a commit to branch asf-site
in repository https://gitbox.apache.org/repos/asf/jena-site.git
The following commit(s) were added to refs/heads/asf-site by this push:
new ca945f0 Updated site from main (5ae8d21026fe59955433ae478080c95728370918)
ca945f0 is described below
commit ca945f03cdf6485658215669e925d227e6374c2d
Author: jenkins <bu...@apache.org>
AuthorDate: Mon Sep 27 15:56:55 2021 +0000
Updated site from main (5ae8d21026fe59955433ae478080c95728370918)
---
content/documentation/shacl/index.html | 2 +-
content/documentation/sparql-apis/index.html | 20 +++++++++-----------
content/sitemap.xml | 6 +++---
3 files changed, 13 insertions(+), 15 deletions(-)
diff --git a/content/documentation/shacl/index.html b/content/documentation/shacl/index.html
index 31f5e51..92dc755 100644
--- a/content/documentation/shacl/index.html
+++ b/content/documentation/shacl/index.html
@@ -198,7 +198,7 @@ separated by “,” and format <code>all</code> outputs all 3 formats.<
<h2 id="integration-with-apache-jena-fuseki">Integration with Apache Jena Fuseki</h2>
<p>Fuseki has a new service operation <code>fuseki:shacl</code>:</p>
<pre>
-<#serviceInMemoryShacl> rdf:type fuseki:Service ;
+<#serviceWithShacl> rdf:type fuseki:Service ;
rdfs:label "Dataset with SHACL validation" ;
fuseki:name "<i>ds</i>" ;
fuseki:serviceReadWriteGraphStore "" ;
diff --git a/content/documentation/sparql-apis/index.html b/content/documentation/sparql-apis/index.html
index 0860a3a..05437af 100644
--- a/content/documentation/sparql-apis/index.html
+++ b/content/documentation/sparql-apis/index.html
@@ -524,8 +524,7 @@ registration will apply to all URLs starting with a common root.</p>
</span><span style="color:#080;font-style:italic"></span> AuthEnv<span style="color:#666">.</span><span style="color:#b44">get</span><span style="color:#666">().</span><span style="color:#b44">registerUsernamePassword</span><span style="color:#666">(</span><span style="color:#b44">"username"</span><span style="color:#666">,</span> <span style="color:#b44">"password"</span><span style="color:#666">);</span>
</code></pre></div><div class="highlight"><pre style="background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4"><code class="language-java" data-lang="java"> <span style="color:#666">...</span>
<span style="color:#a2f;font-weight:bold">try</span> <span style="color:#666">(</span> QueryExecution qExec <span style="color:#666">=</span> QueryExecutionHTTP<span style="color:#666">.</span><span style="color:#b44">service</span><span style="color:#666">(</span>dataURL<span style="color:#666">)</span>
- <span style="color:#080;font-style:italic">// No httpClient
-</span><span style="color:#080;font-style:italic"></span> <span style="color:#666">.</span><span style="color:#b44">endpoint</span><span style="color:#666">(</span>dataURL<span style="color:#666">)</span>
+ <span style="color:#666">.</span><span style="color:#b44">endpoint</span><span style="color:#666">(</span>dataURL<span style="color:#666">)</span>
<span style="color:#666">.</span><span style="color:#b44">queryString</span><span style="color:#666">(</span><span style="color:#b44">"ASK{}"</span><span style="color:#666">)</span>
<span style="color:#666">.</span><span style="color:#b44">build</span><span style="color:#666">())</span> <span style="color:#666">{</span>
qExec<span style="color:#666">.</span><span style="color:#b44">execAsk</span><span style="color:#666">();</span>
@@ -541,15 +540,14 @@ the registry is consulted and authetication applied.</p>
that user name is used to look in the authentication registry.</p>
<p>If the <code>userinfo</code> is of the form “username:password” then the information as given in the URL is
used.</p>
-<pre><code> AuthEnv.get().registerUsernamePassword(URI.create("http://host/sparql"), "u", "p");
-
- // Registration applies to SERVICE.
- Query query = QueryFactory.create("SELECT * { SERVICE <http://host/sparql> { ?s ?p ?o } }");
- try ( QueryExecution qExec = QueryExecution.create().query(query).dataset(...).build() ) {
- System.out.println("Call using SERVICE...");
- ResultSet rs = qExec.execSelect();
- ResultSetFormatter.out(rs);
- }
+<pre><code> AuthEnv.get().registerUsernamePassword(URI.create("http://host/sparql"), "u", "p");
+ // Registration applies to SERVICE.
+ Query query = QueryFactory.create("SELECT * { SERVICE <http://host/sparql> { ?s ?p ?o } }");
+ try ( QueryExecution qExec = QueryExecution.create().query(query).dataset(...).build() ) {
+ System.out.println("Call using SERVICE...");
+ ResultSet rs = qExec.execSelect();
+ ResultSetFormatter.out(rs);
+ }
</code></pre><h2 id="environment">Environment</h2>
<p><code>AuthEnv</code> - passwordRegistry , authModifiers
<code>RegistryHttpClient</code></p>
diff --git a/content/sitemap.xml b/content/sitemap.xml
index b84c669..b1d158b 100644
--- a/content/sitemap.xml
+++ b/content/sitemap.xml
@@ -99,7 +99,7 @@
<url>
<loc>https://jena.apache.org/documentation/shacl/</loc>
- <lastmod>2021-09-16T12:15:35+01:00</lastmod>
+ <lastmod>2021-09-27T16:55:34+01:00</lastmod>
</url>
<url>
@@ -109,7 +109,7 @@
<url>
<loc>https://jena.apache.org/documentation/sparql-apis/</loc>
- <lastmod>2021-09-27T12:14:07+01:00</lastmod>
+ <lastmod>2021-09-27T16:55:34+01:00</lastmod>
</url>
<url>
@@ -324,7 +324,7 @@
<url>
<loc>https://jena.apache.org/documentation.html</loc>
- <lastmod>2021-09-27T12:14:07+01:00</lastmod>
+ <lastmod>2021-09-27T16:55:34+01:00</lastmod>
</url>
<url>