Allow Functions access to the TripleSource

Description

Currently, the evaluate method for a Function gets passed a ValueFactory and a set of values. It would be useful to have the EvaluationStrategy pass the TripleSource to the Function, so that function evaluation can get additional information from the triple store if necessary. One particular use case is that of an autoIncrement function that uses the value of a (supplied) property to give the next integer number. This can be very useful in deployments where unique identifiers need to be created in a way that does not burden the user with writing a very complex query every time.

Environment

None

Status

Assignee

Jeen Broekstra

Reporter

Jeen Broekstra

Labels

None

Components

Fix versions

Priority

Major
Configure