On Thu, Oct 16, 2014 at 10:39 PM, Ian Emmons <[email protected]> wrote:
> the example he gave is an aggregate that would compute the maximum score of a
> grouping of hotels based on multiple properties of the hotels.
Things like that are already possible, though. You can do, e.g.,
select ?hotel (max( (?price+?size)/?distance ) as ?ranking ) where {
?hotel :price ?price ; :size ?size ; :distance ?distance .
}
group by ?hotel
You can do a lot just with SPARQL 1.1., and if you add some custom
(non-aggregate) functions in there, you can do even more. Without
specifics, it's hard to say, but I wouldn't be entirely surprised if
the actual use case is already possible.
//JT
--
Joshua Taylor, http://www.cs.rpi.edu/~tayloj/