n3 1.17.1 → 1.17.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -282,14 +282,18 @@ Then, we find triples with `:Mickey` as subject.
282
282
  ```JavaScript
283
283
  const store = new N3.Store();
284
284
  store.add(
285
- namedNode('http://ex.org/Pluto'),
286
- namedNode('http://ex.org/type'),
287
- namedNode('http://ex.org/Dog')
285
+ quad(
286
+ namedNode('http://ex.org/Pluto'),
287
+ namedNode('http://ex.org/type'),
288
+ namedNode('http://ex.org/Dog')
289
+ )
288
290
  );
289
291
  store.add(
290
- namedNode('http://ex.org/Mickey'),
291
- namedNode('http://ex.org/type'),
292
- namedNode('http://ex.org/Mouse')
292
+ quad(
293
+ namedNode('http://ex.org/Mickey'),
294
+ namedNode('http://ex.org/type'),
295
+ namedNode('http://ex.org/Mouse')
296
+ )
293
297
  );
294
298
 
295
299
  // Retrieve all quads