[
https://issues.apache.org/jira/browse/JENA-507?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14165205#comment-14165205
]
ASF subversion and git services commented on JENA-507:
------------------------------------------------------
Commit 50de126659e9a5ab3220da7ffe33de2bf9190c37 in jena's branch
refs/heads/JENA-507 from [~rvesse]
[ https://git-wip-us.apache.org/repos/asf?p=jena.git;h=50de126 ]
Add various additional Leviathan Functions (JENA-507)
- pythagoras() calculates the length of the hypotenuse of a right
angled triangle given the lengths of the other two sides
- degrees-to-radians() and radians-to-degrees()
- cos() and cos-1() i.e. acos
As part of this commit some improvements were made to Loader to deal
with class name strings that contain illegal characters to the Java
language specification. So for example degrees-to-radians would be an
invalid Java class name so it gets escaped to degressToRadians and the
loader looks for that class instead.
> Add support for Leviathan extension functions to ARQ
> ----------------------------------------------------
>
> Key: JENA-507
> URL: https://issues.apache.org/jira/browse/JENA-507
> Project: Apache Jena
> Issue Type: Improvement
> Components: ARQ
> Reporter: Rob Vesse
> Assignee: Rob Vesse
> Labels: extension, functions, sparql
> Original Estimate: 336h
> Time Spent: 4h
> Remaining Estimate: 332h
>
> The Leviathan Function library is a set of extension functions present in
> dotNetRDF's SPARQL engine. It contains a useful set of numeric functions
> which would be useful to have available in core ARQ and would boost
> portability of queries between ARQ and dotNetRDF (note that dotNetRDF already
> supports ARQs extension functions).
> See
> https://bitbucket.org/dotnetrdf/dotnetrdf/wiki/DeveloperGuide/SPARQL/Leviathan%20Functions
> for definition of functions
> Note that some of these overlap with new XPath 3 functions but for
> portability purposes there is no reason not to support these as well since
> most are relatively trivial to implement. I will file a separate issue for
> supporting XPath 3 functions.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)