Vladimir Alexiev created JENA-2324:
--------------------------------------
Summary: 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
(See attachment)
{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}
--
This message was sent by Atlassian Jira
(v8.20.7#820007)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]