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 2022/06/16 19:56:11 UTC

[jena-site] branch asf-site updated: Updated site from main (71016fb251d339a894481a7612aaf1e98e0d233a)

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 96dec5f66 Updated site from main (71016fb251d339a894481a7612aaf1e98e0d233a)
96dec5f66 is described below

commit 96dec5f66c3def56f934afa3583f47913940f2ce
Author: jenkins <bu...@apache.org>
AuthorDate: Thu Jun 16 19:56:05 2022 +0000

    Updated site from main (71016fb251d339a894481a7612aaf1e98e0d233a)
---
 content/documentation/index.xml                     |  4 ++--
 .../documentation/query/javascript-functions.html   | 21 +++++++++++++++++++--
 content/index.xml                                   |  4 ++--
 content/sitemap.xml                                 |  4 ++--
 4 files changed, 25 insertions(+), 8 deletions(-)

diff --git a/content/documentation/index.xml b/content/documentation/index.xml
index 80de990ca..d1c8ccb8c 100644
--- a/content/documentation/index.xml
+++ b/content/documentation/index.xml
@@ -368,9 +368,9 @@ ARQ consists of the following parts:
       <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
       
       <guid>https://jena.apache.org/documentation/query/javascript-functions.html</guid>
-      <description>ARQ supports (Jena v3.7.0 onwards) writing custom SPARQL functions in JavaScript. These functions can be used in FILTERs and for calculating values to assign with AS in BIND and SELECT expressions.
+      <description>ARQ supports writing custom SPARQL functions in JavaScript. These functions can be used in FILTERs and for calculating values to assign with AS in BIND and SELECT expressions.
 XSD datatypes for strings, numbers and booleans are converted to the native JavaScript datatypes. RDFterms that do not fit easily into JavaScript datatypes are handled with a object class NV.
-Loading JavaScript functions JavaScript is loaded from an external file using the context setting &amp;ldquo;http://jena.</description>
+Requirements ARQ requires a javascript engine such as GraalVM to be added to the classpath.</description>
     </item>
     
     <item>
diff --git a/content/documentation/query/javascript-functions.html b/content/documentation/query/javascript-functions.html
index 646804458..6ffbac151 100644
--- a/content/documentation/query/javascript-functions.html
+++ b/content/documentation/query/javascript-functions.html
@@ -181,14 +181,31 @@
             </div>
             <h1 class="title">ARQ - JavaScript SPARQL Functions</h1>
             
-	<p>ARQ supports (Jena v3.7.0 onwards) writing
+	<p>ARQ supports writing
 <a href="https://www.w3.org/TR/sparql11-query/#extensionFunctions">custom SPARQL functions</a>
 in JavaScript. These functions can be used in FILTERs and for calculating
 values to assign with AS in BIND and SELECT expressions.</p>
 <p>XSD datatypes for strings, numbers and booleans are converted to the
 native JavaScript datatypes. RDFterms that do not fit easily into
 JavaScript datatypes are handled with a object class <code>NV</code>.</p>
-<h2 id="loading-javascript-functions">Loading JavaScript functions</h2>
+<h2 id="requirements">Requirements</h2>
+<p>ARQ requires a javascript engine such as <a href="https://www.graalvm.org/">GraalVM</a> to
+be added to the classpath.</p>
+<pre><code>    &lt;properties&gt;
+      &lt;ver.graalvm&gt;....&lt;/ver.graalvm&gt;
+      ...
+</code></pre><pre><code>    &lt;dependency&gt;
+      &lt;groupId&gt;org.graalvm.js&lt;/groupId&gt;
+      &lt;artifactId&gt;js&lt;/artifactId&gt;
+      &lt;version&gt;${ver.graalvm}/version&gt;
+    &lt;/dependency&gt;
+
+    &lt;dependency&gt;
+      &lt;groupId&gt;org.graalvm.js&lt;/groupId&gt;
+      &lt;artifactId&gt;js-scriptengine&lt;/artifactId&gt;
+      &lt;version&gt;${ver.graalvm}/version&gt;
+    &lt;/dependency&gt;
+</code></pre><h2 id="loading-javascript-functions">Loading JavaScript functions</h2>
 <p>JavaScript is loaded from an external file using the context setting
 &ldquo;<a href="http://jena.apache.org/ARQ#js-library%22">http://jena.apache.org/ARQ#js-library&quot;</a>. This can be written as
 <code>arq:js-library</code> for commands and Fuseki configuration files.</p>
diff --git a/content/index.xml b/content/index.xml
index e5e5b1c5b..ee4757926 100644
--- a/content/index.xml
+++ b/content/index.xml
@@ -411,9 +411,9 @@ ARQ consists of the following parts:
       <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
       
       <guid>https://jena.apache.org/documentation/query/javascript-functions.html</guid>
-      <description>ARQ supports (Jena v3.7.0 onwards) writing custom SPARQL functions in JavaScript. These functions can be used in FILTERs and for calculating values to assign with AS in BIND and SELECT expressions.
+      <description>ARQ supports writing custom SPARQL functions in JavaScript. These functions can be used in FILTERs and for calculating values to assign with AS in BIND and SELECT expressions.
 XSD datatypes for strings, numbers and booleans are converted to the native JavaScript datatypes. RDFterms that do not fit easily into JavaScript datatypes are handled with a object class NV.
-Loading JavaScript functions JavaScript is loaded from an external file using the context setting &amp;ldquo;http://jena.</description>
+Requirements ARQ requires a javascript engine such as GraalVM to be added to the classpath.</description>
     </item>
     
     <item>
diff --git a/content/sitemap.xml b/content/sitemap.xml
index 0869644bc..8b83b5239 100644
--- a/content/sitemap.xml
+++ b/content/sitemap.xml
@@ -189,7 +189,7 @@
   
   <url>
     <loc>https://jena.apache.org/documentation/query/javascript-functions.html</loc>
-    <lastmod>2020-08-10T23:07:00+12:00</lastmod>
+    <lastmod>2022-06-16T20:53:40+01:00</lastmod>
   </url>
   
   <url>
@@ -329,7 +329,7 @@
   
   <url>
     <loc>https://jena.apache.org/documentation.html</loc>
-    <lastmod>2022-06-15T14:52:32+02:00</lastmod>
+    <lastmod>2022-06-16T20:53:40+01:00</lastmod>
   </url>
   
   <url>