You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jena.apache.org by "Andy Seaborne (JIRA)" <ji...@apache.org> on 2014/04/04 11:26:23 UTC

[jira] [Commented] (JENA-669) Wire the XSD duration accessor operations to SPARQL keyworks.

    [ https://issues.apache.org/jira/browse/JENA-669?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13959802#comment-13959802 ] 

Andy Seaborne commented on JENA-669:
------------------------------------

XSD duration code will need to normalize so that HOURS("PT60M") returns 1.

> Wire the XSD duration accessor operations to SPARQL keyworks.
> -------------------------------------------------------------
>
>                 Key: JENA-669
>                 URL: https://issues.apache.org/jira/browse/JENA-669
>             Project: Apache Jena
>          Issue Type: Improvement
>          Components: ARQ
>            Reporter: Andy Seaborne
>            Priority: Minor
>
> ARQ supports xsd:durations and the functions {{fn:(years|months|days|hours|minutes|seconds)-from-duration}} but these are accessed by fn: URI.  The functions  YEARS, HOURS etc etc can be overloaded to provide these functions when called on xsd:durations.



--
This message was sent by Atlassian JIRA
(v6.2#6252)