[
https://issues.apache.org/jira/browse/JENA-2146?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17525693#comment-17525693
]
Vladimir Alexiev commented on JENA-2146:
----------------------------------------
> riot --pretty=ttl SHC.shaclc
Thanks! I didn't know that.
> SHACL to SHACLC?
It seems that `shacl` expects only SHACLC:
{noformat}
shacl parse --out=c nom-simple.shacl
Encountered " <LANGTAG> "@prefix "" at line 1, column 1.
Was expecting one of:
<EOF>
"\ufeff" ...
"BASE" ...
"IMPORTS" ...
"PREFIX" ...
shacl --version
Jena: VERSION: 4.4.0
Jena: BUILD_DATE: 2022-01-30T15:09:41Z
{noformat}
> shacl documentation should be more precise
> ------------------------------------------
>
> Key: JENA-2146
> URL: https://issues.apache.org/jira/browse/JENA-2146
> Project: Apache Jena
> Issue Type: Improvement
> Reporter: Vladimir Alexiev
> Priority: Major
>
> https://jena.apache.org/documentation/shacl/#command-line should:
> - state whether "shacl v" can take SHACLC as shape input
> - state that "shacl p" applies only to SHACLC files.
> -- When I run it on .shacl (Turtle) it never outputs anything
> - Can you please also add a way to convert SHACL to SHACLC?
> -- This note hints this is possible:
> "When outputting SHACL-C, SHACL shapes not expressible in SHACL-C will cause
> an exception"
> But how can I invoke it from the command line?
--
This message was sent by Atlassian Jira
(v8.20.7#820007)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]