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

SHACLC confusion nodeParam vs propertyParam (re lessThanOrEquals)

    XMLWordPrintableJSON

Details

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

    Description

      See this gist

      shacl v nom-simple.shaclc
      org.apache.jena.shacl.compact.reader.ShaclcParseException: Encountered " "lessThanOrEquals" "lessThanOrEquals "" at line 15, column 57.
      Was expecting one of:
          "BlankNode" ...
          "IRI" ...
          "Literal" ...
          "BlankNodeOrIRI" ...
          "BlankNodeOrLiteral" ...
          "IRIOrLiteral" ...
          "targetNode" ...
          "targetObjectsOf" ...
          "targetSubjectsOf" ...
          "targetClass" ...
          "deactivated" ...
          "severity" ...
          "message" ...
          "class" ...
          "datatype" ...
          "nodeKind" ...
          "minExclusive" ...
          "minInclusive" ...
          "maxExclusive" ...
          "maxInclusive" ...
          "minLength" ...
          "maxLength" ...
          "pattern" ...
          "flags" ...
          "languageIn" ...
          "equals" ...
          "disjoint" ...
          "closed" ...
          "ignoredProperties" ...
          "hasValue" ...
          "in" ...
          "@" ...
          "{" ...
          <IRIref> ...
          <PNAME_NS> ...
          <PNAME_LN> ...
          <ATPNAME_NS> ...
          <ATPNAME_LN> ...
      

      From the list, it seems to me Jena thinks it's in nodeParam.

      But I think that spot (right after "!") is propertyParam, which is a wider list:

        nomo:level xsd:integer minInclusive=1 maxInclusive=6 !lessThanOrEquals=[skos:broader nomo:level]
      

      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: