Skip to content

Add custom compare for FILTERs in SPARQL queries #5085

Answered by hmottestad
ate47 asked this question in Q&A
Discussion options

You must be logged in to vote

Usually you would override the evaluation strategy and have it provide your own iterator with your own filter logic. You can check the filter node first, so if the filter contains something you don't support yet you can have it fallback to the existing implementation.

Here is where I would start:

protected QueryEvaluationStep prepare(Filter node, QueryEvaluationContext context) throws QueryEvaluationException {

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by ate47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants