[ 
https://issues.apache.org/jira/browse/JENA-2144?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17402277#comment-17402277
 ] 

ASF subversion and git services commented on JENA-2144:
-------------------------------------------------------

Commit c1c5bc96b8b12d9ea0c5874413a91188adb813ea in jena's branch 
refs/heads/main from Andy Seaborne
[ https://gitbox.apache.org/repos/asf?p=jena.git;h=c1c5bc9 ]

JENA-2144: Print nodeKind in long form


> 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)

Reply via email to