[
https://issues.apache.org/jira/browse/JENA-2324?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Vladimir Alexiev updated JENA-2324:
-----------------------------------
Description:
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}
was:
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]:
{noformat}
nomo:level xsd:integer minInclusive=1 maxInclusive=6
!lessThanOrEquals=[skos:broader nomo:level]
{noformat}
> 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
> Priority: Major
>
> 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: [email protected]
For additional commands, e-mail: [email protected]