Uploaded image for project: 'Apache Jena'
  1. Apache Jena
  2. JENA-2144

shaclc serializer should output "nodeKind"

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • Jena 4.2.0
    • None
    • None

    Description

      Trying the SHACLC parser and serializer on https://github.com/euBusinessGraph/eubg-data/blob/master/model/ebg-shapes.shaclc :

      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" ...
      

      The reason is that it outputs eg

      shape ebgsh:Company -> rov:RegisteredOrganization {
          IRI .
      

      but should output:

      shape ebgsh:Company -> rov:RegisteredOrganization {
          nodeKind=sh:IRI .
      

      Attachments

        Issue Links

          Activity

            People

              andy Andy Seaborne
              vladimir.alexiev Vladimir Alexiev
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: