bkosuru opened a new issue, #3503:
URL: https://github.com/apache/jena/issues/3503
### Version
5.5
### What happened?
Hello,
I have some RDF-star triples in the data. The shacl command line throws
Exception where as SHACL validation service returns ValidationReport showing
data is valid.
shacl validate --shapes SHAPES.ttl --data data.nt
09:51:02 ERROR riot :: [line: 144, col: 1 ] Expected BNode or
IRI: Got: [LT2]
validation service:
[ rdf:type sh:ValidationReport;
sh:conforms true
] .
If I remove the RDF star triples from the data, then the service returns
list of violations
Shapes.ttl used-
schema:GeneGeneOntologyAssociationShape
a sh:NodeShape ;
sh:targetClass genomics:Gene-GeneOntology-Association ;
sh:property [
sh:path genomicsb:goa-comprises-of-gd ;
sh:nodeKind sh:IRI ;
sh:minCount 1
] .
I was expecting list of violations as the property is not present in the
data. The node I was testing is not even RDF-star triple.
1) shacl does not support RDF-star? Is there a plan to support in the future?
2) If shacl does not support RDF-star, then the service/cmd should ignore
RDF star triples and process rest of the data. In the worst case the service
should return a message saying that data has RDF-star triples.
### Relevant output and stacktrace
```shell
```
### Are you interested in making a pull request?
None
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]