Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
capjamesg authored Mar 26, 2024
1 parent dddcc5d commit f6b3a34
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -316,22 +316,6 @@ But:
- `#` queries return integers.
- `?` queries return booleans.

### Create a Node

You can create a node using the `add_node` Python function on a KGL class, or in native KGL.

To create a node in native KGL, use the following syntax:

```
{ subject, predicate, object }
```

For example, the following command would create a node called `taylor swift` and a node called `amazing`, with the `is` predicate connecting them both together:

```
{ taylor swift, is, amazing }
```

## Run the Web Interpreter

To run the KGL web interpreter, first generate a knowledge graph in a CSV file. Each line should use the format `subject, predicate, object`. Then, open `app/app.py` and replace the `all1.csv` reference with the name of your CSV file. Then, install the required dependencies:
Expand Down

0 comments on commit f6b3a34

Please sign in to comment.