apache / jena

Apache Jena
https://jena.apache.org/
Apache License 2.0
1.08k stars 643 forks source link

Passing multiple --data arguments to `shacl v` #2009

Open tpluscode opened 9 months ago

tpluscode commented 9 months ago

Version

4.9.0

Feature

When I run shacl v --data data1.ttl --data data2.ttl --shapes shapes.ttl only the last data graph is validated

I expected that all values of --data would be merged and validated together

Are you interested in contributing a solution yourself?

None

afs commented 9 months ago

Merge would be one option - some people might read it as "validate each one separately".

afs commented 1 month ago

--data has multiple possible expectations.

One way to resolve this would be allow --data to be stdin and then use riot to parse/merge files.