kinow commented on a change in pull request #20: URL: https://github.com/apache/jena-site/pull/20#discussion_r468972233
########## File path: source/documentation/shacl/__index.md ########## @@ -110,11 +119,22 @@ according to the shapes provided. ## SHACL Compact Syntax -Jena can read -[SHACL Compact Syntax](https://w3c.github.io/shacl/shacl-compact-syntax/). -The file extensions are `.shc` and `.shaclc` and there is a registered language +Apache Jena supports +[SHACL Compact Syntax (SHACL-C)](https://w3c.github.io/shacl/shacl-compact-syntax/) +for both reading and writing. + +The file extensions for SHACL-C are `.shc` and `.shaclc` and there is a registered language constant `Lang.SHACLC`. RDFDataMgr.load("shapes.shc"); RDFDataMgr.read("file:compactShapes", Lang.SHACLC); + + RDFDataMgr.write(System.out, shapesGraph, Lang.SHACLC); + +SHACL-C is managed by the SHACL Community Group. It does not cover all possible shapes. +When outputing SHACL-C, SHACL shapes not expressible in SHACL-C will cause an Review comment: outputting? (not sure now :confused: ) ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org