JervenBolleman has just created a new issue for https://github.com/w3c/data-shapes: == Use case: SHACL SPARQLFunctions extended to make composable SPARQL queries == At [SIB Swiss Institute of Bioinformatics we mark up our SPARQL queries and (ab)use SHACL properties](https://github.com/sib-swiss/sparql-examples), explained more in our [preprint](https://arxiv.org/abs/2410.06010) and the [updated paper, to be accessible soon](https://doi.org/10.1093/gigascience/giaf045). We wish to [extend this work](https://github.com/sib-swiss/sparql-examples/issues/32) to query templates, and to query composition. This wish matches in some way at least 2 SPARQL-DEV issues: 1. [Sharing queries and custom functions](https://github.com/w3c/sparql-dev/issues/131) 2. [Query Parameterization](https://github.com/w3c/sparql-dev/issues/57) Our idea had been to re-use `sh:SPARQLFunction` even if used outside of the concept of validation. `sh:SPARQLFunction` supports marking up inputs, in the way that we require. However, `sh:SPARQLFunction` is limited to one type of output/results with one binding, and to `ASK` and `SELECT` queries only. We are hoping for some feedback from the working group on what directions are possible here, as we think that the `SPARQLFunction` concept can be made more generic so that they fit our and other usecases outside of the pure constraint space. Please view or discuss this issue at https://github.com/w3c/data-shapes/issues/342 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
↧
[data-shapes] Use case: SHACL SPARQLFunctions extended to make composable SPARQL queries (#342)
↧