You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jena.apache.org by an...@apache.org on 2015/10/09 15:25:58 UTC
svn commit: r1707721 - in /jena/site/trunk/content/documentation/query:
extension.mdtext index.mdtext library-function.mdtext
Author: andy
Date: Fri Oct 9 13:25:58 2015
New Revision: 1707721
URL: http://svn.apache.org/viewvc?rev=1707721&view=rev
Log:
Mention Leviathan
Modified:
jena/site/trunk/content/documentation/query/extension.mdtext
jena/site/trunk/content/documentation/query/index.mdtext
jena/site/trunk/content/documentation/query/library-function.mdtext
Modified: jena/site/trunk/content/documentation/query/extension.mdtext
URL: http://svn.apache.org/viewvc/jena/site/trunk/content/documentation/query/extension.mdtext?rev=1707721&r1=1707720&r2=1707721&view=diff
==============================================================================
--- jena/site/trunk/content/documentation/query/extension.mdtext (original)
+++ jena/site/trunk/content/documentation/query/extension.mdtext Fri Oct 9 13:25:58 2015
@@ -3,8 +3,8 @@ Title: Extensions in ARQ
There are several ways to extend the ARQ query engine within the
SPARQL syntax.
-- [Filter Functions](#value-functions) - additional operations in
- FILTERS
+- [Expression Functions](#value-functions) - additional operations in
+ `FILTERS`, `BIND` and `SELECT` expressions.
- [Property functions](#property-functions) - adding predicates
that introduce custom query stages
- [DESCRIBE handlers](#describe-handlers)
@@ -61,8 +61,8 @@ ARQ function library is <`http://jena.hp
The afn:now returns the time the query started.
-The filter functions in the ARQ distribution are described on the
-[filter function library page](library-function.html).
+The expression functions in the ARQ distribution are described on the
+[expression function library page](library-function.html).
URIs for functions in the (fake)
[URI scheme `java:`](java-uri.html) are dynamically loaded. The
Modified: jena/site/trunk/content/documentation/query/index.mdtext
URL: http://svn.apache.org/viewvc/jena/site/trunk/content/documentation/query/index.mdtext?rev=1707721&r1=1707720&r2=1707721&view=diff
==============================================================================
--- jena/site/trunk/content/documentation/query/index.mdtext (original)
+++ jena/site/trunk/content/documentation/query/index.mdtext Fri Oct 9 13:25:58 2015
@@ -38,7 +38,7 @@ SPARQL is the query language developed b
## Advanced SPARQL use
-Features of ARQ that were formally ARQ extensions but are now legal SPARQL 1.1:
+Features of ARQ that are now legal SPARQL 1.1:
- [Property paths](property_paths.html)
- [GROUP BY and counting](group-by.html)
@@ -54,11 +54,10 @@ Features of ARQ that are legal SPARQL sy
- [Free text searches](text-query.html)
- [Accessing lists](rdf_lists.html) (RDF collections)
- [Extension mechanisms](extension.html)
- - [Filter Functions](extension.html#valueFunctions)
+ - [Custom Expression Functions](extension.html#valueFunctions)
- [Property Functions](extension.html#propertyFunctions)
-
- Library
- - [Filter function library](library-function.html)
+ - [Expression function library](library-function.html)
- [Property function library](library-propfunc.html)
- [Writing ARQ FILTER functions](writing_functions.html)
Modified: jena/site/trunk/content/documentation/query/library-function.mdtext
URL: http://svn.apache.org/viewvc/jena/site/trunk/content/documentation/query/library-function.mdtext?rev=1707721&r1=1707720&r2=1707721&view=diff
==============================================================================
--- jena/site/trunk/content/documentation/query/library-function.mdtext (original)
+++ jena/site/trunk/content/documentation/query/library-function.mdtext Fri Oct 9 13:25:58 2015
@@ -1,6 +1,6 @@
Title: Functions in ARQ
-SPARQL allows custom functions in filter expressions so that
+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
@@ -15,6 +15,9 @@ page.
Applications can also
[provide their own functions](writing_functions.html).
+ARQ also provides an implementation the
+[Leviathan Function Library](http://www.dotnetrdf.org/leviathan).
+
## Function Library
The prefix `afn` is `<http://jena.hpl.hp.com/ARQ/function#>`.
@@ -104,8 +107,8 @@ Function name | Description
Function name | Description
------------- | -----------
-`afn:min(num1, num2)` | Return the minimum of two expressions evaluating to numbers.
-`afn:max(num1, num2)` | Return the maximum of two expressions evaluating to numbers.
+`afn:min(num1, num2)` | Return the minimum of two expressions evaluating to numbers.
+`afn:max(num1, num2)` | Return the maximum of two expressions evaluating to numbers.
`afn:pi()` | The value of pi, as an XSD double.
`afn:e()` | The value of e, as an XSD double.
`afn:sqrt(num)` | The square root of num.