- From: Vladimir Alexiev via GitHub <noreply@w3.org>
- Date: Tue, 05 Aug 2025 07:48:55 +0000
- To: public-shacl@w3.org
VladimirAlexiev has just created a new issue for https://github.com/w3c/data-shapes: == revise SHACL JSON-LD context == - https://github.com/w3c/data-shapes/issues/468 asks to optimize JSON-LD examples by using an appropriate context Are there plans to revise https://github.com/w3c/data-shapes/blob/gh-pages/shacl-jsonld-context/shacl.context.ld.json ? - Trying to compact that example with the above context (https://tinyurl.com/2s3vyvxz on playground) causes: `jsonld.SyntaxError: Absolute IRI "sh:NodeShape" confused with prefix "sh".` - The context uses `"@vocab"` and then defines terms without the `sh:` prefix. But: - `@vocab` has been criticized as too broad/dangerous by no less than Manu Sporny himself - My experience from using `@vocab` in GS1 EPCIS is that it is an over-optimization, i.e. makes it harder to mix-in other vocabularies - All JSON-LD examples I have seen use the `sh:` prefix - The context should be deployed at a well-known location and served with appropriate MIME type (`application/json`) Please view or discuss this issue at https://github.com/w3c/data-shapes/issues/469 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Tuesday, 5 August 2025 07:48:56 UTC