Regarding the sparql diagrams. Yes, mermaid: https://github.com/sib-swiss/sparql-examples-utils/blob/master/src/main/java/swiss/sib/rdf/sparql/examples/SparqlInRdfToMermaid.java
SPIN RDF is opensource https://github.com/spinrdf/spinrdf
[SIB logo]
Jerven Tjalling Bolleman
Principal Software Engineer
SIB | Swiss Institute of Bioinformatics
1, rue Michel Servet - CH 1211 Geneva 4 - Switzerland
t +41 22 379 58 85
Jerven.Bolleman@sib.swiss - www.sib.swiss
________________________________
From: Vladimir Alexiev <vladimir.alexiev@ontotext.com>
Sent: 24 September 2024 20:14
To: Jerven Tjalling Bolleman <Jerven.Bolleman@sib.swiss>; Holger Knublauch <holger@topquadrant.com>
Cc: Kurt Cagle <kurt.cagle@gmail.com>; David Habgood <dcchabgood@gmail.com>; Public Shacl W3C <public-shacl@w3.org>
Subject: Re: SHACL to SPARQL
Do you have links to both these projects? I miss SPIN for refactoring SPARQL queries.
I don't think SPIN was ever open source: Holger can you say?
SHACL has most of SPIN (https://spinrdf.org/spin-shacl.html) but not SPARQL as RDF.
As for Allotrope:
https://gitlab.com/allotrope-open-source/shape-editor/-/blob/master/src/com.osthus.shapes.shaclc.parent/com.osthus.shapes.shaclc/src/com/osthus/shapes/shaclc/SHACLC.xtext
(listed at https://github.com/VladimirAlexiev/shacl/blob/shaclc-grammars/shacl-compact-syntax/grammar/README.md)
But they don't have SPARQL as RDF: they have SPARQL as grammar in SHACL Compact.
sib-swiss/sparql-examples<https://sib-swiss.github.io/sparql-examples> for SIB resources
Nice! How do you make the diagrams?
I guess with sib-swiss/sparql-examples-utils<https://github.com/sib-swiss/sparql-examples-utils> and Mermaid?