[
https://issues.apache.org/jira/browse/RYA-323?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16101878#comment-16101878
]
ASF GitHub Bot commented on RYA-323:
------------------------------------
Github user isper3at commented on the issue:
https://github.com/apache/incubator-rya/pull/183
I just did an argument count check where if(args>2) gets ignored if it's
Near() so it's hardly clean. if I took that check out, all the args came back
as Values.
> Enable Multi Var Geo Functions
> ------------------------------
>
> Key: RYA-323
> URL: https://issues.apache.org/jira/browse/RYA-323
> Project: Rya
> Issue Type: Improvement
> Components: sail
> Reporter: Aaron Mihalik
> Assignee: Aaron Mihalik
>
> Currently, all Rya GeoSPARQL functions must have at least one parameter as a
> constant, eg:
> {code}
> ?point geo:asWKT ?wkt .
> FILTER(geof:sfWithin(?wkt, "POLYGON(( ... ))"^^geo:wktLiteral))
> {code}
> however, there is no good reason for this. In fact, we will later want to
> support functions that take in two variables. For instance, a previous set
> of statement patterns will resolve a wkt, then I want to pass that wkt value
> into the function, eg:
> {code}
> <myEntity> <hasLocation> ?point .
> ?point geo:asWKT ?wkt1 .
> ?point geo:asWKT ?wkt2 .
> FILTER(geof:near(?wkt2, ?wkt1))
> {code}
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)