-
Notifications
You must be signed in to change notification settings - Fork 30
Add sh:SPARQLFunction #314
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
I have been thinking about function expressions and their relation to SPARQL. SHACL-AF also has the Function Expression and https://datashapes.org/sparql# exists which defines many IMO, we should have a more generalised set of function expressions (as in the The role of SHACL-SPARQL would then be to defined how each such function is implemented with SPARQL (if supported) |
I guess now that we will introduce a general extension mechanism for user-defined NEs, we no longer really need sh:SPARQLFunction. The remaining work items here would be to:
|
+1
+1 I'll put a comment on #328 about The degree of compatibility with SHACL-AF in the wild is something this group needs to think about. There should be some respect to the ease of transition to SHACL 1.2 - which might be legacy/deprecation while respecting the syntax (application investment). In the case of |
…essions now pre-bind all scope vars
…essions now pre-bind all scope vars (#370) Closes #314 * #314: Made focusNode an explicit param of exprEval, SPARQL-based expressions now pre-bind all scope vars * #314: Fixes * #314: Clarified role of active graph * #314: active graph -> focus graph * Apply suggestions from code review Co-authored-by: Ted Thibodeau Jr <[email protected]> * Updated sh:expression to [ true ] list instead of "or" semantics --------- Co-authored-by: Ted Thibodeau Jr <[email protected]>
SHACL-AF include vocabulary to declare new (SPARQL) functions: https://w3c.github.io/shacl/shacl-af/#functions
The SHACL-SPARQL 1.2 spec should include this feature. In TopBraid we have supported this for many years and it has proven to be very useful for encapsulating reusable query snippets.
The text was updated successfully, but these errors were encountered: