[
https://issues.apache.org/jira/browse/RYA-392?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Caleb Meier updated RYA-392:
----------------------------
Description: Currently Rya does not provide a Function that determines
whether two temporal literals are within a given period of time of one another.
This is extremely useful for filtering on query results that occurred within a
fixed period of time of a given instant. Currently, if one attempts to form
the following filter Filter(?time1 - ?time2 < "24"^^xsd:hour), an exception
will be thrown if ?time1 and ?time2 are date time literals. I propose
implementing a Function that takes in two temporal literals, an integer and a
time unit and determines whether the date times are within the prescribed
period of one another. (was: Currently Rya does not provide a Function that
determines whether two temporal literals are within a given period of time one
one another. This is extremely useful for filtering on query results that
occurred within a fixed period of time of a given instant. Currently, if one
attempts to form the following filter Filter(?time1 - ?time2 < "24"^^xsd:hour),
an exception will be thrown if ?time1 and ?time2 are date time literals. I
propose implementing a Function that takes in two temporal literals an integer
and a time unit and determines whether the date times are within the prescribed
period of one another.)
> Temporal Difference Function
> ----------------------------
>
> Key: RYA-392
> URL: https://issues.apache.org/jira/browse/RYA-392
> Project: Rya
> Issue Type: New Feature
> Affects Versions: 3.2.11
> Reporter: Caleb Meier
> Assignee: Caleb Meier
>
> Currently Rya does not provide a Function that determines whether two
> temporal literals are within a given period of time of one another. This is
> extremely useful for filtering on query results that occurred within a fixed
> period of time of a given instant. Currently, if one attempts to form the
> following filter Filter(?time1 - ?time2 < "24"^^xsd:hour), an exception will
> be thrown if ?time1 and ?time2 are date time literals. I propose
> implementing a Function that takes in two temporal literals, an integer and a
> time unit and determines whether the date times are within the prescribed
> period of one another.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)