Closed jeswr closed 2 years ago
I like the idea, but do we have other usage besides LDflex?
I.e., it seems that LDflex could just slap a SELECT *
around it?
it seems that LDflex could just slap a SELECT * around it?
Correct that's the current behavior
other usage
Not that I have top of mind, but I wouldn't be surprised if I need the same behavior in other libs down the line. Happy to park it until that occurs.
Happy to park it until that occurs.
We can do it; let's just check the final bundle size. Jison can be weird like that.
final bundle size
The generated SparqlParser.js
increases by ~0.5% (112K before and after if you round).
Perfect, that's okay with me.
Are you happy with coverage etc.?
Maybe just rename paths/al
folder into queries/paths
, and similar for test
.
Maybe just rename paths/al folder into queries/paths, and similar for test.
Done
Are you happy with coverage etc.?
I am now after adding those tests for erroring :)
/bump @RubenVerborgh - this should be ready to merge
This PR adds the feature to parse only SPARQL paths rather than the full SPARQL algebra.
This is of use in several downstream applications including here in LDflex