Vladimir Alexiev created JENA-2144:
--------------------------------------
Summary: 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
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)