eyereasoner 2.5.0 → 2.5.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
@@ -11,6 +11,8 @@ Distributing the [EYE](https://github.com/eyereasoner/eye) reasoner for browser
11
11
 
12
12
  The simplest way to use this package is to execute a query over a dataset and get the results
13
13
 
14
+ **Note**: the `dataQuads` should include any inference rules that you wish to apply to the dataset
15
+
14
16
  ```ts
15
17
  import { basicQuery } from 'eyereasoner';
16
18
 
@@ -206,7 +208,7 @@ We also distribute bundles that can be dynamically imported on github pages; for
206
208
  const { eyereasoner } = await import('https://eyereasoner.github.io/eye-js/2/latest/dynamic-import.js');
207
209
 
208
210
  // Instantiate a new SWIPL module and log any results it produces to the console
209
- const Module = await eyereasoner.SwiplEye({ print: (str: string) => { console.log(str) }, arguments: ['-q'] });
211
+ const Module = await eyereasoner.SwiplEye({ print: (str) => { console.log(str) }, arguments: ['-q'] });
210
212
 
211
213
  // Load the the strings data and query as files data.n3 and query.n3 into the module
212
214
  Module.FS.writeFile('data.n3', data);