Export property path matching
pietercolpaert opened this issue · 1 comments
pietercolpaert commented
Also for other use cases than validation I want to be able, from an array of quads, extract the rdfjs.Terms that match the property path:
matchPropertyPath<RDFJS.Term> (quads: RDFJS.Quad[], subject: RDFJS.Term, path: PropertyPath);
I assume the function on L61 in https://github.com/zazuko/rdf-validate-shacl/blob/master/src/property-path.js#L61 comes pretty close to what I need. Can this functionality be exported separately in this NPM package?
tpluscode commented
I think you might be interested in clownface-shacl-path