zazuko / rdf-validate-shacl

Validate RDF data purely in JavaScript. An implementation of the W3C SHACL specification on top of the RDFJS stack.
MIT License
98 stars 13 forks source link

Add working code example in README #29

Closed martinmaillard closed 4 years ago

martinmaillard commented 4 years ago

Fixes #28

For simplicity, the example doesn't mention the data factory. For this to work, we need to find a solution to the blank node conflict issue (#26). I added the factory to the example... it makes it look much more complex but I don't really see a way around it for now...

codecov-io commented 4 years ago

Codecov Report

Merging #29 into master will not change coverage. The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master      #29   +/-   ##
=======================================
  Coverage   95.74%   95.74%           
=======================================
  Files          14       14           
  Lines         681      681           
=======================================
  Hits          652      652           
  Misses         29       29           

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update e1c4ad2...37f2394. Read the comment docs.