Github user rvesse commented on the issue:
https://github.com/apache/jena/pull/205
We should already have support for most of the trigonometric functions
built into ARQ as extension functions -
https://github.com/apache/jena/tree/59e5e06c85c98c9c65a9c1addbc4252626e9d061/jena-arq/src/main/java/org/apache/jena/sparql/function/library/leviathan
For example:
```
sparql --data ~/Documents/Work/Datasets/minimal.nt "SELECT
(<http://www.dotnetrdf.org/leviathan#sin>(90) AS ?x) { }"
------------------------
| x |
========================
| 0.8939966636005579e0 |
------------------------
```
Notes:
- Inverse functions are named as `sin-1` etc.
- function arguments are expected to be radians
- convenience functions `degreesToRadians` and `radiansToDegrees` are
provided
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---