aborting: TypeError: loaded.data.getTriplesByIRI is not a function
at knownType (shex/bin/validate:132:25)
at Function.parsePassedNode (shex/lib/ShExUtil.js:1555:9)
at _makeShapeMap (shex/bin/validate:148:35)
at findNodesAndValidate (shex/bin/validate:212:10)
at shex/bin/validate:287:17
at process._tickCallback (internal/process/next_tick.js:68:7)
I could not successfully use this option to validate all nodes of type school:Student with:
shex/bin/validate -x enrollee.shex -d alice-bob.ttl -t http://school.example/#Student -s http://school.example/#Enrollee
This ends up in an error:
Whereas validating the single nodes work:
shex/bin/validate -x enrollee.shex -d alice-bob.ttl -n http://example.com/users/Bob -s http://school.example/#Enrollee
enrollee.shex:
alice-bob.ttl: