Closed Jamie-SA closed 12 months ago
I think the README examples using store.add() might be incorrect when compared with the documentation at https://rdf.js.org/N3.js/docs/N3Store.html.
Current
const store = new N3.Store(); store.add( namedNode('http://ex.org/Pluto'), namedNode('http://ex.org/type'), namedNode('http://ex.org/Dog') ); store.add( namedNode('http://ex.org/Mickey'), namedNode('http://ex.org/type'), namedNode('http://ex.org/Mouse') );
Possible correction:
const store = new N3.Store(); store.addQuad( namedNode('http://ex.org/Pluto'), namedNode('http://ex.org/type'), namedNode('http://ex.org/Dog') ); store.addQuad( namedNode('http://ex.org/Mickey'), namedNode('http://ex.org/type'), namedNode('http://ex.org/Mouse') );
:tada: This issue has been resolved in version 1.17.2 :tada:
The release is available on:
Your semantic-release bot :package::rocket:
I think the README examples using store.add() might be incorrect when compared with the documentation at https://rdf.js.org/N3.js/docs/N3Store.html.
Current
Possible correction: