You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jena.apache.org by "Andy Seaborne (Jira)" <ji...@apache.org> on 2021/08/09 14:29:00 UTC
[jira] [Commented] (JENA-2146) shacl documentation should be more
precise
[ https://issues.apache.org/jira/browse/JENA-2146?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17396074#comment-17396074 ]
Andy Seaborne commented on JENA-2146:
-------------------------------------
"shacl p" works on Turtle - indeed any RDF format and also SHACLC.
The parser looks at file extension to determine syntax. SHACLC is just an RDF syntax as far as Jena is concerned.
{{riot --pretty=ttl SHC.shaclc}} works as well.
If you get no output, check in input, noting that non-SHACL related triples are simple ignored.
> SHACL to SHACLC?
"shaclc parse --out=c"
> 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.3.4#803005)