SPARQL.js icon indicating copy to clipboard operation
SPARQL.js copied to clipboard

Generate SPARQL queries without ";" or ","

Open tfrancart opened this issue 4 years ago • 3 comments
trafficstars

Because Sparnatural does text-based search/replace post-processing on the generated SPARQL string, I would need to pass an option to the SPARQL generator to tell it to always use an :s :p :o . pattern for triples inside bgp, and never use the ; or , separators to separate triples with the same subject, or the same subject and predicate.

tfrancart avatar Nov 10 '21 16:11 tfrancart

We can accept a PR for this, would you be willing to write the code?

RubenVerborgh avatar Nov 10 '21 16:11 RubenVerborgh

It might be interesting to do such operations using SPARQL algebra instead. (as that's what algebra is meant for)

rubensworks avatar Nov 10 '21 16:11 rubensworks

See also #71

tfrancart avatar Nov 10 '21 17:11 tfrancart