Dear all, Thanks for your help on this thread; I've strictly followed the spec by just doing: - 18.2.2.2 Collect FILTER Elements - 18.2.2.5 Translate Basic Graph Patterns
The result of this is here: https://github.com/RubenVerborgh/SPARQL.js/commit/e0901313 and the resulting parser will be announced on this list soon :-) Best, Ruben