jena-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From build...@apache.org
Subject svn commit: r982568 - in /websites/staging/jena/trunk/content: ./ documentation/query/library-function.html documentation/query/xsd-support.html
Date Sat, 12 Mar 2016 13:51:30 GMT
Author: buildbot
Date: Sat Mar 12 13:51:30 2016
New Revision: 982568

Log:
Staging update by buildbot for jena

Added:
    websites/staging/jena/trunk/content/documentation/query/xsd-support.html
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 Sat Mar 12 13:51:30 2016
@@ -1 +1 @@
-1733434
+1734702

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 Sat Mar
12 13:51:30 2016
@@ -169,211 +169,137 @@ page.</p>
 <p>ARQ also provides an implementation the 
 <a href="http://www.dotnetrdf.org/leviathan">Leviathan Function Library</a>.</p>
 <h2 id="function-library">Function Library<a class="headerlink" href="#function-library"
title="Permanent link">&para;</a></h2>
-<p>The prefix <code>afn</code> is <code>&lt;http://jena.hpl.hp.com/ARQ/function#&gt;</code>.</p>
+<p>The prefix <code>afn</code> is <code>&lt;http://jena.apache.org/ARQ/function#&gt;</code>.
+(the old prefix of <code>&lt;http://jena.hpl.hp.com/ARQ/function#&gt;</code>
contineus to
+work. Applications are encouraged to switch.)</p>
 <p>Direct loading using a URI prefix of
 <code>&lt;java:org.apache.jena.sparql.function.library.&gt;</code> (note
the final
 dot) is deprecated.</p>
 <p>The prefix <code>fn</code> is <code>&lt;http://www.w3.org/2005/xpath-functions#&gt;</code>
(the
 XPath and XQuery function namespace).</p>
-<h3 id="xqueryxpath-functions-and-operators-supported">XQuery/XPath functions and operators
supported<a class="headerlink" href="#xqueryxpath-functions-and-operators-supported" title="Permanent
link">&para;</a></h3>
-<p><strong>String Functions</strong></p>
-<table class="table">
-<thead>
-<tr>
-<th>Function name</th>
-<th>Description</th>
-</tr>
-</thead>
-<tbody>
-<tr>
-<td><code>fn:contains(string, substr)</code></td>
-<td>Test whether <em><code>substr</code></em> occurs in <em>string.</em></td>
-</tr>
-<tr>
-<td><code>fn:starts-with(string, match)</code></td>
-<td>Test whether <em><code>string</code></em> starts with <em><code>substr</code>.</em></td>
-</tr>
-<tr>
-<td><code>fn:ends-with(string, match)</code></td>
-<td>Test whether <em><code>string</code></em> ends with <em><code>substr.</code></em></td>
-</tr>
-<tr>
-<td><code>fn:string-length(string)</code></td>
-<td>Return the length of a <em><code>string</code></em>.</td>
-</tr>
-<tr>
-<td><code>fn:lower-case(string)</code></td>
-<td>Return a string which is the lower case equivalent of the argument.</td>
-</tr>
-<tr>
-<td><code>fn:upper-case(string)</code></td>
-<td>Return a string which is the upper case equivalent of the argument.</td>
-</tr>
-<tr>
-<td><code>fn:matches(string, pattern [, flags])</code></td>
-<td>Regular expression match.</td>
-</tr>
-<tr>
-<td><code>fn:concat(string, ...)</code></td>
-<td>Return the concatenation of strings.</td>
-</tr>
-<tr>
-<td><code>fn:substring(string, begin [,length])</code></td>
-<td>Returns the substring of a <em><code>string</code></em>,
given by <em><code>begin</code></em> (integer) and, optionally,
length <em><code>length</code></em>.</td>
-</tr>
-</tbody>
-</table>
-<p>Absence of <em><code>length</code></em> means to end of
string.  Strings are indexed
-from zero.
--   <strong>Strings start from one</strong>, not zero as they do in Java and
C#.
--   The <strong>third argument is the length</strong>, like C# but unlike Java,
where
-    it is the <em>endIndex</em>.</p>
-<p>Notes:</p>
-<ol>
-<li>Strings in
-    "<a href="http://www.w3.org/TR/xpath-functions/">XQuery 1.0 and XPath 2.0 Functions
and Operators</a>"
-    start from character position one, unlike Java and C# where
-    strings start from zero.</li>
-<li>The <code>fn:substring</code> operation takes an optional length, like
C#
-    but different from Java, where it is the <em>endIndex</em> of the first
-    character after the substring.</li>
-</ol>
-<p>The operation <code>afn:substring</code> provides Java semantics.</p>
-<p><strong>Mathematical Functions</strong></p>
-<table class="table">
-<thead>
-<tr>
-<th>Function name</th>
-<th>Description</th>
-</tr>
-</thead>
-<tbody>
-<tr>
-<td><code>afn:min(num1, num2)</code></td>
-<td>Return the minimum of two expressions evaluating to numbers.</td>
-</tr>
-<tr>
-<td><code>afn:max(num1, num2)</code></td>
-<td>Return the maximum of two expressions evaluating to numbers.</td>
-</tr>
-<tr>
-<td><code>fn:round(v)</code></td>
-<td>Return the nearest integer value to the argument.</td>
-</tr>
-<tr>
-<td><code>fn:abs(v)</code></td>
-<td>Return the absolute value.</td>
-</tr>
-<tr>
-<td><code>fn:floor(v)</code></td>
-<td>Return the greatest integer value less than the argument (as a double).</td>
-</tr>
-<tr>
-<td><code>fn:ceiling(v)</code></td>
-<td>Return the smallest integer value than the argument (as a double).</td>
-</tr>
-</tbody>
-</table>
-<p>Note: See also <code>afn:min</code> and <code>afn:max</code>
for binary min and max
-functions.</p>
-<p><strong>Boolean Functions</strong></p>
-<table class="table">
-<thead>
-<tr>
-<th>Function name</th>
-<th>Description</th>
-</tr>
-</thead>
-<tbody>
-<tr>
-<td><code>fn:boolean(value)</code></td>
-<td>Boolean effective value of <em><code>value</code></em>.</td>
-</tr>
-<tr>
-<td><code>fn:not(value)</code></td>
-<td>Logical negation of the boolean effective value of <em><code>value</code></em>.</td>
-</tr>
-</tbody>
-</table>
-<h4 id="functions-provided-by-arq">Functions provided by ARQ<a class="headerlink"
href="#functions-provided-by-arq" title="Permanent link">&para;</a></h4>
+<p>The prefix <code>math</code> is <code>&lt;http://www.w3.org/2005/xpath-functions/math#&gt;</code>.</p>
+<h3 id="custom-aggregates">Custom Aggregates<a class="headerlink" href="#custom-aggregates"
title="Permanent link">&para;</a></h3>
+<p>The prefix <code>agg:</code> is <code>&lt;http://jena.apache.org/ARQ/function/aggregate#&gt;</code>.</p>
+<p>The statistical aggregates are provided are:</p>
+<p><code>agg:stdev</code>, <code>agg:stdevp</code>, <code>agg:var</code>,
<code>agg:stvarp</code></p>
+<p>These are modelled after SQL aggregate functions <code>STDDEV</code>,
<code>STDDEVP</code>,
+<code>VAR</code>, <code>VARP</code>.</p>
+<h3 id="xqueryxpath-functions-and-operators-supported">XQuery/XPath Functions and Operators
supported<a class="headerlink" href="#xqueryxpath-functions-and-operators-supported" title="Permanent
link">&para;</a></h3>
+<p>ARQ supports the scalar functions and operators from 
+"<a href="https://www.w3.org/TR/xpath-functions-3/">XQuery 1.0 and XPath 2.0 Functions
and Operators v3.1</a>". </p>
+<p>Functions in involving sequences are not supported.</p>
+<p>See <a href="xsd-support.html">XSD Support</a> for details of datatypes
and functions
+currenty supported.  To check the exact current registrations, see
+<tt><a href="https://github.com/apache/jena/blob/master/jena-arq/src/main/java/org/apache/jena/sparql/function/StandardFunctions.java">function/StandardFunctions.java</a></tt>.</p>
+<h4 id="addtional-functions-provided-by-arq">Addtional Functions Provided by ARQ<a
class="headerlink" href="#addtional-functions-provided-by-arq" title="Permanent link">&para;</a></h4>
+<p>Most of these have equivalents, or near equivalents, in SPARQL or as an
+XQuery function and are to be preferred. These ARQ-specific versions remain
+for compatibility.</p>
 <p><strong>RDF Graph Functions</strong></p>
 <table class="table">
 <thead>
 <tr>
 <th>Function name</th>
 <th>Description</th>
+<th>Alternative</th>
 </tr>
 </thead>
 <tbody>
 <tr>
 <td><code>afn:bnode(?x)</code></td>
 <td>Return the blank node label if ?x is a blank node.</td>
+<td><code>STR(?x)</code></td>
 </tr>
 <tr>
 <td><code>afn:localname(?x)</code></td>
-<td>The local name of ?x if a IRI. Based on splitting the IRI, not on any prefixes
in the query or dataset.</td>
+<td>The local name of ?x</td>
+<td>`REPLACE(STR(?x), "^(.*)(/</td>
 </tr>
 <tr>
 <td><code>afn:namespace(?x)</code></td>
-<td>The namespace of ?x if a IRI. Based on splitting the IRI, not on any prefixes in
the query or dataset.</td>
+<td>The namespace of ?x</td>
+<td>`REPLACE(STR(?x), "^(.*)(/</td>
 </tr>
 </tbody>
 </table>
+<p>The prefix and local name of a IRI is based on splitting the IRI, not on any prefixes
in the query or dataset.</p>
 <p><strong>String Functions</strong></p>
 <table class="table">
 <thead>
 <tr>
 <th>Function name</th>
 <th>Description</th>
+<th>Alternative</th>
 </tr>
 </thead>
 <tbody>
 <tr>
 <td><code>afn:substr(string, startIndex [,endIndex])</code></td>
 <td>Substring, Java style using <em><code>startIndex</code></em>
and <em><code>endIndex</code></em>.</td>
+<td></td>
 </tr>
 <tr>
 <td><code>afn:substring</code></td>
 <td>Synonym for afn:substr</td>
+<td></td>
 </tr>
 <tr>
 <td><code>afn:strjoin(sep, string ...)</code></td>
 <td>Concatenate string together, with a separator.</td>
+<td></td>
 </tr>
 <tr>
 <td><code>afn:sha1sum(resource)</code></td>
-<td>Calculate the SHA1 checksum of a literal or URI.</td>
+<td>Calculate the SHA1 checksum of a literal or URI</td>
+<td><code>SHA1(STR(resource))</code></td>
 </tr>
 </tbody>
 </table>
+<p>Notes:</p>
+<ol>
+<li>Strings in
+    "<a href="http://www.w3.org/TR/xpath-functions-3/">XQuery 1.0 and XPath 2.0 Functions
and Operators</a>"
+    start from character position one, unlike Java and C# where
+    strings start from zero.</li>
+<li>The <code>fn:substring</code> operation takes an optional length, like
C#
+    but different from Java, where it is the <em>endIndex</em> of the first
+    character after the substring.</li>
+<li><code>afn:substr</code> uses Java-style  <em><code>startIndex</code></em>
and <em><code>endIndex</code></em>.</li>
+</ol>
 <p><strong>Mathematical Functions</strong></p>
 <table class="table">
 <thead>
 <tr>
 <th>Function name</th>
 <th>Description</th>
+<th>Alternative</th>
 </tr>
 </thead>
 <tbody>
 <tr>
 <td><code>afn:min(num1, num2)</code></td>
-<td>Return the minimum of two expressions evaluating to numbers.</td>
+<td>Return the minimum of two numbers</td>
+<td><code>fn:min</code></td>
 </tr>
 <tr>
 <td><code>afn:max(num1, num2)</code></td>
-<td>Return the maximum of two expressions evaluating to numbers.</td>
+<td>Return the maximum of two numbers</td>
+<td><code>fn:max</code></td>
 </tr>
 <tr>
 <td><code>afn:pi()</code></td>
-<td>The value of pi, as an XSD double.</td>
+<td>The value of pi, as an XSD double</td>
+<td><code>math:pi()</code></td>
 </tr>
 <tr>
 <td><code>afn:e()</code></td>
-<td>The value of e, as an XSD double.</td>
+<td>The value of e, as an XSD double</td>
+<td><code>math:exp(1)</code></td>
 </tr>
 <tr>
 <td><code>afn:sqrt(num)</code></td>
-<td>The square root of num.</td>
+<td>The square root of num</td>
+<td><code>math:sqrt</code></td>
 </tr>
 </tbody>
 </table>
@@ -383,16 +309,19 @@ functions.</p>
 <tr>
 <th>Function name</th>
 <th>Description</th>
+<th>Alternative</th>
 </tr>
 </thead>
 <tbody>
 <tr>
 <td><code>afn:now()</code></td>
-<td>Current time.  Actually, the time the query started. Constant throughout a query
execution.</td>
+<td>Current time. Actually, the time the query started.</td>
+<td><code>NOW()</code></td>
 </tr>
 <tr>
 <td><code>afn:sha1sum(resource)</code></td>
-<td>Calculate the SHA1 checksum of a literal or URI.</td>
+<td>Calculate the SHA1 checksum</td>
+<td><code>SHASUM</code></td>
 </tr>
 </tbody>
 </table>

Added: websites/staging/jena/trunk/content/documentation/query/xsd-support.html
==============================================================================
--- websites/staging/jena/trunk/content/documentation/query/xsd-support.html (added)
+++ websites/staging/jena/trunk/content/documentation/query/xsd-support.html Sat Mar 12 13:51:30
2016
@@ -0,0 +1,226 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<html>
+<head>
+<!--
+
+    Licensed to the Apache Software Foundation (ASF) under one or more
+    contributor license agreements.  See the NOTICE file distributed with
+    this work for additional information regarding copyright ownership.
+    The ASF licenses this file to You under the Apache License, Version 2.0
+    (the "License"); you may not use this file except in compliance with
+    the License.  You may obtain a copy of the License at
+
+       http://www.apache.org/licenses/LICENSE- 2.0
+
+    Unless required by applicable law or agreed to in writing, software
+    distributed under the License is distributed on an "AS IS" BASIS,
+    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+    See the License for the specific language governing permissions and
+    limitations under the License.
+-->
+
+  <title>Apache Jena - Support for XSD Datatype and XQuery/Xpath Functions and Operations.</title>
+  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+  <meta name="viewport" content="width=device-width, initial-scale=1.0">
+
+  <link href="/css/bootstrap.min.css" rel="stylesheet" media="screen">
+  <link href="/css/bootstrap-extension.css" rel="stylesheet" type="text/css">
+  <link href="/css/jena.css" rel="stylesheet" type="text/css">
+  <link rel="shortcut icon" href="/images/favicon.ico" />
+  
+  <script src="https://code.jquery.com/jquery-2.0.3.min.js"></script>
+  <script src="/js/jena-navigation.js" type="text/javascript"></script>
+  <script src="/js/bootstrap.min.js" type="text/javascript"></script>
+  <script src="/js/breadcrumbs.js" type="text/javascript"></script>
+
+  <script src="/js/improve.js" type="text/javascript"></script>
+
+  
+  <!-- Uncomment to enable code coloring <link href="/css/codehilite.css" rel="stylesheet"
type="text/css"> -->
+
+</head>
+
+<body>
+
+
+
+<nav class="navbar navbar-default" role="navigation">
+<div class="container">
+  <div class="navbar-header">
+  
+    <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-ex1-collapse">
+      <span class="icon-bar"></span>
+      <span class="icon-bar"></span>
+      <span class="icon-bar"></span>
+    </button>
+    <a class="navbar-brand" href="/index.html">
+    <img class="logo-menu" src="/images/jena-logo/jena-logo-notext-small.png" alt="jena
logo">Apache Jena</a>
+  </div>
+ 
+  <div class="collapse navbar-collapse navbar-ex1-collapse">
+    <ul class="nav navbar-nav">
+              <li id="homepage"><a href="/index.html"><span class="glyphicon
glyphicon-home"></span> Home</a></li>
+              <li id="download"><a href="/download/index.cgi"><span class="glyphicon
glyphicon-download-alt"></span> Download</a></li>
+              <li class="dropdown">
+                <a href="#" class="dropdown-toggle" data-toggle="dropdown"><span
class="glyphicon glyphicon-book"></span> Learn <b class="caret"></b></a>
+                <ul class="dropdown-menu">
+                  <li class="dropdown-header">Tutorials</li>
+                  <li><a href="/tutorials/index.html">Overview</a></li>
+                  <li><a href="/tutorials/rdf_api.html">RDF core API tutorial</a></li>
+                  <li><a href="/tutorials/sparql.html">SPARQL tutorial</a></li>
+                  <li><a href="/documentation/query/manipulating_sparql_using_arq.html">Manipulating
SPARQL using ARQ</a></li>
+                  <li><a href="/tutorials/using_jena_with_eclipse.html">Using
Jena with Eclipse</a></li>
+                  <li><a href="/documentation/notes/index.html">How-To's</a></li>
+                  <li class="divider"></li>
+                  <li class="dropdown-header">References</li>
+                  <li><a href="/documentation/index.html">Overview</a></li>
+                  <li><a href="/documentation/javadoc/">Javadoc</a></li>
+                  <li><a href="/documentation/rdf/index.html">RDF API</a></li>
+                  <li><a href="/documentation/io/">RDF I/O</a></li>
+                  <li><a href="/documentation/query/index.html">ARQ (SPARQL)</a></li>
+                  <li><a href="/documentation/hadoop/index.html">Elephas - tools
for RDF on Hadoop</a></li>
+                  <li><a href="/documentation/query/text-query.html">Text Search</a></li>
+                  <li><a href="/documentation/tdb/index.html">TDB</a></li>
+                  <li><a href="/documentation/sdb/index.html">SDB</a></li>
+                  <li><a href="/documentation/jdbc/index.html">SPARQL over JDBC</a></li>
+                  <li><a href="/documentation/fuseki2/index.html">Fuseki</a></li>
+                  <li><a href="/documentation/permissions/index.html">Permissions</a></li>
+                  <li><a href="/documentation/assembler/index.html">Assembler</a></li>
+                  <li><a href="/documentation/ontology/">Ontology API</a></li>
+                  <li><a href="/documentation/inference/index.html">Inference
API</a></li>
+                  <li><a href="/documentation/tools/index.html">Command-line
tools</a></li>
+                  <li><a href="/documentation/extras/index.html">Extras</a></li>
+                </ul>
+              </li>
+
+              <li class="drop down">
+                <a href="#" class="dropdown-toggle" data-toggle="dropdown"><span
class="glyphicon glyphicon-book"></span> Javadoc <b class="caret"></b></a>
+                <ul class="dropdown-menu">
+                  <li><a href="/documentation/javadoc/jena/">Jena Core</a></li>
+                  <li><a href="/documentation/javadoc/arq/">ARQ</a></li>
+                  <li><a href="/documentation/javadoc/tdb/">TDB</a></li>
+                  <li><a href="/documentation/javadoc/elephas/">Elephas</a></li>
+                  <li><a href="/documentation/javadoc/text/">Text Search</a></li>
+                  <li><a href="/documentation/javadoc/spatial/">Spatial Search</a></li>
+                  <li><a href="/documentation/javadoc/permissions/">Permissions</a></li>
+                  <li><a href="/documentation/javadoc/jdbc/">JDBC</a></li>
+                  <li><a href="/documentation/javadoc/">All Javadoc</a></li>
+                </ul>
+              </li>
+
+              <li id="ask"><a href="/help_and_support/index.html"><span class="glyphicon
glyphicon-question-sign"></span> Ask</a></li>
+              
+              <li class="dropdown">
+                <a href="#" class="dropdown-toggle" data-toggle="dropdown"><span
class="glyphicon glyphicon-bullhorn"></span> Get involved <b class="caret"></b></a>
+                <ul class="dropdown-menu">
+                  <li><a href="/getting_involved/index.html">Contribute</a></li>
+                  <li><a href="/help_and_support/bugs_and_suggestions.html">Report
a bug</a></li>
+                  <li class="divider"></li>
+                  <li class="dropdown-header">Project</li>
+                  <li><a href="/about_jena/about.html">About Jena</a></li>
+                  <li><a href="/about_jena/roadmap.html">Roadmap</a></li>
+                  <li><a href="/about_jena/architecture.html">Architecture</a></li>
+                  <li><a href="/about_jena/team.html">Project team</a></li>
+                  <li><a href="/about_jena/contributions.html">Related projects</a></li>
+                  <li class="divider"></li>
+                  <li class="dropdown-header">ASF</li>
+                  <li><a href="http://www.apache.org/">Apache Software Foundation</a></li>
+                  <li><a href="http://www.apache.org/licenses/LICENSE-2.0">License</a></li>
+                  <li><a href="http://www.apache.org/foundation/thanks.html">Thanks</a></li>
+                  <li><a href="http://www.apache.org/foundation/sponsorship.html">Become
a Sponsor</a></li>
+                  <li><a href="http://www.apache.org/security/">Security</a></li>
+                </ul>
+              </li>
+
+              <li id="edit"><a href="javascript:improveThisPage(location.href);"
title="Improve this Page (Use username anonymous and empty password)"><span class="glyphicon
glyphicon-pencil"></span> Improve this Page</a></li>   
+    </ul>
+  </div>
+</div>
+</nav>
+
+
+<div class="container">
+    <div class="row">
+    <div class="col-md-12">
+    <div id="breadcrumbs"></div>
+    <h1 class="title">Support for XSD Datatype and XQuery/Xpath Functions and Operations.</h1>
+  <style type="text/css">
+/* The following code is added by mdx_elementid.py
+   It was originally lifted from http://subversion.apache.org/style/site.css */
+/*
+ * Hide class="elementid-permalink", except when an enclosing heading
+ * has the :hover property.
+ */
+.headerlink, .elementid-permalink {
+  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>ARQ supports the functions and operators from "<a href="https://www.w3.org/TR/xpath-functions-3/">XQuery
1.0 and XPath 2.0 Functions and Operators v3.1</a>".</p>
+<p>ARQ supports all the XSD atomic datatypes.</p>
+<p>The prefix <code>fn</code> is <code>&lt;http://www.w3.org/2005/xpath-functions#&gt;</code>
(the
+XPath and XQuery function namespace).</p>
+<p>The prefix <code>math</code> is <code>&lt;http://www.w3.org/2005/xpath-functions/math#&gt;</code></p>
+<p>To check the exact registrations for a specific version, see
+<tt><a href="https://github.com/apache/jena/blob/master/jena-arq/src/main/java/org/apache/jena/sparql/function/StandardFunctions.java">function/StandardFunctions.java</a></tt>
+in the source code for that version.</p>
+<p>The supported datatypes (including those required by SPARQL 1.1), including
+full operator support, are the XSD atomic datatypes excpt for XML-related
+ones.  Sequnces are not supported.</p>
+<p><code>xsd:string</code>, <code>xsd:boolean</code>, 
+<code>xsd:decimal</code>, <code>xsd:integer</code>, <code>xsd:double</code>,
<code>xsd:float</code>, <code>xsd:double</code></p>
+<p><code>xsd:long</code>, <code>xsd:int</code>, <code>xsd:short</code>,
<code>xsd:byte</code>,
+<code>xsd:nonPositiveInteger</code>, <code>xsd:negativeInteger</code>,
+<code>xsd:nonNegativeInteger</code>, <code>xsd:positiveInteger</code>,

+<code>xsd:unsignedLong</code>, <code>xsd:unsignedInt</code>, <code>xsd:unsignedShort</code></p>
+<p><code>xsd:duration</code>, <code>xsd:dayTimeDuration</code>,
<code>xsd:yearMonthDuration</code></p>
+<p><code>xsd:anyURI</code></p>
+<p><code>xsd:dateTime</code>, <code>xsd:dateTimeStamp</code>,
<code>xsd:date</code>, <code>xsd:time</code>
+<code>xsd:gYear</code>, <code>xsd:gYearMonth</code>, <code>xsd:gMonth</code>,
<code>xsd:gMonthDay</code>, <code>xsd:gDay</code></p>
+<p>Functions on atomic types not currently supported are list below (but check
+for later additions).</p>
+<p>Supported functions:</p>
+<p><code>fn:concat</code>, <code>fn:substring</code>, <code>fn:string-length</code>,

+<code>fn:upper-case</code>, <code>fn:lower-case</code>, <code>fn:contains</code>,
<code>fn:starts-with</code>, <code>fn:ends-with</code>,
+<code>fn:substring-before</code>, <code>fn:substring-after</code>,
<code>fn:matches</code>,
+<code>fn:abs</code>, <code>fn:ceiling</code>, <code>fn:floor</code>,
<code>fn:round</code>,
+<code>fn:encode-for-uri</code>,</p>
+<p><code>fn:year-from-dateTime</code>, <code>fn:month-from-dateTime</code>,
<code>fn:day-from-dateTime</code>,
+<code>fn:hours-from-dateTime</code>, <code>fn:minutes-from-dateTime</code>,
<code>fn:seconds-from-dateTime</code>,
+<code>fn:timezone-from-dateTime</code>,
+<code>fn:years-from-duration</code>, <code>fn:months-from-duration</code>,
+<code>fn:days-from-duration</code>, <code>fn:hours-from-duration</code>,
+<code>fn:minutes-from-duration</code>, <code>fn:seconds-from-duration</code>,</p>
+<p><code>fn:boolean</code>, <code>fn:not</code></p>
+<p><code>math:pi</code>,  <code>math:exp</code>, <code>math:exp10</code>,
<code>math:log</code>, <code>math:log10</code>, <code>math:pow</code>,
<code>math:sqrt</code>,
+<code>math:sin</code>, <code>math:cos</code>, <code>math:tan</code>,
<code>math:asin</code>, <code>math:acos</code>, <code>math:atan</code>,
<code>math:atan2</code></p>
+<h4 id="fo-functions-not-currently-supported">F&amp;O Functions not currently supported:<a
class="headerlink" href="#fo-functions-not-currently-supported" title="Permanent link">&para;</a></h4>
+<p><code>fn:normalize-space</code>, <code>fn:normalize-unicode</code>,
+<code>fn:replace</code>,
+<code>fn:format-number</code>,
+<code>fn:round-half-to-even</code>,
+<code>fn:adjust-dateTime-to-timezone</code>,
+<code>fn:adjust-date-to-timezone</code>,
+<code>fn:adjust-time-to-timezone</code>,
+<code>fn:format-dateTime</code>,
+<code>fn:format-date</code>,
+<code>fn:format-time</code>.</p>
+  </div>
+</div>
+
+</div><!--/.container -->
+
+    <footer class="footer">
+      <div class="container">
+        <p>Copyright &copy; 2011&ndash;2016 The Apache Software Foundation,
Licensed under
+        the <a href="http://www.apache.org/licenses/LICENSE-2.0">Apache License, Version
2.0</a>.
+        </p>
+        <p>
+        Apache Jena, Jena, the Apache Jena project logo,
+        Apache and the Apache feather logos are trademarks of The Apache Software Foundation.
+        </p>
+      </div>
+  </footer>
+      
+
+</body>
+</html>



Mime
View raw message