Skip to content

Commit a476b5b

Browse files
authored
chore(docs): update reasoning snippet in README.md (#553)
1 parent 1c99c63 commit a476b5b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -402,7 +402,7 @@ const dataset = new Store(/* Dataset */)
402402

403403
// Applies the rules to the store; mutating it
404404
const reasoner = new Reasoner(store);
405-
reasoner.reason(rules);
405+
reasoner.reason(rulesDataset);
406406
```
407407

408408
**Note**: N3.js currently only supports rules with [Basic Graph Patterns](https://www.w3.org/TR/sparql11-query/#BasicGraphPattern) in the premise and conclusion. Built-ins and backward-chaining are *not* supported. For an RDF/JS reasoner that supports all Notation3 reasoning features, see [eye-js](https://github.com/eyereasoner/eye-js/).

0 commit comments

Comments
 (0)