You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@jena.apache.org by "Andy Seaborne (Jira)" <ji...@apache.org> on 2022/04/24 08:56:00 UTC

[jira] [Resolved] (JENA-2324) SHACLC confusion nodeParam vs propertyParam (re lessThanOrEquals)

     [ https://issues.apache.org/jira/browse/JENA-2324?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andy Seaborne resolved JENA-2324.
---------------------------------
    Fix Version/s: Jena 4.5.0
       Resolution: Fixed

> SHACLC confusion nodeParam vs propertyParam (re lessThanOrEquals)
> -----------------------------------------------------------------
>
>                 Key: JENA-2324
>                 URL: https://issues.apache.org/jira/browse/JENA-2324
>             Project: Apache Jena
>          Issue Type: Bug
>            Reporter: Vladimir Alexiev
>            Assignee: Andy Seaborne
>            Priority: Major
>             Fix For: Jena 4.5.0
>
>
> See [this gist|https://gist.github.com/VladimirAlexiev/ec6ea0878d7813c1d2cd4d7a0c696564]
> {noformat}
> 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> ...
> {noformat}
> From the list, it seems to me Jena thinks it's in [nodeParam|http://rawgit2.com/VladimirAlexiev/grammar-diagrams/master/shaclc-grammar.xhtml#nodeParam].
> But I think that spot (right after "!") is [propertyParam|http://rawgit2.com/VladimirAlexiev/grammar-diagrams/master/shaclc-grammar.xhtml#propertyParam], which is a wider list:
> {noformat}
>   nomo:level xsd:integer minInclusive=1 maxInclusive=6 !lessThanOrEquals=[skos:broader nomo:level]
> {noformat}



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

---------------------------------------------------------------------
To unsubscribe, e-mail: jira-unsubscribe@jena.apache.org
For additional commands, e-mail: jira-help@jena.apache.org