[
https://issues.apache.org/jira/browse/JENA-2144?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17396071#comment-17396071
]
Andy Seaborne commented on JENA-2144:
-------------------------------------
Shorter, minimal example please!
> shaclc serializer should output "nodeKind"
> -------------------------------------------
>
> Key: JENA-2144
> URL: https://issues.apache.org/jira/browse/JENA-2144
> Project: Apache Jena
> Issue Type: Bug
> Reporter: Vladimir Alexiev
> Priority: Major
>
> Trying the SHACLC parser and serializer on
> https://github.com/euBusinessGraph/eubg-data/blob/master/model/ebg-shapes.shaclc
> :
> {noformat}
> shacl p --out=c ebg-shapes.shaclc > a.shaclc
> shacl p --out=c a.shaclc
> Encountered " "IRI" "IRI "" at line 38, column 5.
> Was expecting one of:
> "targetNode" ...
> "targetObjectsOf" ...
> "targetSubjectsOf" ...
> "targetClass" ...
> "deactivated" ...
> "severity" ...
> "message" ...
> "class" ...
> "datatype" ...
> "nodeKind" ...
> {noformat}
> The reason is that it outputs eg
> {noformat}
> shape ebgsh:Company -> rov:RegisteredOrganization {
> IRI .
> {noformat}
> but should output:
> {noformat}
> shape ebgsh:Company -> rov:RegisteredOrganization {
> nodeKind=sh:IRI .
> {noformat}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)