Skip to content

#318 Added script to sync Turtle & JSON-LD snippets #386

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

Open
wants to merge 4 commits into
base: gh-pages
Choose a base branch
from

Conversation

bergos
Copy link
Contributor

@bergos bergos commented May 25, 2025

  • Adds a script to verify if the Turtle and JSON-LD code snippets are in sync and generates JSON-LD for missing or out-of-sync code snippets.
  • Adds/updates JSON-LD snippets in Core and SPARQL according to the sync script.
  • Adds OWL namespaces to Core and SPARQL. The namespace is used only in the SPARQL specification, but I wanted to keep the list in sync to simplify the automatic processing.
  • Makes minor changes to some Turtle examples to make them parsable and aligns namespaces in the examples with the defined list.
  • Adds JavaScript and CSS for multi-format snippet support to the SHACL SPARQL spec.
  • Some examples have been processed manually because of bugs or missing features in RDF/JS libraries. There are comments next to the entries in the ignore list.
  • Changes for Core and SPARQL specifications are in different commits to make them easier to review.

Closes #318

@bergos bergos force-pushed the 318-sync-code-snippets branch from 66fbc01 to b8e306b Compare June 19, 2025 12:50
@bergos bergos requested review from HolgerKnublauch, YoucTagh and ashleysommer and removed request for HolgerKnublauch June 19, 2025 16:35
@bergos bergos marked this pull request as ready for review June 19, 2025 16:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add GitHub workflow to keep Turtle and JSON-LD examples sync
3 participants