https://github.com/e-e-e/hyper-graph-cli
A cli tool for working with hyper-graph-db instances.
https://github.com/e-e-e/hyper-graph-cli
Last synced: 12 months ago
JSON representation
A cli tool for working with hyper-graph-db instances.
- Host: GitHub
- URL: https://github.com/e-e-e/hyper-graph-cli
- Owner: e-e-e
- Created: 2018-01-17T11:43:58.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2018-01-17T11:46:00.000Z (about 8 years ago)
- Last Synced: 2025-02-03T16:47:50.534Z (about 1 year ago)
- Language: JavaScript
- Size: 343 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# hyper-graph-cli
A simple cli tool for making, loading, importing data into, and querying [hyper-graph-db](https://github.com/e-e-e/hyper-graph-db) instances.
**This is very much a work in progress**
## Installation
```sh
npm install hyper-graph-cli -g
```
## Usage
```sh
# start up interactive REPL
hypergraph
# then create or load database
--> .create test.db
# then import data
--> .import path/to/triples.ttl
# then query directly with SPARQL
--> SELECT *
... WHERE {
... ?s ?p ?o
... } LIMIT 10
# Watch the data flow.
--> .exit
```