You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jena.apache.org by bu...@apache.org on 2018/12/13 00:29:26 UTC
svn commit: r1037769 - in /websites/staging/jena/trunk/content: ./
documentation/query/library-function.html
Author: buildbot
Date: Thu Dec 13 00:29:26 2018
New Revision: 1037769
Log:
Staging update by buildbot for jena
Modified:
websites/staging/jena/trunk/content/ (props changed)
websites/staging/jena/trunk/content/documentation/query/library-function.html
Propchange: websites/staging/jena/trunk/content/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Thu Dec 13 00:29:26 2018
@@ -1 +1 @@
-1847811
+1848812
Modified: websites/staging/jena/trunk/content/documentation/query/library-function.html
==============================================================================
--- websites/staging/jena/trunk/content/documentation/query/library-function.html (original)
+++ websites/staging/jena/trunk/content/documentation/query/library-function.html Thu Dec 13 00:29:26 2018
@@ -160,7 +160,8 @@
visibility: hidden;
}
h2:hover > .headerlink, h3:hover > .headerlink, h1:hover > .headerlink, h6:hover > .headerlink, h4:hover > .headerlink, h5:hover > .headerlink, dt:hover > .elementid-permalink { visibility: visible }</style>
-<p>SPARQL allows custom functions in expressions so that
+<p>The regular expressions for fan:localname and afn:namespace were incorrect.
+SPARQL allows custom functions in expressions so that
queries can be used on domain-specific data. SPARQL defines a
function by URI (or prefixed name) in FILTER expressions. ARQ
provides a function library and supports application-provided
@@ -219,12 +220,12 @@ for compatibility.</p>
<tr>
<td><code>afn:localname(?x)</code></td>
<td>The local name of ?x</td>
-<td><code>REPLACE(STR(?x), "^(.*)(/&#124;#)([^#/]*)$", "$3")</code></td>
+<td>`REPLACE(STR(?x), "^(.*)(/</td>
</tr>
<tr>
<td><code>afn:namespace(?x)</code></td>
<td>The namespace of ?x</td>
-<td><code>REPLACE(STR(?x), "^(.*)(/&#124;#)([^#/]*)$", "$1")</code></td>
+<td>`REPLACE(STR(?x), "^(.*)(/</td>
</tr>
</tbody>
</table>